enable locale menu

This commit is contained in:
j 2014-02-17 15:12:37 +00:00
parent f958d313fc
commit 2810ff94f4

View file

@ -189,7 +189,7 @@ pandora.ui.mainMenu = function() {
return {id: theme, title: Ox.Theme.getThemeData(theme).themeName, checked: ui.theme == theme}
}) }
] },
{ id: 'locale', disabled: pandora.user.level != 'admin',
{ id: 'locale',
title: Ox._('Language'), items: [
{ group: 'setlocale', min: 1, max: 1, items: Object.keys(Ox.LOCALE_NAMES).map(function(locale) {
return {id: locale, title: Ox.LOCALE_NAMES[locale], checked: ui.locale == locale}