]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
more info in error message, to help next person who has to debug locales
authorbrenda <brenda@toshi.shiny.geek.nz>
Sat, 5 Sep 2009 04:11:38 +0000 (16:11 +1200)
committerbrenda <brenda@toshi.shiny.geek.nz>
Sat, 5 Sep 2009 04:12:50 +0000 (16:12 +1200)
lib/util.php

index 79611af2c4b88d04b2a8c93a3fca8432707a6e38..3dcd077a73658f72991838128eeaedf1a291d563 100644 (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__);
     }
 }