You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to build this to track the missing translations, which is quite hacky. I would prefer a simple event listener.
var_warn=console.warn;console.warn=function(){// track the missing translationif(arguments[0].indexOf("i18n")!==-1){varmissingPhrase=arguments[0].replace('[vue-i18n] Cannot translate the value of keypath "',"");missingPhrase=missingPhrase.replace('". Use the value of keypath as default',"");WebService._call('translation/add-phrase',{phrase: missingPhrase});return;}return_warn.apply(console,arguments);};
The text was updated successfully, but these errors were encountered:
I had to build this to track the missing translations, which is quite hacky. I would prefer a simple event listener.
The text was updated successfully, but these errors were encountered: