forked from GNUsocial/gnu-social
more info in error message, to help next person who has to debug locales
This commit is contained in:
parent
8399e4c2e6
commit
f218d7fd58
@ -59,7 +59,7 @@ function common_init_language()
|
||||
textdomain("statusnet");
|
||||
setlocale(LC_CTYPE, 'C');
|
||||
if(!$locale_set) {
|
||||
common_log(LOG_INFO,'Language requested:'.$language.' - locale could not be set:',__FILE__);
|
||||
common_log(LOG_INFO, 'Language requested:' . $language . ' - locale could not be set. Perhaps that system locale is not installed.', __FILE__);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user