feat: Add language separator and list English twice (#2739)

This commit is contained in:
Lipis 2021-01-07 21:39:57 +02:00 committed by GitHub
parent eb71e571e0
commit bafbe9bbc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -22,6 +22,10 @@ export const LanguageList = ({
value={currentLangCode}
aria-label={i18n.t("buttons.selectLanguage")}
>
<option key={i18n.defaultLang.code} value={i18n.defaultLang.code}>
{i18n.defaultLang.label}
</option>
<option disabled>{"──────────"}</option>
{languages.map((lang) => (
<option key={lang.code} value={lang.code}>
{lang.label}