mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
update: text
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user