LOCALES -> LOCALE_NAMES
This commit is contained in:
parent
9bec02786f
commit
a1f1138b22
1 changed files with 7 additions and 4 deletions
|
@ -54,14 +54,17 @@ Ox.KEYS = {
|
||||||
220: 'backslash', 221: 'closebracket', 222: 'quote', 224: 'meta'
|
220: 'backslash', 221: 'closebracket', 222: 'quote', 224: 'meta'
|
||||||
// see dojo, for ex.
|
// see dojo, for ex.
|
||||||
};
|
};
|
||||||
//@ Ox.LOCALE <s> current locale
|
//@ Ox.LOCALE <s> Default locale
|
||||||
Ox.LOCALE = 'en';
|
Ox.LOCALE = 'en';
|
||||||
//@ Ox.LOCALE <[s]> array of available locales
|
//@ Ox.LOCALE_NAMES <o> Locale names
|
||||||
Ox.LOCALES = {
|
Ox.LOCALE_NAMES = {
|
||||||
'ar': 'العربية',
|
'ar': 'العربية',
|
||||||
'de': 'Deutsch',
|
'de': 'Deutsch',
|
||||||
'en': 'English'
|
'en': 'English',
|
||||||
|
'fr': 'Français'
|
||||||
};
|
};
|
||||||
|
//@ Ox.LOCALES <o> Locales per module
|
||||||
|
Ox.LOCALES = {};
|
||||||
//@ Ox.MAX_LATITUDE <n> Maximum latitude of a Mercator projection
|
//@ Ox.MAX_LATITUDE <n> Maximum latitude of a Mercator projection
|
||||||
Ox.MAX_LATITUDE = Ox.deg(Math.atan(Ox.sinh(Math.PI)));
|
Ox.MAX_LATITUDE = Ox.deg(Math.atan(Ox.sinh(Math.PI)));
|
||||||
//@ Ox.MIN_LATITUDE <n> Minimum latitude of a Mercator projection
|
//@ Ox.MIN_LATITUDE <n> Minimum latitude of a Mercator projection
|
||||||
|
|
Loading…
Reference in a new issue