Shorten some settings strings (#3921)

* Shorten some settings strings

* Remove unused string
This commit is contained in:
Daniel Shokouhi 2023-10-06 09:51:32 -07:00 committed by GitHub
parent 14751ae235
commit 709ca07e8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View file

@ -264,9 +264,8 @@
<string name="failure_send_favorites_wear">Failed to send favorites selection to watch</string>
<string name="fans">Fans</string>
<string name="favorite_settings">Favorite settings</string>
<string name="favorite">Set favorite entities</string>
<string name="favorite">Set favorites</string>
<string name="favorites">Favorites</string>
<string name="feedback_settings">Feedback settings</string>
<string name="filter_notifications">Filter notifications</string>
<string name="filter_sensors">Filter sensors</string>
<string name="filter_sensors_all">All sensors</string>
@ -316,7 +315,6 @@
<item quantity="one">%d second</item>
<item quantity="other">%d seconds</item>
</plurals>
<string name="irreversible">This action is irreversible</string>
<string name="keep_screen_on_def">Do not lock screen when dashboard is active</string>
<string name="keep_screen_on">Keep screen on</string>
<string name="pinch_to_zoom_def">Allow pinch-to-zoom gesture to zoom app window</string>
@ -752,8 +750,8 @@
<string name="set_favorites_on_device">Set favorites on Wear OS device</string>
<string name="set_lock_message">No biometric sensor or screen lock credential available</string>
<string name="set_lock_title">App locking error</string>
<string name="setting_haptic_label">Enable haptic feedback</string>
<string name="setting_toast_label">Enable toast confirmation</string>
<string name="setting_haptic_label">Haptics</string>
<string name="setting_toast_label">Toast message</string>
<string name="settings">Settings</string>
<string name="share_failed">Sharing with Home Assistant failed!</string>
<string name="share_logs_sens_message">Please note: by sharing the log, you could share sensitive data like location data or your Home Assistant URL.\n\nDo you want to continue?</string>
@ -915,7 +913,6 @@
<string name="tile_not_setup">Requires setup</string>
<string name="tile_save">Update tile data</string>
<string name="tile_server">Select a server (required)</string>
<string name="tile_settings">Tile settings</string>
<string name="tile_subtitle">Tile subtitle</string>
<string name="tile_updated">Tile data updated</string>
<string name="tiles">Tiles</string>
@ -1212,4 +1209,5 @@
<string name="state_standby">Standby</string>
<string name="state_sunny">Sunny</string>
<string name="state_windy">Windy</string>
<string name="feedback">Feedback</string>
</resources>

View file

@ -78,7 +78,7 @@ fun SettingsView(
WearAppTheme {
ThemeLazyColumn {
item {
ListHeader(id = commonR.string.favorite_settings)
ListHeader(id = commonR.string.favorites)
}
item {
SecondarySettingsChip(
@ -92,7 +92,6 @@ fun SettingsView(
SecondarySettingsChip(
icon = CommunityMaterial.Icon.cmd_delete,
label = stringResource(commonR.string.clear_favorites),
secondaryLabel = stringResource(commonR.string.irreversible),
enabled = favorites.isNotEmpty(),
onClick = onClearFavorites
)
@ -116,7 +115,7 @@ fun SettingsView(
}
item {
ListHeader(
id = commonR.string.feedback_settings
id = commonR.string.feedback
)
}
item {
@ -168,7 +167,7 @@ fun SettingsView(
item {
ListHeader(
id = commonR.string.tile_settings
id = commonR.string.tiles
)
}
item {