diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json index cfed9560..2dbd3e35 100644 --- a/web/i18n/en/settings.json +++ b/web/i18n/en/settings.json @@ -78,7 +78,7 @@ "language": "language", "language.auto.title": "use default browser language", - "language.auto.description": "automatically picks the best language for you. if preferred browser language isn't available, english is used instead.", + "language.auto.description": "automatically picks the best language for you. if preferred browser language isn't available, english is used instead. disable this toggle to pick a language manually.", "language.preferred.title": "preferred language", "language.preferred.description": "language used for interface and content." } diff --git a/web/src/components/settings/LanguageDropdown.svelte b/web/src/components/settings/LanguageDropdown.svelte index 68bd458f..261ae692 100644 --- a/web/src/components/settings/LanguageDropdown.svelte +++ b/web/src/components/settings/LanguageDropdown.svelte @@ -8,6 +8,8 @@ $: currentSetting = $settings.appearance.language; + $: disabled = $settings.appearance.autoLanguage; + const updateLocale = (lang: string) => { updateSetting({ appearance: { @@ -17,7 +19,7 @@ }; -
+

@@ -34,6 +36,7 @@ id="setting-dropdown-appearance-language" bind:value={$locale} on:change={() => updateLocale($locale)} + disabled={disabled} > {#each $locales as value}