CVS update: samba/source/include
tpot at samba.org
tpot at samba.org
Fri Oct 3 11:42:53 EST 2003
Date: Fri Oct 3 01:42:53 2003
Author: tpot
Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv11302/include
Modified Files:
Tag: SAMBA_3_0
intl.h
Log Message:
Moving towards better i18n support in SWAT. This commit contains a
bunch of updates to bug 413 from Monyo:
1) pick up proper strings to call msg strings for example to add
strings in wizard menu in web/swat.c, web/statuspage.c and
param/loadparm.c.
2) define N_() macro in include/intl.h to pick up some strings
in param/loadparm.c
3) quote all name and value tag with '"'
For example in swat.c:720 the "Edit Parameter Values" string is
displayd only as "Edit" because value tag is not quoted like:
value=Edit Parameter Values
These tags should be quoted though it sometimes works well
without quotation.
4) modify the msg strings not to contain HTML tags or other
non-message strings. For example
dprintf(_("test\n")); is modified to dprintf("%s\n", _("test"));
Revisions:
intl.h 1.2 => 1.2.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/include/intl.h.diff?r1=1.2&r2=1.2.2.1
More information about the samba-cvs
mailing list