mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 23:39:16 +02:00
Fixed weird bugs with translations not updating
This commit is contained in:
parent
75852e537a
commit
f3b6bc1029
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ if (availableLanguages[store.state.ui.currentLanguage]) {
|
|||
Vue.use(GetTextPlugin, {
|
||||
availableLanguages: availableLanguages,
|
||||
defaultLanguage: defaultLanguage,
|
||||
// cf https://github.com/Polyconseil/vue-gettext#configuration
|
||||
// not recommended but this is fixing weird bugs with translation nodes
|
||||
// not being updated when in v-if/v-else clauses
|
||||
autoAddKeyAttributes: true,
|
||||
languageVmMixin: {
|
||||
computed: {
|
||||
currentKebabCase: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue