From e8322f276d6bf20f5a0d6dafbe901b33139815df Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 9 May 2013 17:00:45 +0200 Subject: [PATCH] LOCALES -> LOCALE_NAMES --- static/js/pandora/mainMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/mainMenu.js b/static/js/pandora/mainMenu.js index 53a0d439..64fbf934 100644 --- a/static/js/pandora/mainMenu.js +++ b/static/js/pandora/mainMenu.js @@ -160,8 +160,8 @@ pandora.ui.mainMenu = function() { ] }, {}, { id: 'locale', title: Ox._('Language'), items: [ - { group: 'setlocale', min: 1, max: 1, items: Object.keys(Ox.LOCALES).map(function(locale) { - return {id: locale, title: Ox.LOCALES[locale], checked: ui.locale == 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} }) } ] } ]},