forked from 0x2620/pandora
enable locale menu
This commit is contained in:
parent
f958d313fc
commit
2810ff94f4
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ pandora.ui.mainMenu = function() {
|
||||||
return {id: theme, title: Ox.Theme.getThemeData(theme).themeName, checked: ui.theme == theme}
|
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: [
|
title: Ox._('Language'), items: [
|
||||||
{ group: 'setlocale', min: 1, max: 1, items: Object.keys(Ox.LOCALE_NAMES).map(function(locale) {
|
{ 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}
|
return {id: locale, title: Ox.LOCALE_NAMES[locale], checked: ui.locale == locale}
|
||||||
|
|
Loading…
Reference in a new issue