From 45b3f9511d48a6b1b71348f545f35895badc3263 Mon Sep 17 00:00:00 2001 From: Erik Vroon Date: Fri, 15 Nov 2024 12:05:55 +0100 Subject: [PATCH] Update selectable languages (#1011) --- frontend/src/components/forms/user.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/forms/user.tsx b/frontend/src/components/forms/user.tsx index 5dad2ef48..7394ebf64 100644 --- a/frontend/src/components/forms/user.tsx +++ b/frontend/src/components/forms/user.tsx @@ -36,11 +36,17 @@ export default function UserForm({ user, t, i18n }: { user: UserInterface; t: an }); const locales = [ - { value: 'de', label: '🇩🇪 German' }, + { value: 'zh', label: '🇨🇳 Chinese' }, + { value: 'nl', label: '🇳🇱 Dutch' }, { value: 'en', label: '🇺🇸 English' }, + { value: 'fr', label: '🇫🇷 French' }, + { value: 'de', label: '🇩🇪 German' }, + { value: 'el', label: '🇬🇷 Greek' }, + { value: 'it', label: '🇮🇹 Italian' }, + { value: 'ja', label: '🇯🇵 Japanese' }, + { value: 'pt', label: '🇵🇹 Portuguese' }, { value: 'es', label: '🇪🇸 Spanish' }, - { value: 'nl', label: '🇳🇱 Dutch' }, - { value: 'zh', label: '🇨🇳 Chinese' }, + { value: 'se', label: '🇸🇪 Swedish' }, ]; const changeLanguage = (newLocale: string | null) => {