summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-09 06:10:52 +0000
committerTim Potter <tpot@samba.org>2003-10-09 06:10:52 +0000
commit38d1e69caa0d86944d15989fe6bdf73043feb51d (patch)
treeef4ecdfebcfe3a18acbf9bd77fda324398e63f99 /source3/include
parent629375a206a0f3a2e418e97f6cdd071d7994f35a (diff)
downloadsamba-38d1e69caa0d86944d15989fe6bdf73043feb51d.tar.gz
samba-38d1e69caa0d86944d15989fe6bdf73043feb51d.tar.bz2
samba-38d1e69caa0d86944d15989fe6bdf73043feb51d.zip
Merge from 3.0:
>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")); (This used to be commit 17efb306aa32d1e5b2546cfb2f3404ad3cf0fb68)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/intl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/intl.h b/source3/include/intl.h
index 5b56d9aa2c..01fa3bad97 100644
--- a/source3/include/intl.h
+++ b/source3/include/intl.h
@@ -22,3 +22,4 @@
/* ideally we would have a static mapping, but that precludes
dynamic loading. This is a reasonable compromise */
#define _(x) lang_msg_rotate(x)
+#define N_(x) (x)