fix(i18n): mark supported languages for translation (#2377)

This commit is contained in:
Konrad
2026-02-26 02:06:18 +01:00
committed by GitHub
parent 484e1c20d0
commit 92d82c0423
10 changed files with 72 additions and 65 deletions
@@ -45,7 +45,7 @@ export const LanguageSwitcherDialog = ({ open, setOpen }: LanguageSwitcherDialog
{Object.values(SUPPORTED_LANGUAGES).map((language) => (
<CommandItem
key={language.short}
value={language.full}
value={_(language.full)}
onSelect={async () => setLanguage(language.short)}
>
<CheckIcon
@@ -54,7 +54,7 @@ export const LanguageSwitcherDialog = ({ open, setOpen }: LanguageSwitcherDialog
i18n.locale === language.short ? 'opacity-100' : 'opacity-0',
)}
/>
{SUPPORTED_LANGUAGES[language.short].full}
{_(language.full)}
</CommandItem>
))}
</CommandGroup>