language fix

This commit is contained in:
Peter Papp
2021-06-23 18:15:44 +02:00
parent e5de408ab0
commit 6fc29eac8e
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export default {
this.$router.push({name: 'InstallationDisclaimer'})
if (installation === 'setup-done')
this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.language)
this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.locale)
.then(() => {
this.isLoaded = true

View File

@@ -4,7 +4,7 @@ import VueI18n from 'vue-i18n';
Vue.use(VueI18n);
const i18n = new VueI18n({
locale: config.language,
locale: config.locale,
silentTranslationWarn: true,
});