From: Wilfried Göesgens Date: Thu, 26 Feb 2009 20:07:30 +0000 (+0000) Subject: * make WEBCIT_LANG persistantly working through xgettext and bsd locale X-Git-Tag: v7.86~1402 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=8362c61f6ec7367c2b971667fdbf7c11d7d0f8af * make WEBCIT_LANG persistantly working through xgettext and bsd locale --- diff --git a/webcit/gettext.c b/webcit/gettext.c index 917ee4bd3..c921ffb12 100644 --- a/webcit/gettext.c +++ b/webcit/gettext.c @@ -173,6 +173,12 @@ void tmplput_offer_languages(StrBuf *Target, WCTemplputParams *TP) Lang = "C"; #endif + + if (nLocalesLoaded == 1) { + wprintf("

%s

", AvailLangLoaded[0]); + return; + } + wprintf("