Skip to content

Commit aac61f7

Browse files
authoredMar 13, 2025
Bugfix Focus: string Onboarding.TermsOfUse.Title is exported without the value (#25321)
Focus: string Onboarding.TermsOfUse.Title is exported without the value #25261
1 parent 359ad01 commit aac61f7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎focus-ios/Blockzilla/Onboarding/OnboardingFactory.swift

+7-4
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,13 @@ fileprivate extension String {
145145
static let defaultBrowserOnboardingViewSecondSubtitleV2 = String(format: NSLocalizedString("Onboarding.DefaultBrowser.SecondSubtitle.V2", value: "Make %@ your default to protect your data with every link you open.", comment: "Text for a label that indicates the second subtitle for the default browser onboarding screen version 2. %@ is the app name (for example “Firefox Focus” or ”Firefox Klar”)."), AppInfo.shortProductName)
146146
static let defaultBrowserOnboardingViewTopButtonTitleV2 = NSLocalizedString("Onboarding.DefaultBrowser.TopButtonTitle.V2", value: "Set as Default Browser", comment: "Text for a label that indicates the title of the top button from the default browser onboarding screen version 2.")
147147
static let defaultBrowserOnboardingViewBottomButtonTitleV2 = NSLocalizedString("Onboarding.DefaultBrowser.BottomButtonTitle.V2", value: "Skip", comment: "Text for a label that indicates the title of the bottom button from the default browser onboarding screen version 2.")
148-
static let termsOfUseTitle = NSLocalizedString(
149-
"Onboarding.TermsOfUse.Title",
150-
value: String(format: "Welcome to %@", AppInfo.productName),
151-
comment: "Title for the Terms of Use screen during onboarding. %@ is the app name (for example “Firefox Focus” or ”Firefox Klar”)."
148+
static let termsOfUseTitle = String(
149+
format: NSLocalizedString(
150+
"Onboarding.TermsOfUse.Title",
151+
value: "Welcome to %@",
152+
comment: "Title for the Terms of Use screen during onboarding. %@ is the app name (for example “Firefox Focus” or ”Firefox Klar”)."
153+
),
154+
AppInfo.productName
152155
)
153156
static let termsOfUseSubtitle = NSLocalizedString(
154157
"Onboarding.TermsOfUse.Subtitle",

0 commit comments

Comments
 (0)
Failed to load comments.