vector-im/element-ios/issues/4899 - Fixed various localization issues.

This commit is contained in:
Stefan Ceriu
2021-09-28 08:47:47 +03:00
committed by Stefan Ceriu
parent 8b80b3f4c7
commit 92c2a9488f
14 changed files with 35 additions and 47 deletions

View File

@@ -43,11 +43,11 @@ final class UserInteractiveAuthenticationViewControllerFactory: NSObject {
textField.keyboardType = .default
}
alertController.addAction(UIAlertAction(title: Bundle.mxk_localizedString(forKey: "cancel"), style: .cancel, handler: { _ in
alertController.addAction(UIAlertAction(title: MatrixKitL10n.cancel, style: .cancel, handler: { _ in
onCancelled()
}))
alertController.addAction(UIAlertAction(title: Bundle.mxk_localizedString(forKey: "ok"), style: .default, handler: { _ in
alertController.addAction(UIAlertAction(title: MatrixKitL10n.ok, style: .default, handler: { _ in
guard let password = alertController.textFields?.first?.text else {
// Should not happen