mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Change localization key
This commit is contained in:
parent
7bc88999e6
commit
38b75abb35
3 changed files with 6 additions and 6 deletions
|
@ -1437,7 +1437,7 @@
|
|||
"pin_protection_settings_section_footer" = "To reset your PIN, you'll need to re-login and create a new one.";
|
||||
"pin_protection_settings_enabled_forced" = "PIN enabled";
|
||||
"pin_protection_settings_enable_pin" = "Enable PIN";
|
||||
"pin_protection_blocked_pin" = "For security reasons, this PIN isn’t available. Please try another PIN";
|
||||
"pin_protection_not_allowed_pin" = "For security reasons, this PIN isn’t available. Please try another PIN";
|
||||
|
||||
// MARK: - Biometrics Protection
|
||||
|
||||
|
|
|
@ -2038,10 +2038,6 @@ internal enum VectorL10n {
|
|||
internal static func photoLibraryAccessNotGranted(_ p1: String) -> String {
|
||||
return VectorL10n.tr("Vector", "photo_library_access_not_granted", p1)
|
||||
}
|
||||
/// For security reasons, this PIN isn’t available. Please try another PIN
|
||||
internal static var pinProtectionBlockedPin: String {
|
||||
return VectorL10n.tr("Vector", "pin_protection_blocked_pin")
|
||||
}
|
||||
/// Choose a PIN for security
|
||||
internal static var pinProtectionChoosePin: String {
|
||||
return VectorL10n.tr("Vector", "pin_protection_choose_pin")
|
||||
|
@ -2074,6 +2070,10 @@ internal enum VectorL10n {
|
|||
internal static var pinProtectionMismatchTooManyTimesErrorMessage: String {
|
||||
return VectorL10n.tr("Vector", "pin_protection_mismatch_too_many_times_error_message")
|
||||
}
|
||||
/// For security reasons, this PIN isn’t available. Please try another PIN
|
||||
internal static var pinProtectionNotAllowedPin: String {
|
||||
return VectorL10n.tr("Vector", "pin_protection_not_allowed_pin")
|
||||
}
|
||||
/// Reset
|
||||
internal static var pinProtectionResetAlertActionReset: String {
|
||||
return VectorL10n.tr("Vector", "pin_protection_reset_alert_action_reset")
|
||||
|
|
|
@ -162,7 +162,7 @@ final class EnterPinCodeViewController: UIViewController {
|
|||
|
||||
self.title = ""
|
||||
|
||||
notAllowedPinLabel.text = VectorL10n.pinProtectionBlockedPin
|
||||
notAllowedPinLabel.text = VectorL10n.pinProtectionNotAllowedPin
|
||||
|
||||
placeholderStackView.vc_removeAllArrangedSubviews()
|
||||
for i in 0..<PinCodePreferences.shared.numberOfDigits {
|
||||
|
|
Loading…
Reference in a new issue