mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
language fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
2
resources/js/i18n/index.js
vendored
2
resources/js/i18n/index.js
vendored
@@ -4,7 +4,7 @@ import VueI18n from 'vue-i18n';
|
||||
Vue.use(VueI18n);
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: config.language,
|
||||
locale: config.locale,
|
||||
silentTranslationWarn: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user