From 7fec1c2699059e1449349ade6181630eea7a0b6e Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 19 Aug 2005 16:56:06 +0000 Subject: [PATCH] * inetconf.c: partial i18n --- webcit/ChangeLog | 4 ++++ webcit/inetconf.c | 55 +++++++++++++++++++++---------------------- webcit/intl/Makefile | 8 +++---- webcit/po/Makefile.in | 2 +- 4 files changed, 36 insertions(+), 33 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 38109da56..c43422aba 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 621.17 2005/08/19 16:56:00 ajc +* inetconf.c: partial i18n + Revision 621.16 2005/08/18 22:08:26 ajc * iconbar.c: i18n @@ -2850,3 +2853,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/inetconf.c b/webcit/inetconf.c index 6bb3272ac..d2b4938ea 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -28,33 +28,30 @@ void display_inetconf(void) }; char *ic_spec[ic_max]; char *ic_misc; - - char *ic_keyword[] = { - "localhost", - "directory", - "gatewaydomain", - "smarthost", - "rbl", - "spamassassin", - }; - - char *ic_boxtitle[] = { - "Local host aliases", - "Directory domains", - "Gateway domains", - "Smart hosts", - "RBL hosts", - "SpamAssassin hosts", - }; - - char *ic_desc[] = { - "(domains for which this host receives mail)", - "(domains mapped with the Global Address Book)", - "(domains whose subdomains match Citadel hosts)", - "(if present, forward all outbound mail to one of these hosts)", - "(hosts running a Realtime Blackhole List)", - "(hosts running the SpamAssassin service)", - }; + char *ic_keyword[ic_max]; + char *ic_boxtitle[ic_max]; + char *ic_desc[ic_max]; + + ic_keyword[0] = _("localhost"); + ic_keyword[1] = _("directory"); + ic_keyword[2] = _("gatewaydomain"); + ic_keyword[3] = _("smarthost"); + ic_keyword[4] = _("rbl"); + ic_keyword[5] = _("spamassassin"); + + ic_boxtitle[0] = _("Local host aliases"); + ic_boxtitle[1] = _("Directory domains"); + ic_boxtitle[2] = _("Gateway domains"); + ic_boxtitle[3] = _("Smart hosts"); + ic_boxtitle[4] = _("RBL hosts"); + ic_boxtitle[5] = _("SpamAssassin hosts"); + + ic_desc[0] = _("(domains for which this host receives mail)"); + ic_desc[1] = _("(domains mapped with the Global Address Book)"); + ic_desc[2] = _("(domains whose subdomains match Citadel hosts)"); + ic_desc[3] = _("(if present, forward all outbound mail to one of these hosts)"); + ic_desc[4] = _("(hosts running a Realtime Blackhole List)"); + ic_desc[5] = _("(hosts running the SpamAssassin service)"); for (i=0; i\n"); wprintf("
"); - wprintf("Internet configuration\n"); + wprintf(""); + wprintf(_("Internet configuration")); + wprintf("\n"); wprintf("
\n"); wprintf("\n
\n"); diff --git a/webcit/intl/Makefile b/webcit/intl/Makefile index 24f69500a..862e30c91 100644 --- a/webcit/intl/Makefile +++ b/webcit/intl/Makefile @@ -26,7 +26,7 @@ top_srcdir = .. top_builddir = .. -prefix = /usr/local/webcit +prefix = /appl/webcit exec_prefix = ${prefix} transform = s,x,x, libdir = ${exec_prefix}/lib @@ -57,9 +57,9 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ -Dset_relocation_prefix=libintl_set_relocation_prefix \ -Drelocate=libintl_relocate \ -DDEPENDS_ON_LIBICONV=1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"webcit\" -DVERSION=\"6.21\" -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UN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VE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE_WCSLEN=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_FEOF_UNLOCKED=1 -DHAVE_DECL_FGETS_UNLOCKED=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -CPPFLAGS = -I/usr/local/ctdlsupport/include -CFLAGS = -I/usr/local/webcit -I/usr/local/ctdlsupport/include -Wall -LDFLAGS = -L/usr/local/webcit -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib +CPPFLAGS = +CFLAGS = -I/appl/webcit -g -O2 -Wall +LDFLAGS = -L/appl/webcit LIBS = -lssl -lcrypto -lz -lical -lpthread COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) diff --git a/webcit/po/Makefile.in b/webcit/po/Makefile.in index b417fed3c..6e7671351 100644 --- a/webcit/po/Makefile.in +++ b/webcit/po/Makefile.in @@ -20,7 +20,7 @@ srcdir = . top_srcdir = .. -prefix = /usr/local/webcit +prefix = /appl/webcit exec_prefix = ${prefix} datadir = ${prefix}/share localedir = $(datadir)/locale -- 2.30.2