Skip to content

Commit 2b8cbb3

Browse files
eriedclaude
andcommitted
Settings: localize the Language picker label
The dropdown's label was a Kotlin literal "Language", so it never recomposed on locale change — switched to stringResource(R.string.language). The search corpus list had the same literal; replaced it too. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3e29f0b commit 2b8cbb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/eried/eucplanet/ui/settings/SettingsScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fun SettingsScreen(
249249
stringResource(R.string.theme),
250250
stringResource(R.string.accent_color),
251251
stringResource(R.string.show_gauge_color_band),
252-
"Language"
252+
stringResource(R.string.language)
253253
).joinToString(" ")
254254

255255
val corpusSpeed = listOf(
@@ -599,7 +599,7 @@ private fun DisplayTab(
599599
}
600600

601601
SimpleDropdown(
602-
label = "Language",
602+
label = stringResource(R.string.language),
603603
currentKey = settings.language,
604604
options = languageOptions,
605605
onSelect = { viewModel.updateLanguage(it) }

0 commit comments

Comments
 (0)