diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-29 18:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 18:51:09 +0200 |
commit | 7321b431b21e07b5dfa75fe4db07185ccbf0a5c6 (patch) | |
tree | 92227048d29b90f945c9ec03147adf90413d4560 /src-vue/src | |
parent | 87e08d4802bcff28f8bdf9a8f23b439d1204e1e4 (diff) | |
download | FlightCore-7321b431b21e07b5dfa75fe4db07185ccbf0a5c6.tar.gz FlightCore-7321b431b21e07b5dfa75fe4db07185ccbf0a5c6.zip |
i18n: Enable Italian translations (#370)
Diffstat (limited to 'src-vue/src')
-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 9bb1d97a..afa2549a 100644 --- a/src-vue/src/components/LanguageSelector.vue +++ b/src-vue/src/components/LanguageSelector.vue @@ -42,6 +42,10 @@ export default defineComponent({ value: 'ru', label: 'русский' }, + { + value: 'it', + label: 'Italiano' + }, ] }), mounted: async function () { diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts index 3543bfe9..e07c14f2 100644 --- a/src-vue/src/main.ts +++ b/src-vue/src/main.ts @@ -16,6 +16,7 @@ import fr from "./i18n/lang/fr.json"; import de from "./i18n/lang/de.json"; import pl from "./i18n/lang/pl.json"; import ru from "./i18n/lang/ru.json"; +import it from "./i18n/lang/it.json"; const app = createApp(App); @@ -25,7 +26,7 @@ export const i18n = createI18n({ locale: 'en', fallbackLocale: 'en', messages: { - en, fr, de, pl, ru + en, fr, de, pl, ru, it } }); app.use(i18n); |