default locale is default user locale (no need for separate config property); fix typo in default description

This commit is contained in:
rolux 2013-08-04 14:37:35 +00:00
commit 6117438fbe
5 changed files with 6 additions and 10 deletions

View file

@ -1933,7 +1933,7 @@ pandora.setLocale = function(locale, callback) {
// language from http header might not be supported,
// fall back to site default
if (Ox.isUndefined(Ox.LOCALE_NAMES[locale])) {
locale = pandora.site.site.locale;
locale = pandora.site.user.ui.locale;
}
if (locale != 'en') {
if (pandora.localStorage('enableDebugMode')) {