LOCALES -> LOCALE_NAMES

This commit is contained in:
rolux 2013-05-09 17:00:28 +02:00
parent 9bec02786f
commit a1f1138b22

View file

@ -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