default locale is default user locale (no need for separate config property); fix typo in default description
This commit is contained in:
parent
2af53d5da4
commit
6117438fbe
5 changed files with 6 additions and 10 deletions
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue