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 {