From d465fbdbd04123927911119714f4fa6566a972fa Mon Sep 17 00:00:00 2001 From: Daniel Shokouhi Date: Fri, 6 Oct 2023 09:30:48 -0700 Subject: [PATCH] Shorten some settings strings --- common/src/main/res/values/strings.xml | 9 ++++----- .../companion/android/home/views/SettingsView.kt | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml index f9baf517015..7807987a7db 100644 --- a/common/src/main/res/values/strings.xml +++ b/common/src/main/res/values/strings.xml @@ -264,7 +264,7 @@ Failed to send favorites selection to watch Fans Favorite settings - Set favorite entities + Set favorites Favorites Feedback settings Filter notifications @@ -316,7 +316,6 @@ %d second %d seconds - This action is irreversible Do not lock screen when dashboard is active Keep screen on Allow pinch-to-zoom gesture to zoom app window @@ -752,8 +751,8 @@ Set favorites on Wear OS device No biometric sensor or screen lock credential available App locking error - Enable haptic feedback - Enable toast confirmation + Haptics + Toast message Settings Sharing with Home Assistant failed! 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? @@ -915,7 +914,6 @@ Requires setup Update tile data Select a server (required) - Tile settings Tile subtitle Tile data updated Tiles @@ -1212,4 +1210,5 @@ Standby Sunny Windy + Feedback diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt index 7dc8a0309cc..4fdea148a81 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt @@ -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 {