From 804a0f06bfa5dbdd0fe0cdd8a48cc4ca9a9a2687 Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Sun, 20 Jan 2019 11:13:27 +0100 Subject: [PATCH] Add missing SSH private key localization string --- pass/Controllers/GitServerSettingTableViewController.swift | 2 +- pass/Controllers/SettingsTableViewController.swift | 2 +- pass/en.lproj/Localizable.strings | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pass/Controllers/GitServerSettingTableViewController.swift b/pass/Controllers/GitServerSettingTableViewController.swift index 66adecc..3aee6eb 100644 --- a/pass/Controllers/GitServerSettingTableViewController.swift +++ b/pass/Controllers/GitServerSettingTableViewController.swift @@ -249,7 +249,7 @@ class GitServerSettingTableViewController: UITableViewController { fileActionTitle.append(" (\("Tips".localize()))") let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in let title = "Tips".localize() - let message = "CopyPrivateKeyToPass.".localize() + let message = "SshCopyPrivateKeyToPass.".localize() Utils.alert(title: title, message: message, controller: self) } optionMenu.addAction(fileAction) diff --git a/pass/Controllers/SettingsTableViewController.swift b/pass/Controllers/SettingsTableViewController.swift index 85a52ad..081917a 100644 --- a/pass/Controllers/SettingsTableViewController.swift +++ b/pass/Controllers/SettingsTableViewController.swift @@ -230,7 +230,7 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele fileActionTitle.append(" (\("Tips".localize()))") let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in let title = "Tips".localize() - let message = "CopyPublicAndPrivateKeyToPass.".localize() + let message = "PgpCopyPublicAndPrivateKeyToPass.".localize() Utils.alert(title: title, message: message, controller: self) } optionMenu.addAction(fileAction) diff --git a/pass/en.lproj/Localizable.strings b/pass/en.lproj/Localizable.strings index 1f6c5b6..b958a37 100644 --- a/pass/en.lproj/Localizable.strings +++ b/pass/en.lproj/Localizable.strings @@ -82,7 +82,6 @@ "Import" = "Import"; "Imported" = "Imported"; "Tips" = "Tips"; -"CopyPublicAndPrivateKeyToPass." = "Copy your ASCII-armored public and private keys to Pass with names \"gpg_key.pub\" and \"gpg_key\" (without quotes) via iTunes. Then come back and click \"iTunes File Sharing\" to finish."; "FillInGitAccountPassword." = "Please fill in the password of your Git account."; "NoPasswordStore." = "There is no password store right now."; "SyncingPasswordStore" = "Syncing Password Store"; @@ -94,6 +93,7 @@ "PleaseSetupSshKeyFirst." = "Please setup SSH key first."; "RemoveSShKeys" = "Remove Git SSH Keys"; "SetPrivateKeyUrl." = "Please set private key URL first."; +"SshCopyPrivateKeyToPass." = "Copy your ASCII-armored private key to Pass with the name \"ssh_key\" (without quotes) via iTunes. Then come back and click \"iTunes File Sharing\" to finish."; // QR code scanning "LookingForStartingFrame." = "Looking for the starting frame."; @@ -123,6 +123,7 @@ "RememberToRemoveKey" = "Remember to Remove the Key"; "RememberToRemoveKeyFromServer." = "Remember to remove the key from the server."; "RemovePgpKeys" = "Remove PGP Keys"; +"PgpCopyPublicAndPrivateKeyToPass." = "Copy your ASCII-armored public and private keys to Pass with names \"gpg_key.pub\" and \"gpg_key\" (without quotes) via iTunes. Then come back and click \"iTunes File Sharing\" to finish."; // App passcode "RemovePasscode" = "Remove Passcode";