Add missing SSH private key localization string

This commit is contained in:
Danny Moesch 2019-01-20 11:13:27 +01:00 committed by Mingshen Sun
parent 07b4bf8e8c
commit 804a0f06bf
3 changed files with 4 additions and 3 deletions

View file

@ -249,7 +249,7 @@ class GitServerSettingTableViewController: UITableViewController {
fileActionTitle.append(" (\("Tips".localize()))") fileActionTitle.append(" (\("Tips".localize()))")
let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in
let title = "Tips".localize() let title = "Tips".localize()
let message = "CopyPrivateKeyToPass.".localize() let message = "SshCopyPrivateKeyToPass.".localize()
Utils.alert(title: title, message: message, controller: self) Utils.alert(title: title, message: message, controller: self)
} }
optionMenu.addAction(fileAction) optionMenu.addAction(fileAction)

View file

@ -230,7 +230,7 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
fileActionTitle.append(" (\("Tips".localize()))") fileActionTitle.append(" (\("Tips".localize()))")
let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in let fileAction = UIAlertAction(title: fileActionTitle, style: .default) { _ in
let title = "Tips".localize() let title = "Tips".localize()
let message = "CopyPublicAndPrivateKeyToPass.".localize() let message = "PgpCopyPublicAndPrivateKeyToPass.".localize()
Utils.alert(title: title, message: message, controller: self) Utils.alert(title: title, message: message, controller: self)
} }
optionMenu.addAction(fileAction) optionMenu.addAction(fileAction)

View file

@ -82,7 +82,6 @@
"Import" = "Import"; "Import" = "Import";
"Imported" = "Imported"; "Imported" = "Imported";
"Tips" = "Tips"; "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."; "FillInGitAccountPassword." = "Please fill in the password of your Git account.";
"NoPasswordStore." = "There is no password store right now."; "NoPasswordStore." = "There is no password store right now.";
"SyncingPasswordStore" = "Syncing Password Store"; "SyncingPasswordStore" = "Syncing Password Store";
@ -94,6 +93,7 @@
"PleaseSetupSshKeyFirst." = "Please setup SSH key first."; "PleaseSetupSshKeyFirst." = "Please setup SSH key first.";
"RemoveSShKeys" = "Remove Git SSH Keys"; "RemoveSShKeys" = "Remove Git SSH Keys";
"SetPrivateKeyUrl." = "Please set private key URL first."; "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 // QR code scanning
"LookingForStartingFrame." = "Looking for the starting frame."; "LookingForStartingFrame." = "Looking for the starting frame.";
@ -123,6 +123,7 @@
"RememberToRemoveKey" = "Remember to Remove the Key"; "RememberToRemoveKey" = "Remember to Remove the Key";
"RememberToRemoveKeyFromServer." = "Remember to remove the key from the server."; "RememberToRemoveKeyFromServer." = "Remember to remove the key from the server.";
"RemovePgpKeys" = "Remove PGP Keys"; "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 // App passcode
"RemovePasscode" = "Remove Passcode"; "RemovePasscode" = "Remove Passcode";