aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-05-09 17:39:33 +0200
committerGitHub <noreply@github.com>2023-05-09 17:39:33 +0200
commitc7709639b25834c972a200400d9ed2f991ef1a29 (patch)
tree1152888c2c984a14009c60b9ab09d54f690e168c /src-vue/src
parent3f759690c18f770ef70cb483969094e5ef3f52b9 (diff)
downloadFlightCore-c7709639b25834c972a200400d9ed2f991ef1a29.tar.gz
FlightCore-c7709639b25834c972a200400d9ed2f991ef1a29.zip
i18n: Enable Russian translations (#336)
Diffstat (limited to 'src-vue/src')
-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 8d9eed22..a99ef0e5 100644
--- a/src-vue/src/components/LanguageSelector.vue
+++ b/src-vue/src/components/LanguageSelector.vue
@@ -38,6 +38,10 @@ export default defineComponent({
value: 'pl',
label: 'polski'
},
+ {
+ value: 'ru',
+ label: 'русский'
+ },
]
}),
mounted: async function() {
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts
index 58429aca..3543bfe9 100644
--- a/src-vue/src/main.ts
+++ b/src-vue/src/main.ts
@@ -15,6 +15,7 @@ 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";
+import ru from "./i18n/lang/ru.json";
const app = createApp(App);
@@ -24,7 +25,7 @@ export const i18n = createI18n({
locale: 'en',
fallbackLocale: 'en',
messages: {
- en, fr, de, pl
+ en, fr, de, pl, ru
}
});
app.use(i18n);