aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-08-10 23:42:43 +0200
committerGitHub <noreply@github.com>2023-08-10 23:42:43 +0200
commit7195a7566c1b367bf37982cbfe411f110bfaf2cd (patch)
tree58105c749db50c24607a2b8b0b6f0d2b70733363 /src-vue
parent3ddbb7372808a5d3d8fdccf0c38981a1dfce3c74 (diff)
downloadFlightCore-7195a7566c1b367bf37982cbfe411f110bfaf2cd.tar.gz
FlightCore-7195a7566c1b367bf37982cbfe411f110bfaf2cd.zip
i18n: Enable Danish translations (#507)
Diffstat (limited to 'src-vue')
-rw-r--r--src-vue/src/components/LanguageSelector.vue4
-rw-r--r--src-vue/src/main.ts3
2 files changed, 6 insertions, 1 deletions
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
@@ -47,6 +47,10 @@ export default defineComponent({
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);