mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-21 07:02:09 +02:00
Merge branch 'feature/4518_add_voiceover_description_to_pincode' into 'develop'
MESSENGER-4518 add voiceover description See merge request bwmessenger/bundesmessenger/bundesmessenger-ios!124
This commit is contained in:
@@ -348,6 +348,8 @@
|
||||
"pin_protection_settings_section_header_x" = "PIN";
|
||||
"pin_protection_choose_pin_welcome_after_login" = "Willkommen!";
|
||||
"pin_protection_choose_pin_welcome_after_register" = "Willkommen!";
|
||||
"pin_protection_reset_button_accessibility_label" = "Löschen";
|
||||
"pin_protection_reset_button_accessibility_hint" = "Löschen";
|
||||
|
||||
// MARK: - Biometrics Protection
|
||||
|
||||
|
||||
@@ -266,6 +266,8 @@
|
||||
"pin_protection_settings_section_header_x" = "PIN";
|
||||
"pin_protection_choose_pin_welcome_after_login" = "Welcome!";
|
||||
"pin_protection_choose_pin_welcome_after_register" = "Welcome!";
|
||||
"pin_protection_reset_button_accessibility_label" = "Delete";
|
||||
"pin_protection_reset_button_accessibility_hint" = "Delete";
|
||||
|
||||
// MARK: - Biometrics Protection
|
||||
|
||||
|
||||
@@ -947,6 +947,14 @@ public class BWIL10n: NSObject {
|
||||
public static var pinProtectionConfirmPinToChange: String {
|
||||
return BWIL10n.tr("Bwi", "pin_protection_confirm_pin_to_change")
|
||||
}
|
||||
/// Löschen
|
||||
public static var pinProtectionResetButtonAccessibilityHint: String {
|
||||
return BWIL10n.tr("Bwi", "pin_protection_reset_button_accessibility_hint")
|
||||
}
|
||||
/// Löschen
|
||||
public static var pinProtectionResetButtonAccessibilityLabel: String {
|
||||
return BWIL10n.tr("Bwi", "pin_protection_reset_button_accessibility_label")
|
||||
}
|
||||
/// PIN
|
||||
public static var pinProtectionSettingsSectionHeaderX: String {
|
||||
return BWIL10n.tr("Bwi", "pin_protection_settings_section_header_x")
|
||||
|
||||
@@ -328,6 +328,7 @@
|
||||
</view>
|
||||
<connections>
|
||||
<outlet property="bottomView" destination="a0M-Zw-56s" id="nlL-WO-RWV"/>
|
||||
<outlet property="digitButtonReset" destination="yUt-tN-2gL" id="cRd-ey-eJZ"/>
|
||||
<outlet property="digitsStackView" destination="5Ek-SS-9WZ" id="1TV-zd-a0a"/>
|
||||
<outlet property="explanatoryLabel" destination="vP5-71-7ne" id="Skx-tQ-sV1"/>
|
||||
<outlet property="forgotPinButton" destination="TMg-AX-OiC" id="0xJ-0V-oGD"/>
|
||||
|
||||
@@ -44,7 +44,7 @@ final class EnterPinCodeViewController: UIViewController {
|
||||
@IBOutlet private weak var explanatoryLabel: UILabel!
|
||||
@IBOutlet private weak var forgotPinButton: UIButton!
|
||||
@IBOutlet private weak var bottomView: UIView!
|
||||
|
||||
@IBOutlet private weak var digitButtonReset: UIButton!
|
||||
// MARK: Private
|
||||
|
||||
private var viewModel: EnterPinCodeViewModelType!
|
||||
@@ -87,6 +87,8 @@ final class EnterPinCodeViewController: UIViewController {
|
||||
if BWIBuildSettings.shared.showBUMLottieAnimation {
|
||||
inactiveLogoImageView.isHidden = true
|
||||
}
|
||||
// BWI: accessibility description
|
||||
digitButtonReset.vc_setupAccessibilityTraitsButton(withTitle: BWIL10n.pinProtectionResetButtonAccessibilityLabel, hint: BWIL10n.pinProtectionResetButtonAccessibilityHint, isEnabled: true)
|
||||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user