From 6b561e24bee0489ad68c406df7fa569a4a7a893f Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Fri, 9 Dec 2022 19:56:36 +0100 Subject: [PATCH] remove warnings from translator --- plugins/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/globals.js b/plugins/globals.js index 139946eef..d06408871 100644 --- a/plugins/globals.js +++ b/plugins/globals.js @@ -10,7 +10,7 @@ export default ({ app, store }) => { 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.$translateForPronoun = (str, pronoun) => pronoun.format(