projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02bce2d
)
GETTEXT: rather choose the language on the array of locales successfully loaded than...
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 18 Mar 2013 22:30:37 +0000
(23:30 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 18 Mar 2013 22:30:37 +0000
(23:30 +0100)
webcit/gettext.c
patch
|
blob
|
history
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index da7890239e527fcd0f05640b14f536cf2f574a99..54d4ba3ae5cb0f7e5eca6448c28ad98b6c3acad4 100644
(file)
--- a/
webcit/gettext.c
+++ b/
webcit/gettext.c
@@
-441,7
+441,7
@@
void TmplGettext(StrBuf *Target, WCTemplputParams *TP)
const char *get_selected_language(void) {
#ifdef ENABLE_NLS
#ifdef HAVE_USELOCALE
- return AvailLang[WC->selected_language];
+ return AvailLang
Loaded
[WC->selected_language];
#else
return "en";
#endif