[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fwd: Re: Broken Windows build.

From: Nicolás Lichtmaier <nick_at_reloco.com.ar>
Date: 2004-04-16 20:59:02 CEST

>>HEAD has the macro. I just noticed that. All that remains is the fix
>>to help-cmd.c. If all that's needed is to change that gettext to _(),
>>I can do that.
>That should be all that is needed. Yes. In our macro define this maps to
>dgettext, but the domain name is a constant which is hardcoded in the macro.
>So all messages end up in the same domain anyway.
>In short: Yes.
>Could you please do it; I won't be home for at least another hour.

Doing that would be wrong. The _() macro is used to mark string literal
so that xgettext can detect them and put them in the .pot file. When you
can't use _() on a literal you use N_() and a direct gettext invocation.
The right thing here is to #define gettext(x) (x) is !ENABLE_NLS.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 16 21:02:49 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.