Skip to content

Commit c66cf0e

Browse files
committed
Add v2 versions of brand refresh Terms of Use button and Welcome card title strings
1 parent 09f7d04 commit c66cf0e

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

firefox-ios/Shared/Strings.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,19 +1826,31 @@ extension String {
18261826
tableName: "Onboarding",
18271827
value: "Manage settings",
18281828
comment: "The text for the manage settings link button in the v148 brand refresh onboarding flow.")
1829+
@available(*, deprecated, message: "Use AgreementButtonTitleV2 instead")
18291830
public static let AgreementButtonTitle = MZLocalizedString(
18301831
key: "Onboarding.Modern.BrandRefresh.TermsOfUse.AgreementButtonTitle.v148",
18311832
tableName: "Onboarding",
18321833
value: "Agree and continue",
18331834
comment: "Button title for agreeing to Terms of Use in the v148 brand refresh onboarding flow.")
1835+
public static let AgreementButtonTitleV2 = MZLocalizedString(
1836+
key: "Onboarding.Modern.BrandRefresh.TermsOfUse.AgreementButtonTitle.v148.v2",
1837+
tableName: "Onboarding",
1838+
value: "Continue",
1839+
comment: "Button title for agreeing to Terms of Use in the v148 brand refresh onboarding flow.")
18341840
}
18351841

18361842
public struct Welcome {
1843+
@available(*, deprecated, message: "Use TitleV2 instead")
18371844
public static let Title = MZLocalizedString(
18381845
key: "Onboarding.Modern.BrandRefresh.Welcome.Title.v148",
18391846
tableName: "Onboarding",
18401847
value: "Say goodbye to creepy trackers",
18411848
comment: "Title for the welcome card in the v148 brand refresh onboarding flow.")
1849+
public static let TitleV2 = MZLocalizedString(
1850+
key: "Onboarding.Modern.BrandRefresh.Welcome.Title.v148.v2",
1851+
tableName: "Onboarding",
1852+
value: "Open your links with built-in privacy",
1853+
comment: "Title for the welcome card in the v148 brand refresh onboarding flow.")
18421854
public static let Description = MZLocalizedString(
18431855
key: "Onboarding.Modern.BrandRefresh.Welcome.Description.v148",
18441856
tableName: "Onboarding",

firefox-ios/Shared/Supporting Files/en-US.lproj/Onboarding.strings

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@
334334
/* Button title for agreeing to Terms of Use in the v148 brand refresh onboarding flow. */
335335
"Onboarding.Modern.BrandRefresh.TermsOfUse.AgreementButtonTitle.v148" = "Agree and continue";
336336

337+
/* Button title for agreeing to Terms of Use in the v148 brand refresh onboarding flow. */
338+
"Onboarding.Modern.BrandRefresh.TermsOfUse.AgreementButtonTitle.v148.v2" = "Continue";
339+
337340
/* The text for the Terms of Use link button in the v148 brand refresh onboarding flow. %@ is the app name (e.g. Firefox). */
338341
"Onboarding.Modern.BrandRefresh.TermsOfUse.TermsOfUseLink.v148" = "%@ Terms of Use";
339342

@@ -346,6 +349,9 @@
346349
/* Title for the welcome card in the v148 brand refresh onboarding flow. */
347350
"Onboarding.Modern.BrandRefresh.Welcome.Title.v148" = "Say goodbye to creepy trackers";
348351

352+
/* Title for the welcome card in the v148 brand refresh onboarding flow. */
353+
"Onboarding.Modern.BrandRefresh.Welcome.Title.v148.v2" = "Open your links with built-in privacy";
354+
349355
/* Description for the welcome card in the v148 brand refresh onboarding flow. */
350356
"Onboarding.Modern.BrandRefresh.Welcome.Description.v148" = "We protect your data and automatically block companies from spying on your clicks.";
351357

0 commit comments

Comments
 (0)