mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
update: text and some fixes
This commit is contained in:
@@ -54,7 +54,7 @@ DrawerType2 {
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 8
|
||||
|
||||
text: qsTr("Enter password to continue")
|
||||
text: qsTr("Password required")
|
||||
}
|
||||
|
||||
TextFieldWithHeaderType {
|
||||
@@ -110,12 +110,12 @@ DrawerType2 {
|
||||
clickedFunc: function() {
|
||||
if (fromOutside) {
|
||||
if (!SystemController.isPasswordValid(fileName, passwordField.textField.text)) {
|
||||
passwordField.errorText = qsTr("Incorrect password")
|
||||
passwordField.errorText = qsTr("Invalid password")
|
||||
return
|
||||
}
|
||||
} else {
|
||||
if (passwordField.textField.text !== SettingsController.getPassword()) {
|
||||
passwordField.errorText = qsTr("Incorrect password")
|
||||
passwordField.errorText = qsTr("Invalid password")
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user