add Ox.getLocale
This commit is contained in:
parent
8aef1fb7c0
commit
7f6bb6a318
1 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,14 @@
|
|||
|
||||
var log, translations = {};
|
||||
|
||||
/*@
|
||||
Ox.getLocale <f> Returns locale
|
||||
() -> <s> Locale (like 'de' or 'fr')
|
||||
@*/
|
||||
Ox.getLocale = function() {
|
||||
return Ox.LOCALE;
|
||||
};
|
||||
|
||||
/*@
|
||||
Ox.setLocale <f> Sets locale
|
||||
(locale[, url], callback)
|
||||
|
|
Loading…
Reference in a new issue