mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Add language separator and list English twice (#2739)
This commit is contained in:
parent
eb71e571e0
commit
bafbe9bbc8
2 changed files with 9 additions and 7 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue