ios: localize database encryption (#1048)

* ios: localize database encryption

* fix incorrect language in NSE localizations

* corrections

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>

* translations

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
This commit is contained in:
Evgeny Poberezkin
2022-09-14 14:04:41 +01:00
committed by GitHub
parent 63a98fa9d3
commit 76a7dfeabb
15 changed files with 729 additions and 19 deletions
+1 -1
View File
@@ -1355,7 +1355,7 @@ public enum CICallStatus: String, Decodable {
case .missed: return NSLocalizedString("missed call", comment: "call status")
case .rejected: return NSLocalizedString("rejected call", comment: "call status")
case .accepted: return NSLocalizedString("accepted call", comment: "call status")
case .negotiated: return NSLocalizedString("connecting call…", comment: "call status")
case .negotiated: return NSLocalizedString("connecting call", comment: "call status")
case .progress: return NSLocalizedString("call in progress", comment: "call status")
case .ended: return String.localizedStringWithFormat(NSLocalizedString("ended call %@", comment: "call status"), CICallStatus.durationText(sec))
case .error: return NSLocalizedString("call error", comment: "call status")
+1 -1
View File
@@ -129,7 +129,7 @@ public func createErrorNtf(_ dbStatus: DBMigrationResult) -> UNMutableNotificati
case .errorKeychain:
title = NSLocalizedString("Encrypted message: keychain error", comment: "notification")
case .unknown:
title = NSLocalizedString("Encrypted message: unexpexted error", comment: "notification")
title = NSLocalizedString("Encrypted message: unexpeсted error", comment: "notification")
case .ok:
title = NSLocalizedString("Encrypted message or another event", comment: "notification")
}