remove warnings from translator

This commit is contained in:
Andrea Vos 2022-12-09 19:56:36 +01:00
parent f7e9942cf0
commit 6b561e24be

View File

@ -10,7 +10,7 @@ export default ({ app, store }) => {
Vue.prototype.$base = process.env.BASE_URL; Vue.prototype.$base = process.env.BASE_URL;
Vue.prototype.$t = (key, params = {}, warn = true) => translator.translate(key, params, warn); Vue.prototype.$t = (key, params = {}) => translator.translate(key, params, warn);
Vue.prototype.$te = (key) => translator.has(key); Vue.prototype.$te = (key) => translator.has(key);
Vue.prototype.$translateForPronoun = (str, pronoun) => Vue.prototype.$translateForPronoun = (str, pronoun) =>
pronoun.format( pronoun.format(