Localize more strings in password view

This commit is contained in:
Danny Moesch 2019-02-13 21:31:40 +01:00 committed by Mingshen Sun
parent 936d91e415
commit 116e258d05
5 changed files with 10 additions and 6 deletions

View file

@ -294,7 +294,7 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
// prepare the alert for setting the passcode
setPasscodeLockAlert = UIAlertController(title: "SetPasscode".localize(), message: "FillInAppPasscode.".localize(), preferredStyle: .alert)
setPasscodeLockAlert?.addTextField(configurationHandler: {(_ textField: UITextField) -> Void in
textField.placeholder = "Password".localize()
textField.placeholder = "Passcode".localize()
textField.isSecureTextEntry = true
textField.addTarget(self, action: #selector(self.alertTextFieldDidChange(_:)), for: UIControlEvents.editingChanged)
})