aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
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);