forked from 0x2620/oxjs
add localization to Ox
This commit is contained in:
parent
b68b827d7b
commit
4d8c716d0b
31 changed files with 499 additions and 352 deletions
|
|
@ -54,9 +54,7 @@
|
|||
var translation = translations[value];
|
||||
log && log(value, translation);
|
||||
translation = translation || value;
|
||||
return options
|
||||
? Ox.formatString(translation, options, true)
|
||||
: translation
|
||||
return Ox.formatString(translation, options, true);
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
@ -70,4 +68,4 @@
|
|||
log = callback;
|
||||
};
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue