Verified Commit f3b6bc10 authored by Agate's avatar Agate 💬

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
// 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 () {
Markdown is supported
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