update: text

This commit is contained in:
MrMirDan
2025-12-23 16:30:05 +02:00
parent dd511de97d
commit 9108cc6dc8
5 changed files with 4 additions and 5 deletions
@@ -40,7 +40,6 @@ DrawerType2 {
} }
function onImportSecuredFile() { function onImportSecuredFile() {
// TODO: file name not showing on import
root.securedFunc = function() { root.securedFunc = function() {
if (ImportController.extractConfigFromData(SystemController.getDecryptedData(fileName, passwordField.textField.text))) { if (ImportController.extractConfigFromData(SystemController.getDecryptedData(fileName, passwordField.textField.text))) {
PageController.goToPage(PageEnum.PageSetupWizardViewConfig) PageController.goToPage(PageEnum.PageSetupWizardViewConfig)
@@ -67,7 +67,7 @@ PageType {
visible: SettingsController.isFileEncryptionEnabled() visible: SettingsController.isFileEncryptionEnabled()
linkEnabled: true linkEnabled: true
textString: qsTr("Encryption enabled. Learn more") textString: qsTr("Encryption enabled.")
iconPath: "qrc:/images/controls/lock-locked.svg" iconPath: "qrc:/images/controls/lock-locked.svg"
} }
} }
@@ -199,7 +199,7 @@ PageType {
QtObject { QtObject {
id: hintObject id: hintObject
property string title: qsTr("Hint for password") property string title: root.isChangingPassword ? qsTr("New hint password (optional)") : qsTr("Password hint")
readonly property string placeholderContent: "" readonly property string placeholderContent: ""
property string imageSource: "" property string imageSource: ""
property bool hideContent: false property bool hideContent: false
@@ -76,7 +76,7 @@ PageType {
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.rightMargin: 16 Layout.rightMargin: 16
headerText: root.isChangingPassword ? qsTr("Enter new password one more time") : qsTr("Enter password one more time") headerText: root.isChangingPassword ? qsTr("Re-enter new password") : qsTr("Re-enter password")
textField.echoMode: hideContent ? TextInput.Password : TextInput.Normal textField.echoMode: hideContent ? TextInput.Password : TextInput.Normal
textField.placeholderText: "" textField.placeholderText: ""
textField.text: textField.text textField.text: textField.text
+1 -1
View File
@@ -277,7 +277,7 @@ PageType {
visible: SettingsController.isFileEncryptionEnabled() visible: SettingsController.isFileEncryptionEnabled()
linkEnabled: true linkEnabled: true
textString: qsTr("Encryption enabled. Learn more") textString: qsTr("Encryption enabled.")
iconPath: "qrc:/images/controls/lock-locked.svg" iconPath: "qrc:/images/controls/lock-locked.svg"
} }