mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
adds arabic to language picker
This commit is contained in:
parent
71c6ae8789
commit
3ff40114fa
@ -9,10 +9,10 @@ import { FaLanguage } from 'react-icons/fa';
|
|||||||
|
|
||||||
export default function LanguagePicker() {
|
export default function LanguagePicker() {
|
||||||
const { t, i18n } = useTranslation();
|
const { t, i18n } = useTranslation();
|
||||||
|
|
||||||
const LANGUAGES = {
|
const LANGUAGES = {
|
||||||
en: t('common:langEnglish'),
|
ar: t('common:langArabic'),
|
||||||
nl: t('common:langDutch'),
|
nl: t('common:langDutch'),
|
||||||
|
en: t('common:langEnglish'),
|
||||||
fr: t('common:langFrench'),
|
fr: t('common:langFrench'),
|
||||||
de: t('common:langGerman'),
|
de: t('common:langGerman'),
|
||||||
it: t('common:langItalian'),
|
it: t('common:langItalian'),
|
||||||
@ -35,7 +35,6 @@ export default function LanguagePicker() {
|
|||||||
onClick={() => i18n.changeLanguage(lang)}
|
onClick={() => i18n.changeLanguage(lang)}
|
||||||
className="modal-close-btn lang-select-btn"
|
className="modal-close-btn lang-select-btn"
|
||||||
aria-label={LANGUAGES[lang as keyof typeof LANGUAGES]}
|
aria-label={LANGUAGES[lang as keyof typeof LANGUAGES]}
|
||||||
tooltip={LANGUAGES[lang as keyof typeof LANGUAGES]}
|
|
||||||
size="sm"
|
size="sm"
|
||||||
minWidth="200px"
|
minWidth="200px"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user