mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
language fix
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
|||||||
this.$router.push({name: 'InstallationDisclaimer'})
|
this.$router.push({name: 'InstallationDisclaimer'})
|
||||||
|
|
||||||
if (installation === 'setup-done')
|
if (installation === 'setup-done')
|
||||||
this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.language)
|
this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.locale)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.isLoaded = true
|
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);
|
Vue.use(VueI18n);
|
||||||
|
|
||||||
const i18n = new VueI18n({
|
const i18n = new VueI18n({
|
||||||
locale: config.language,
|
locale: config.locale,
|
||||||
silentTranslationWarn: true,
|
silentTranslationWarn: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user