projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GETTEXT: rather choose the language on the array of locales successfully loaded than...
[citadel.git]
/
webcit
/
gettext.c
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index e1424b7a0c10b78ce112fda0eeee7b5c35d02be9..54d4ba3ae5cb0f7e5eca6448c28ad98b6c3acad4 100644
(file)
--- a/
webcit/gettext.c
+++ b/
webcit/gettext.c
@@
-41,7
+41,6
@@
const char *AvailLang[] = {
"ro_RO",
"sl_SL",
"tr_TR",
- "ar_AR",
""
};
@@
-442,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