diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-08 15:20:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 15:20:51 +0200 |
commit | be9b0d32dd13d66027083f0fcfa8b4e05eb2d134 (patch) | |
tree | 1087a68f007225074fa91ec84f44c45189c47c25 /src-vue | |
parent | 0cbf57cfd07bf7c52e73c51147c5298082f68e3c (diff) | |
download | FlightCore-be9b0d32dd13d66027083f0fcfa8b4e05eb2d134.tar.gz FlightCore-be9b0d32dd13d66027083f0fcfa8b4e05eb2d134.zip |
feat: Enable Polish translations (#321)
* feat: Enable Polish translations
* fix: "polish" adjective is written non-capitalized
---------
Co-authored-by: Remy Raes <contact@remyraes.com>
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/components/LanguageSelector.vue | 4 | ||||
-rw-r--r-- | src-vue/src/main.ts | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src-vue/src/components/LanguageSelector.vue b/src-vue/src/components/LanguageSelector.vue index 5b1e7ebd..8d9eed22 100644 --- a/src-vue/src/components/LanguageSelector.vue +++ b/src-vue/src/components/LanguageSelector.vue @@ -34,6 +34,10 @@ export default defineComponent({ value: 'de', label: 'Deutsch' }, + { + value: 'pl', + label: 'polski' + }, ] }), mounted: async function() { diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts index 94a0196b..58429aca 100644 --- a/src-vue/src/main.ts +++ b/src-vue/src/main.ts @@ -14,6 +14,7 @@ import {createRouter, createWebHashHistory} from "vue-router"; import en from "./i18n/lang/en.json"; import fr from "./i18n/lang/fr.json"; import de from "./i18n/lang/de.json"; +import pl from "./i18n/lang/pl.json"; const app = createApp(App); @@ -23,7 +24,7 @@ export const i18n = createI18n({ locale: 'en', fallbackLocale: 'en', messages: { - en, fr, de + en, fr, de, pl } }); app.use(i18n); |