For #27029 - Use placeholder inplace of app name

This commit is contained in:
sarah541 2022-09-15 10:19:34 -04:00 committed by mergify[bot]
parent 4972b70018
commit 5e2fe2285c
3 changed files with 4 additions and 3 deletions

View File

@ -119,7 +119,7 @@ private fun WallpaperGroupHeading(
// or invest in a method of localizing the remote strings themselves.
if (collection.name == "classic-firefox") {
Text(
text = stringResource(R.string.wallpaper_classic_title),
text = stringResource(R.string.wallpaper_classic_title, stringResource(R.string.firefox)),
color = FirefoxTheme.colors.textSecondary,
style = FirefoxTheme.typography.subtitle2,
)

View File

@ -5,6 +5,7 @@
<resources>
<!-- Name of the application -->
<string name="app_name" translatable="false">Firefox Fenix</string>
<string name="firefox" translatable="false">Firefox</string>
<!-- Preference for developers -->
<string name="preference_leakcanary" translatable="false">LeakCanary</string>

View File

@ -470,8 +470,8 @@
<!-- This is the accessibility content description for the wallpapers functionality. Users are
able to tap on the app logo in the home screen and can switch to different wallpapers by tapping. -->
<string name="wallpaper_logo_content_description" moz:removedIn="105" tools:ignore="UnusedResources">Firefox logo - change the wallpaper, button</string>
<!-- Text for classic wallpapers title. -->
<string name="wallpaper_classic_title">Classic Firefox</string>
<!-- Text for classic wallpapers title. The first parameter is the Firefox name. -->
<string name="wallpaper_classic_title">Classic %s</string>
<!-- Text for limited edition wallpapers title. -->
<string name="wallpaper_limited_edition_title">Limited Edition</string>
<!-- Description text for the limited edition wallpapers with learn more link. The first parameter is the learn more string defined in wallpaper_learn_more-->