From 583f6c876b0562ad7eeebf905de1f5146c5bde2d Mon Sep 17 00:00:00 2001 From: dragongoose <19649813+dragongoose@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:59:56 -0400 Subject: [PATCH] Update translations --- src/components/LanguageSwitcher.vue | 4 ++-- src/i18n.ts | 6 +++++- src/locales | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/LanguageSwitcher.vue b/src/components/LanguageSwitcher.vue index f104f68..0f2329d 100644 --- a/src/components/LanguageSwitcher.vue +++ b/src/components/LanguageSwitcher.vue @@ -12,8 +12,8 @@ export default { setup() { return { - langs: ['en-US', 'es-ES'], - names: ['English', 'Español'] + langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT'], + names: ['English', 'Español', 'Nederlands', 'Português'] } }, mounted() { diff --git a/src/i18n.ts b/src/i18n.ts index 473d4e4..fe56929 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -1,6 +1,8 @@ import { createI18n } from 'vue-i18n' import en from '@/locales/en.json' import es from '@/locales/es.json' +import nl from '@/locales/nl.json' +import pt from '@/locales/pt.json' export default createI18n({ legacy: false, @@ -9,6 +11,8 @@ export default createI18n({ globalInjection: true, messages: { 'en-US': en, - 'es-ES': es + 'es-ES': es, + 'nl-NL': nl, + 'pt-PT': pt, } }) diff --git a/src/locales b/src/locales index 98ca807..8c0cd5f 160000 --- a/src/locales +++ b/src/locales @@ -1 +1 @@ -Subproject commit 98ca80706227ed2e78d81d8ea7f4a86fd9baf83f +Subproject commit 8c0cd5f9d57458f207e482c029f3afc4f6c2b7d5