more info in error message, to help next person who has to debug locales

This commit is contained in:
brenda 2009-09-05 16:11:38 +12:00
parent 8399e4c2e6
commit f218d7fd58

View File

@ -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__);
}
}