From 7195a7566c1b367bf37982cbfe411f110bfaf2cd Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:42:43 +0200 Subject: i18n: Enable Danish translations (#507) --- src-vue/src/components/LanguageSelector.vue | 4 ++++ src-vue/src/main.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src-vue') diff --git a/src-vue/src/components/LanguageSelector.vue b/src-vue/src/components/LanguageSelector.vue index 4f275369..37e8448f 100644 --- a/src-vue/src/components/LanguageSelector.vue +++ b/src-vue/src/components/LanguageSelector.vue @@ -46,6 +46,10 @@ export default defineComponent({ value: 'it', label: 'Italiano' }, + { + value: 'da', + label: 'Dansk' + }, { value: 'zh_Hans', label: '简体中文' diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts index b595f21c..74404947 100644 --- a/src-vue/src/main.ts +++ b/src-vue/src/main.ts @@ -13,6 +13,7 @@ import RepairView from "./views/RepairView.vue"; import {createRouter, createWebHashHistory} from "vue-router"; import en from "./i18n/lang/en.json"; import fr from "./i18n/lang/fr.json"; +import da from "./i18n/lang/da.json"; import de from "./i18n/lang/de.json"; import pl from "./i18n/lang/pl.json"; import ru from "./i18n/lang/ru.json"; @@ -27,7 +28,7 @@ export const i18n = createI18n({ locale: 'en', fallbackLocale: 'en', messages: { - en, fr, de, pl, ru, it, zh_Hans + en, fr, da, de, pl, ru, it, zh_Hans } }); app.use(i18n); -- cgit v1.2.3