Remove app.trans shortcut

Use `app.translator.trans` instead.
This commit is contained in:
Toby Zerner 2015-10-21 10:31:28 +10:30
parent 3894e71f15
commit 835e9e5d86

View File

@ -327,16 +327,4 @@ export default class App {
return prefix + url + (queryString ? '?' + queryString : '');
}
/**
* Shortcut to translate the given key.
*
* @param {String} key
* @param {Object} input
* @return {String}
* @public
*/
trans(key, input) {
return this.translator.trans(key, input);
}
}