diff --git a/src/components/LanguageSwitcher.vue b/src/components/LanguageSwitcher.vue index 0f2329d..113c8dc 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'], - names: ['English', 'Español', 'Nederlands', 'Português'] + langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR'], + names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی'] } }, mounted() { diff --git a/src/i18n.ts b/src/i18n.ts index fe56929..c166d1d 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -3,6 +3,7 @@ import en from '@/locales/en.json' import es from '@/locales/es.json' import nl from '@/locales/nl.json' import pt from '@/locales/pt.json' +import fa from '@/locales/fa.json' export default createI18n({ legacy: false, @@ -14,5 +15,6 @@ export default createI18n({ 'es-ES': es, 'nl-NL': nl, 'pt-PT': pt, + 'fa-IR': fa, } }) diff --git a/src/locales b/src/locales index b0d3805..06be030 160000 --- a/src/locales +++ b/src/locales @@ -1 +1 @@ -Subproject commit b0d3805bc0572c2f7fd2f031f070adec8097e50d +Subproject commit 06be030adc22ceb02bca215a12c9ae4fc0b56208