From 9ef788a354e0f8583e41b9df28c10168e4e1810d Mon Sep 17 00:00:00 2001 From: notiant <238434866+notiant@users.noreply.github.com> Date: Sat, 22 Nov 2025 13:21:01 +0100 Subject: [PATCH] Fix some missing translations --- Modules/LockScreen/LockContext.qml | 2 +- Widgets/NFilePicker.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/LockScreen/LockContext.qml b/Modules/LockScreen/LockContext.qml index c8c04b8f..d742cfe2 100644 --- a/Modules/LockScreen/LockContext.qml +++ b/Modules/LockScreen/LockContext.qml @@ -73,7 +73,7 @@ Scope { root.unlocked(); } else { Logger.i("LockContext", "Authentication failed"); - errorMessage = "Authentication failed"; + errorMessage = I18n.tr("lock-screen.authentication-failed"); showFailure = true; root.failed(); } diff --git a/Widgets/NFilePicker.qml b/Widgets/NFilePicker.qml index 963603b9..648fabaf 100644 --- a/Widgets/NFilePicker.qml +++ b/Widgets/NFilePicker.qml @@ -784,7 +784,7 @@ Popup { } NButton { - text: root.selectionMode === "folders" ? "Select Folder" : "Select File" + text: root.selectionMode === "folders" ? I18n.tr("widgets.file-picker.select-folder") : I18n.tr("widgets.file-picker.select-file") icon: "filepicker-check" enabled: filePickerPanel.currentSelection.length > 0 onClicked: root.confirmSelection()