2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #23679 Update the wallpaper settings switch text

This commit is contained in:
Arturo Mejia 2022-02-10 15:50:03 -05:00 committed by mergify[bot]
parent 50dfd0e802
commit 11601770eb
2 changed files with 5 additions and 11 deletions

View File

@ -254,7 +254,7 @@ private fun WallpaperLogoSwitch(
modifier = Modifier.fillMaxWidth()
) {
Text(
text = stringResource(R.string.wallpaper_tap_to_change_switch_label),
text = stringResource(R.string.wallpaper_tap_to_change_switch_label_1),
color = FirefoxTheme.colors.textPrimary,
fontSize = 18.sp,
modifier = Modifier.padding(start = 4.dp)
@ -269,14 +269,6 @@ private fun WallpaperLogoSwitch(
)
)
}
Text(
text = stringResource(R.string.wallpaper_tap_to_change_switch_description),
color = FirefoxTheme.colors.textDisabled,
fontSize = 12.sp,
fontFamily = FontFamily(Font(R.font.metropolis_semibold)),
modifier = Modifier.padding(start = 8.dp, end = 42.dp, top = 16.dp)
)
}
}

View File

@ -402,9 +402,11 @@
<!-- Snackbar label for action to view selected wallpaper -->
<string name="wallpaper_updated_snackbar_action">View</string>
<!-- Label for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_label">Tap logo to change wallpaper</string>
<string name="wallpaper_tap_to_change_switch_label" moz:removedIn="99" tools:ignore="UnusedResources">Tap logo to change wallpaper</string>
<!-- Label for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_label_1">Change wallpaper by tapping Firefox homepage logo</string>
<!-- Description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_description">Cycle through and update image without leaving the homepage.</string>
<string name="wallpaper_tap_to_change_switch_description" moz:removedIn="99" tools:ignore="UnusedResources">Cycle through and update image without leaving the homepage.</string>
<!-- 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">Firefox logo - change the wallpaper, button</string>