From dc9460243b5e96439ecc6a15032b4edebd355112 Mon Sep 17 00:00:00 2001 From: Arturo Mejia Date: Wed, 15 Nov 2023 11:52:21 -0500 Subject: [PATCH] Bug 1864895 - Update CBH CFR title to not use Firefox hardcoded string --- .../fenix/components/toolbar/BrowserToolbarCFRPresenter.kt | 5 ++++- app/src/main/res/values/strings.xml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarCFRPresenter.kt b/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarCFRPresenter.kt index aa691c1ffd..4065f87954 100644 --- a/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarCFRPresenter.kt +++ b/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarCFRPresenter.kt @@ -395,7 +395,10 @@ class BrowserToolbarCFRPresenter( ) Spacer(modifier = Modifier.width(8.dp)) Text( - text = context.getString(R.string.cookie_banner_cfr_title), + text = context.getString( + R.string.cookie_banner_cfr_title, + context.getString(R.string.firefox), + ), color = FirefoxTheme.colors.textOnColorPrimary, style = FirefoxTheme.typography.subtitle2, ) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 94a0a16eb0..4cbc68fb89 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -498,8 +498,8 @@ You’ll see fewer cookie requests Allow - - Firefox just refused cookies for you + + %1$s just refused cookies for you Less distractions, less cookies tracking you on this site.