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
f7e9942cf0
commit
6b561e24be
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user