]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* vcard_edit.c webcit.c webserver.c who.c : i18n
[citadel.git] / webcit / webserver.c
index 68e3bb17c8d8a013c254d91e960965b8b66a05aa..1515ea08939f7691e9faa0db245e6e0ba67ab878 100644 (file)
@@ -381,6 +381,14 @@ int main(int argc, char **argv)
        char tracefile[PATH_MAX];
        char ip_addr[256];
        char *webcitdir = WEBCITDIR;
+       char *locale = NULL;
+
+       /* initialize the International Bright Young Thing */
+#ifdef ENABLE_NLS
+       locale = setlocale(LC_ALL, "");
+       bindtextdomain(PACKAGE, LOCALEDIR);
+       textdomain(PACKAGE);
+#endif
 
        /* Parse command line */
 #ifdef HAVE_OPENSSL
@@ -442,8 +450,8 @@ int main(int argc, char **argv)
                        ctdlport = argv[optind];
        }
        /* Tell 'em who's in da house */
-       lprintf(1, SERVER "\n"
-               "Copyright (C) 1996-2005 by the Citadel development team.\n"
+       lprintf(1, SERVER "\n");
+       lprintf(1, "Copyright (C) 1996-2005 by the Citadel development team.\n"
                "This software is distributed under the terms of the "
                "GNU General Public License.\n\n"
        );