[svn] Don't parenthesize argument to N_.

This commit is contained in:
hniksic 2003-11-02 16:28:53 -08:00
parent 2063522623
commit b997a9d34f
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
* wget.h (N_): Don't parenthesize argument.
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
* host.h (ADDRESS_IPV4_DATA): Don't take the address of in.s_addr,

View File

@ -59,8 +59,16 @@ so, delete this exception statement from your version. */
# define _(string) (string)
#endif /* not HAVE_NLS */
/* No-op version of gettext, used for constant strings. */
#define N_(string) (string)
/* A pseudo function call that serves as a marker for the automated
extraction of messages, but does not call gettext(). The run-time
translation is done at a different place in the code. The purpose
of the N_("...") call is to make the message snarfer aware that the
"..." string needs to be translated. STRING should be a string
literal. Concatenated strings and other string expressions won't
work. The macro's expansion is not parenthesized, so that it is
suitable as initializer for static 'char[]' or 'const char[]'
variables. -- explanation partly taken from GNU make. */
#define N_(string) string
/* I18N NOTE: You will notice that none of the DEBUGP messages are
marked as translatable. This is intentional, for a few reasons: