Remove duplicate localizable string key
This commit is contained in:
parent
0cc467b2d5
commit
98f0367c4c
3 changed files with 2 additions and 4 deletions
|
|
@ -413,7 +413,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
||||||
|
|
||||||
private func decryptThenCopyPassword(from indexPath: IndexPath) {
|
private func decryptThenCopyPassword(from indexPath: IndexPath) {
|
||||||
guard PGPAgent.shared.isPrepared else {
|
guard PGPAgent.shared.isPrepared else {
|
||||||
Utils.alert(title: "CannotCopyPassword".localize(), message: "SetPgpKey.".localize(), controller: self, completion: nil)
|
Utils.alert(title: "CannotCopyPassword".localize(), message: "PgpKeyNotSet.".localize(), controller: self, completion: nil)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let passwordEntity = getPasswordEntry(by: indexPath).passwordEntity!
|
let passwordEntity = getPasswordEntry(by: indexPath).passwordEntity!
|
||||||
|
|
@ -473,7 +473,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
||||||
override func shouldPerformSegue(withIdentifier identifier: String, sender: Any?) -> Bool {
|
override func shouldPerformSegue(withIdentifier identifier: String, sender: Any?) -> Bool {
|
||||||
if identifier == "showPasswordDetail" {
|
if identifier == "showPasswordDetail" {
|
||||||
guard PGPAgent.shared.isPrepared else {
|
guard PGPAgent.shared.isPrepared else {
|
||||||
Utils.alert(title: "CannotShowPassword".localize(), message: "SetPgpKey.".localize(), controller: self, completion: nil)
|
Utils.alert(title: "CannotShowPassword".localize(), message: "PgpKeyNotSet.".localize(), controller: self, completion: nil)
|
||||||
if let s = sender as? UITableViewCell {
|
if let s = sender as? UITableViewCell {
|
||||||
let selectedIndexPath = tableView.indexPath(for: s)!
|
let selectedIndexPath = tableView.indexPath(for: s)!
|
||||||
tableView.deselectRow(at: selectedIndexPath, animated: true)
|
tableView.deselectRow(at: selectedIndexPath, animated: true)
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,6 @@
|
||||||
"Decrypting" = "Entschlüssele";
|
"Decrypting" = "Entschlüssele";
|
||||||
"PgpKeyNotSet." = "PGP-Schlüssel ist nicht eingerichtet. Bitte gib ihn zuerst ein.";
|
"PgpKeyNotSet." = "PGP-Schlüssel ist nicht eingerichtet. Bitte gib ihn zuerst ein.";
|
||||||
"FillInPgpPassphrase." = "Bitte gib das Passwort deines privaten PGP-Schlüssels ein.";
|
"FillInPgpPassphrase." = "Bitte gib das Passwort deines privaten PGP-Schlüssels ein.";
|
||||||
"SetPgpKey." = "PGP Key is not set. Please set your PGP Key first.";
|
|
||||||
"WantToSavePassphrase?" = "Möchtest du das Passwort für spätere Entschlüsselungen speichern?";
|
"WantToSavePassphrase?" = "Möchtest du das Passwort für spätere Entschlüsselungen speichern?";
|
||||||
"CannotSavePgpKey" = "PGP-Schlüssel kann nicht gespeichert werden";
|
"CannotSavePgpKey" = "PGP-Schlüssel kann nicht gespeichert werden";
|
||||||
"SetPgpKeyUrlFirst." = "Bitte gib zuerst die URL des PGP-Schlüssels ein.";
|
"SetPgpKeyUrlFirst." = "Bitte gib zuerst die URL des PGP-Schlüssels ein.";
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,6 @@
|
||||||
"Decrypting" = "Decrypting";
|
"Decrypting" = "Decrypting";
|
||||||
"PgpKeyNotSet." = "PGP Key is not set. Please set your PGP Key first.";
|
"PgpKeyNotSet." = "PGP Key is not set. Please set your PGP Key first.";
|
||||||
"FillInPgpPassphrase." = "Please fill in the passphrase of your PGP secret key.";
|
"FillInPgpPassphrase." = "Please fill in the passphrase of your PGP secret key.";
|
||||||
"SetPgpKey." = "PGP Key is not set. Please set your PGP Key first.";
|
|
||||||
"WantToSavePassphrase?" = "Do you want to save the passphrase for later decryption?";
|
"WantToSavePassphrase?" = "Do you want to save the passphrase for later decryption?";
|
||||||
"CannotSavePgpKey" = "Cannot Save PGP Key";
|
"CannotSavePgpKey" = "Cannot Save PGP Key";
|
||||||
"SetPgpKeyUrlFirst." = "Please set PGP key URL first.";
|
"SetPgpKeyUrlFirst." = "Please set PGP key URL first.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue