diff --git a/static/js/pandora/mainMenu.js b/static/js/pandora/mainMenu.js index d9ccdc7d0..749cfb719 100644 --- a/static/js/pandora/mainMenu.js +++ b/static/js/pandora/mainMenu.js @@ -158,7 +158,8 @@ pandora.ui.mainMenu = function() { return {id: theme, title: Ox.Theme.getThemeData(theme).themeName, checked: ui.theme == theme} }) } ] }, - { id: 'locale', title: Ox._('Language'), items: [ + { id: 'locale', disabled: pandora.user.level != 'admin', + 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} }) }