Skip to content

Commit 3ff9b1e

Browse files
NMC-5056 - iOS - Settings - Untranslated and incorrect error message when using invalid E2E passphrase
1 parent dc5f284 commit 3ff9b1e

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

iOSClient/Settings/E2EE/NCEndToEndInitialize.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class NCEndToEndInitialize: NSObject {
166166
NCPreferences().setEndToEndPrivateKey(account: account, privateKey: privateKey)
167167
} else {
168168
Task {
169-
await showErrorBanner(windowScene: self.windowScene, text: "E2E decrypt privateKey: serious internal error to decrypt Private Key", errorCode: error.errorCode)
169+
await showErrorBanner(windowScene: self.windowScene, text: NSLocalizedString("_e2ee_setup_passphrase_error_", comment: ""), errorCode: error.errorCode)
170170
}
171171
return
172172
}
150 Bytes
Binary file not shown.

iOSClient/Supporting Files/en.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@
993993
"_remove_passphrase_desc_2_" = "You can re-enter the passphrase here at any time to ensure access to your encrypted content from this device.";
994994
"_e2e_error_incorrect_passphrase_" = "Wrong password?";
995995
"_e2e_error_passphrase_title" = "Error while decrypting.";
996+
"_e2ee_setup_passphrase_error_" = "The provided passphrase is incorrect";
996997
"_scans_document_" = "Scan document";
997998
//"_scanned_images_" = "Scanned images";
998999
"_scanned_images_" = "Scanned documents";

0 commit comments

Comments
 (0)