Add a new getLanguage method to the various IL10n implementations

This commit is contained in:
Jonas Jenwald 2018-03-20 13:42:45 +01:00
parent ab74b32054
commit 513412c92e
4 changed files with 19 additions and 0 deletions

View file

@ -58,6 +58,10 @@ function formatL10nValue(text, args) {
* @implements {IL10n}
*/
let NullL10n = {
getLanguage() {
return Promise.resolve('en-us');
},
getDirection() {
return Promise.resolve('ltr');
},