Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten some settings strings #3921

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions common/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fun SettingsView(
WearAppTheme {
ThemeLazyColumn {
item {
ListHeader(id = commonR.string.favorite_settings)
ListHeader(id = commonR.string.favorites)
}
item {
SecondarySettingsChip(
Expand All @@ -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
)
Expand All @@ -116,7 +115,7 @@ fun SettingsView(
}
item {
ListHeader(
id = commonR.string.feedback_settings
id = commonR.string.feedback
)
}
item {
Expand Down Expand Up @@ -168,7 +167,7 @@ fun SettingsView(

item {
ListHeader(
id = commonR.string.tile_settings
id = commonR.string.tiles
)
}
item {
Expand Down