Skip to content

Commit 6a5b26c

Browse files
authored
Bugfix FXIOS-11128 [ToS] - "Continue" is written with lowercase (#24281)
FXIOS-11128 [Terms of service] - "Continue" is written with lowercase
1 parent dee1f07 commit 6a5b26c

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

firefox-ios/Client/Frontend/Onboarding/Views/TermsOfServiceViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class TermsOfServiceViewController: UIViewController, Themeable {
6666

6767
private lazy var confirmationButton: PrimaryRoundedButton = .build { button in
6868
let viewModel = PrimaryRoundedButtonViewModel(
69-
title: .Onboarding.TermsOfService.AgreementButtonTitle,
69+
title: .Onboarding.TermsOfService.AgreementButtonTitleV2,
7070
a11yIdentifier: AccessibilityIdentifiers.TermsOfService.agreeAndContinueButton)
7171
button.configure(viewModel: viewModel)
7272
button.addTarget(self, action: #selector(self.acceptTermsOfService), for: .touchUpInside)

firefox-ios/Shared/Strings.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,10 +1664,10 @@ extension String {
16641664
tableName: "Onboarding",
16651665
value: "Fast and secure web browsing",
16661666
comment: "Subtitle for the Terms of Service screen in the onboarding process.")
1667-
public static let AgreementButtonTitle = MZLocalizedString(
1668-
key: "Onboarding.TermsOfService.AgreementButtonTitle.v135",
1667+
public static let AgreementButtonTitleV2 = MZLocalizedString(
1668+
key: "Onboarding.TermsOfService.AgreementButtonTitle.v136",
16691669
tableName: "Onboarding",
1670-
value: "Agree and continue",
1670+
value: "Agree and Continue",
16711671
comment: "Title for the confirmation button for Terms of Service agreement, in the Terms of Service screen.")
16721672
public static let TermsOfServiceAgreement = MZLocalizedString(
16731673
key: "Onboarding.TermsOfService.TermsOfServiceAgreement.v135",
@@ -7694,6 +7694,11 @@ extension String {
76947694
tableName: "Settings",
76957695
value: "Crash reports allow us diagnose and fix issues with the browser.",
76967696
comment: "On the Settings screen, this is the subtitle text for a toggle which controls automatically sending crash reports.")
7697+
public static let AgreementButtonTitle = MZLocalizedString(
7698+
key: "Onboarding.TermsOfService.AgreementButtonTitle.v135",
7699+
tableName: "Onboarding",
7700+
value: "Agree and continue",
7701+
comment: "Title for the confirmation button for Terms of Service agreement, in the Terms of Service screen.")
76977702
}
76987703
}
76997704
}

0 commit comments

Comments
 (0)