mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-17 17:29:37 +00:00
Fix:Event sent when changing languages to rehydrate page
This commit is contained in:
parent
5983f0262f
commit
c93f17051a
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ async function loadi18n(code) {
|
||||||
Vue.prototype.$setDateFnsLocale(languageCodeMap[code].dateFnsLocale)
|
Vue.prototype.$setDateFnsLocale(languageCodeMap[code].dateFnsLocale)
|
||||||
|
|
||||||
console.log('i18n strings=', Vue.prototype.$strings)
|
console.log('i18n strings=', Vue.prototype.$strings)
|
||||||
Vue.prototype.$eventBus.$emit('change-lang', code)
|
this.$eventBus.$emit('change-lang', code)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue