Localize git-pull info message

This commit is contained in:
Danny Moesch 2019-09-26 18:00:58 +02:00 committed by Mingshen Sun
parent 50d1039e1c
commit a41bdff6c1
3 changed files with 4 additions and 2 deletions

View file

@ -155,7 +155,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
do {
try self.passwordStore.pullRepository(credential: gitCredential, requestGitPassword: self.requestGitPassword(credential:lastPassword:), transferProgressBlock: {(git_transfer_progress, stop) in
DispatchQueue.main.async {
SVProgressHUD.showProgress(Float(git_transfer_progress.pointee.received_objects)/Float(git_transfer_progress.pointee.total_objects), status: "Pull Remote Repository")
SVProgressHUD.showProgress(Float(git_transfer_progress.pointee.received_objects)/Float(git_transfer_progress.pointee.total_objects), status: "PullingFromRemoteRepository".localize())
}
})
if self.passwordStore.numberOfLocalCommits ?? 0 > 0 {

View file

@ -92,7 +92,8 @@
"FillInGitAccountPassword." = "Bitte gib das Passwort deines Git-Accounts ein.";
"NoPasswordStore." = "Es gibt im Moment keinen Passwort Store.";
"SyncingPasswordStore" = "Password Store wird synchronisiert";
"PushingToRemoteRepository" = "Es wird zum Remote Repository gepusht";
"PullingFromRemoteRepository" = "Update lokales Repository";
"PushingToRemoteRepository" = "Update Remote-Repository";
// SSH
"FillInSshKeyPassphrase." = "Bitte gib das Passwort des SSH-Schlüssels ein.";

View file

@ -92,6 +92,7 @@
"FillInGitAccountPassword." = "Please fill in the password of your Git account.";
"NoPasswordStore." = "There is no password store right now.";
"SyncingPasswordStore" = "Syncing Password Store";
"PullingFromRemoteRepository" = "Pulling from Remote Repository";
"PushingToRemoteRepository" = "Pushing to Remote Repository";
// SSH