projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
482a4a2
)
* make locale not found messages less alarming
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 6 Oct 2009 19:20:55 +0000
(19:20 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 6 Oct 2009 19:20:55 +0000
(19:20 +0000)
webcit/gettext.c
patch
|
blob
|
history
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index 1a2346378d172c34eae994594c8d1977b1c3b70d..d12ff3cf53fdcec27cf2b38c12f7dc14bc5ade71 100644
(file)
--- a/
webcit/gettext.c
+++ b/
webcit/gettext.c
@@
-294,13
+294,13
@@
void initialize_locales(void) {
(((i > 0) && (wc_locales[0] != NULL)) ? wc_locales[0] : Empty_Locale)
);
if (wc_locales[nLocalesLoaded] == NULL) {
(((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 {
buf,
strerror(errno)
);
}
else {
- lprintf(3, "
Configured available
locale: %s\n", buf);
+ lprintf(3, "
Found
locale: %s\n", buf);
AvailLangLoaded[nLocalesLoaded] = AvailLang[i];
nLocalesLoaded++;
}
AvailLangLoaded[nLocalesLoaded] = AvailLang[i];
nLocalesLoaded++;
}