Verified Commit f3b6bc10 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed weird bugs with translations not updating

parent 75852e53
......@@ -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 () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment