diff --git a/pass/Controllers/PasswordsViewController.swift b/pass/Controllers/PasswordsViewController.swift index a299dd8..cf52c0c 100644 --- a/pass/Controllers/PasswordsViewController.swift +++ b/pass/Controllers/PasswordsViewController.swift @@ -245,6 +245,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV tableView.contentInset = UIEdgeInsets.init(top: 44, left: 0, bottom: 0, right: 0) view.addSubview(searchBarView!) } + navigationItem.title = "PasswordStore".localize() tableView.refreshControl = syncControl SVProgressHUD.setDefaultMaskType(.black) tableView.register(UINib(nibName: "PasswordWithFolderTableViewCell", bundle: nil), forCellReuseIdentifier: "passwordWithFolderTableViewCell") @@ -549,8 +550,16 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV } if parentPasswordEntity != nil { navigationItem.leftBarButtonItem = backUIBarButtonItem + navigationItem.title = parentPasswordEntity?.getName() + if #available(iOS 11, *) { + navigationController?.navigationBar.prefersLargeTitles = false + } } else { navigationItem.leftBarButtonItem = nil + navigationItem.title = "PasswordStore".localize() + if #available(iOS 11, *) { + navigationController?.navigationBar.prefersLargeTitles = true + } } navigationItem.rightBarButtonItem = addPasswordUIBarButtonItem diff --git a/pass/de.lproj/Localizable.strings b/pass/de.lproj/Localizable.strings index 5f4c83b..00a8aba 100644 --- a/pass/de.lproj/Localizable.strings +++ b/pass/de.lproj/Localizable.strings @@ -8,6 +8,7 @@ // General "PassForIos" = "Pass for iOS"; +"PasswordStore" = "Password Store"; "Passphrase" = "Passwort"; "Password" = "Passwort"; "Passwords" = "Passwörter"; diff --git a/pass/en.lproj/Localizable.strings b/pass/en.lproj/Localizable.strings index b31ac8a..8aa1f91 100644 --- a/pass/en.lproj/Localizable.strings +++ b/pass/en.lproj/Localizable.strings @@ -8,6 +8,7 @@ // General "PassForIos" = "Pass for iOS"; +"PasswordStore" = "Password Store"; "Passphrase" = "Passphrase"; "Password" = "Password"; "Passwords" = "Passwords";