summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda <brenda@toshi.shiny.geek.nz>2009-09-05 16:11:38 +1200
committerbrenda <brenda@toshi.shiny.geek.nz>2009-09-05 16:12:50 +1200
commitf218d7fd588660fb6d4def782c64abd8b991e4a7 (patch)
tree16f5bb77b9d80d48a6448de626558aa5a16893df
parent8399e4c2e6aef80f9c3c24f62f2b37c19e5bab81 (diff)
more info in error message, to help next person who has to debug locales
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 79611af2c..3dcd077a7 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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__);
}
}