Fix the pinned identity banner to always show the user ID regardless of ambiguity. (#3415)

This commit is contained in:
Doug
2024-10-16 14:51:29 +01:00
committed by GitHub
parent 6078398ad3
commit 5a89219f9a
15 changed files with 59 additions and 17 deletions
+8
View File
@@ -524,6 +524,14 @@ internal enum L10n {
internal static func cryptoIdentityChangePinViolation(_ p1: Any, _ p2: Any) -> String {
return L10n.tr("Localizable", "crypto_identity_change_pin_violation", String(describing: p1), String(describing: p2))
}
/// %1$@’s %2$@ identity appears to have changed. %3$@
internal static func cryptoIdentityChangePinViolationNew(_ p1: Any, _ p2: Any, _ p3: Any) -> String {
return L10n.tr("Localizable", "crypto_identity_change_pin_violation_new", String(describing: p1), String(describing: p2), String(describing: p3))
}
/// (%1$@)
internal static func cryptoIdentityChangePinViolationNewUserId(_ p1: Any) -> String {
return L10n.tr("Localizable", "crypto_identity_change_pin_violation_new_user_id", String(describing: p1))
}
/// In order to let the application use the camera, please grant the permission in the system settings.
internal static var dialogPermissionCamera: String { return L10n.tr("Localizable", "dialog_permission_camera") }
/// Please grant the permission in the system settings.