add changes from ubuntu launchpad
[citadel.git] / webcit / gettext.c
index 30a73258838847a8b3f75fb53b79dfcc52b5815b..f1b2f8a2713b109aa2912da3ddfd37e9c34fd179 100644 (file)
@@ -40,6 +40,11 @@ const char *AvailLang[] = {
        "nl_NL",
        "pt_BR",
        "ru_RU",
+       "zh_CN",
+       "he_IL",
+       "kk_KK",
+       "ro_RO",
+       "sl_SL",
        ""
 };
 
@@ -287,8 +292,6 @@ void initialize_locales(void) {
        int i;
        char buf[32];
        char *language = NULL;
-       char *locale;
-
 
        nLocales = 0; 
        while (!IsEmptyStr(AvailLang[nLocales]))
@@ -368,7 +371,7 @@ void initialize_locales(void) {
        }
 
 #ifdef ENABLE_NLS
-       locale = setlocale(LC_ALL, "");
+       /*locale = */setlocale(LC_ALL, "");
 
        syslog(9, "Message catalog directory: %s\n", bindtextdomain("webcit", LOCALEDIR"/locale"));
        syslog(9, "Text domain: %s\n", textdomain("webcit"));