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 have some strings in the Vuex store that need translated and contain placeholders e.g {0} {1}
However due to the way they're implemented the placeholder actual values are not provided at translation time but are inserted later
I would like an option to disable the console warnings whenever this happens as its not going to change any time soon.
I can see in vuex-i18n-plugin.js
let replace = function replace(translation, replacements, warn = true) {
...
if (warn === true) {
console.group ? console.group('i18n: Not all placeholders found') : console.warn('i18n: Not all
placeholders found');```
//some way to set the value of `warn` argument would be ideal
The text was updated successfully, but these errors were encountered:
I have some strings in the Vuex store that need translated and contain placeholders e.g
{0} {1}
However due to the way they're implemented the placeholder actual values are not provided at translation time but are inserted later
I would like an option to disable the console warnings whenever this happens as its not going to change any time soon.
I can see in vuex-i18n-plugin.js
The text was updated successfully, but these errors were encountered: