LOCALES -> LOCALE_NAMES

This commit is contained in:
rolux 2013-05-09 17:00:45 +02:00
parent 651e92b85b
commit e8322f276d

View file

@ -160,8 +160,8 @@ pandora.ui.mainMenu = function() {
] }, ] },
{}, {},
{ id: 'locale', title: Ox._('Language'), items: [ { id: 'locale', title: Ox._('Language'), items: [
{ group: 'setlocale', min: 1, max: 1, items: Object.keys(Ox.LOCALES).map(function(locale) { { group: 'setlocale', min: 1, max: 1, items: Object.keys(Ox.LOCALE_NAMES).map(function(locale) {
return {id: locale, title: Ox.LOCALES[locale], checked: ui.locale == locale} return {id: locale, title: Ox.LOCALE_NAMES[locale], checked: ui.locale == locale}
}) } }) }
] } ] }
]}, ]},