From 3ff40114fa0e2987f2afe416570c33ad951d859e Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 13 Feb 2023 21:22:39 +1100 Subject: [PATCH] adds arabic to language picker --- .../src/features/system/components/LanguagePicker.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/invokeai/frontend/src/features/system/components/LanguagePicker.tsx b/invokeai/frontend/src/features/system/components/LanguagePicker.tsx index 74eeb17951..9233250a79 100644 --- a/invokeai/frontend/src/features/system/components/LanguagePicker.tsx +++ b/invokeai/frontend/src/features/system/components/LanguagePicker.tsx @@ -9,10 +9,10 @@ import { FaLanguage } from 'react-icons/fa'; export default function LanguagePicker() { const { t, i18n } = useTranslation(); - const LANGUAGES = { - en: t('common:langEnglish'), + ar: t('common:langArabic'), nl: t('common:langDutch'), + en: t('common:langEnglish'), fr: t('common:langFrench'), de: t('common:langGerman'), it: t('common:langItalian'), @@ -35,7 +35,6 @@ export default function LanguagePicker() { onClick={() => i18n.changeLanguage(lang)} className="modal-close-btn lang-select-btn" aria-label={LANGUAGES[lang as keyof typeof LANGUAGES]} - tooltip={LANGUAGES[lang as keyof typeof LANGUAGES]} size="sm" minWidth="200px" >