Bug 1846283 - Rename limited edition wallpapers to "Artist series"

fenix/118.0
t-p-white 10 months ago committed by mergify[bot]
parent 75e861365b
commit ad9cdd0eee

@ -146,7 +146,7 @@ private fun WallpaperGroupHeading(
modifier = Modifier.semantics(mergeDescendants = true, properties = headingSemantics),
) {
Text(
text = stringResource(R.string.wallpaper_limited_edition_title),
text = stringResource(R.string.wallpaper_artist_series_title),
color = FirefoxTheme.colors.textSecondary,
style = FirefoxTheme.typography.subtitle2,
)
@ -154,7 +154,7 @@ private fun WallpaperGroupHeading(
Spacer(modifier = Modifier.height(2.dp))
if (collection.learnMoreUrl.isNullOrEmpty()) {
val text = stringResource(R.string.wallpaper_limited_edition_description)
val text = stringResource(R.string.wallpaper_artist_series_description)
Text(
text = text,
color = FirefoxTheme.colors.textSecondary,
@ -162,7 +162,7 @@ private fun WallpaperGroupHeading(
)
} else {
val link = stringResource(R.string.wallpaper_learn_more)
val text = stringResource(R.string.wallpaper_limited_edition_description_with_learn_more, link)
val text = stringResource(R.string.wallpaper_artist_series_description_with_learn_more, link)
val linkStartIndex = text.indexOf(link)
val linkEndIndex = linkStartIndex + link.length

@ -584,11 +584,17 @@
<!-- 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>
<string name="wallpaper_limited_edition_title" moz:RemovedIn="118" tools:ignore="UnusedResources">Limited Edition</string>
<!-- Text for artist series wallpapers title. "Artist series" represents a collection of artist collaborated wallpapers. -->
<string name="wallpaper_artist_series_title">Artist series</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-->
<string name="wallpaper_limited_edition_description_with_learn_more">The new Independent Voices collection. %s</string>
<string name="wallpaper_limited_edition_description_with_learn_more" moz:RemovedIn="118" tools:ignore="UnusedResources">The new Independent Voices collection. %s</string>
<!-- Description text for the artist series wallpapers with learn more link. The first parameter is the learn more string defined in wallpaper_learn_more. "Independent voices" is the name of the wallpaper collection -->
<string name="wallpaper_artist_series_description_with_learn_more">The Independent Voices collection. %s</string>
<!-- Description text for the limited edition wallpapers. -->
<string name="wallpaper_limited_edition_description">The new Independent Voices collection.</string>
<string name="wallpaper_limited_edition_description" moz:RemovedIn="118" tools:ignore="UnusedResources">The new Independent Voices collection.</string>
<!-- Description text for the artist series wallpapers. "Independent voices" is the name of the wallpaper collection -->
<string name="wallpaper_artist_series_description">The Independent Voices collection.</string>
<!-- Wallpaper onboarding dialog header text. -->
<string name="wallpapers_onboarding_dialog_title_text">Try a splash of color</string>
<!-- Wallpaper onboarding dialog body text. -->

Loading…
Cancel
Save