From a500e31ed0ba6dc60675a215fc2d9bfc2d863289 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 18 Jul 2023 20:35:17 -0400 Subject: [PATCH] Add translation --- src/components/LanguageSwitcher.vue | 4 ++-- src/i18n.ts | 2 ++ src/locales | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/LanguageSwitcher.vue b/src/components/LanguageSwitcher.vue index 113c8dc..e0fa23c 100644 --- a/src/components/LanguageSwitcher.vue +++ b/src/components/LanguageSwitcher.vue @@ -12,8 +12,8 @@ export default { setup() { return { - langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR'], - names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی'] + langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR', 'he_IL'], + names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی', 'עִבְרִית'] } }, mounted() { diff --git a/src/i18n.ts b/src/i18n.ts index c166d1d..add42f7 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -4,6 +4,7 @@ import es from '@/locales/es.json' import nl from '@/locales/nl.json' import pt from '@/locales/pt.json' import fa from '@/locales/fa.json' +import he from '@/locales/he.json' export default createI18n({ legacy: false, @@ -16,5 +17,6 @@ export default createI18n({ 'nl-NL': nl, 'pt-PT': pt, 'fa-IR': fa, + 'he_IL': he, } }) diff --git a/src/locales b/src/locales index 06be030..e006498 160000 --- a/src/locales +++ b/src/locales @@ -1 +1 @@ -Subproject commit 06be030adc22ceb02bca215a12c9ae4fc0b56208 +Subproject commit e006498953d4b13e6de7ec001ab219da50d0e418