mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 22:19:28 -04:00
remove warnings from translator
This commit is contained in:
parent
6b561e24be
commit
7504b37254
@ -10,7 +10,7 @@ export default ({ app, store }) => {
|
||||
|
||||
Vue.prototype.$base = process.env.BASE_URL;
|
||||
|
||||
Vue.prototype.$t = (key, params = {}) => translator.translate(key, params, warn);
|
||||
Vue.prototype.$t = (key, params = {}, warn = false) => translator.translate(key, params, warn);
|
||||
Vue.prototype.$te = (key) => translator.has(key);
|
||||
Vue.prototype.$translateForPronoun = (str, pronoun) =>
|
||||
pronoun.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user