Change localization key

This commit is contained in:
ismailgulek 2020-09-17 16:22:32 +03:00
parent 7bc88999e6
commit 38b75abb35
3 changed files with 6 additions and 6 deletions

View file

@ -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 isnt available. Please try another PIN";
"pin_protection_not_allowed_pin" = "For security reasons, this PIN isnt available. Please try another PIN";
// MARK: - Biometrics Protection

View file

@ -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 isnt 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 isnt 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")

View file

@ -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 {