* make locale not found messages less alarming
authorWilfried Göesgens <willi@citadel.org>
Tue, 6 Oct 2009 19:20:55 +0000 (19:20 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 6 Oct 2009 19:20:55 +0000 (19:20 +0000)
webcit/gettext.c

index 1a2346378d172c34eae994594c8d1977b1c3b70d..d12ff3cf53fdcec27cf2b38c12f7dc14bc5ade71 100644 (file)
@@ -294,13 +294,13 @@ void initialize_locales(void) {
                        (((i > 0) && (wc_locales[0] != NULL)) ? wc_locales[0] : Empty_Locale)
                );
                if (wc_locales[nLocalesLoaded] == NULL) {
-                       lprintf(1, "Error configuring locale for "LOCALEDIR"locale/%s: %s\n",
+                       lprintf(1, "locale for "LOCALEDIR"locale/%s: %s; disabled\n",
                                buf,
                                strerror(errno)
                        );
                }
                else {
-                       lprintf(3, "Configured available locale: %s\n", buf);
+                       lprintf(3, "Found locale: %s\n", buf);
                        AvailLangLoaded[nLocalesLoaded] = AvailLang[i];
                        nLocalesLoaded++;
                }