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

Re: xgettext bug (Was: Re: Current translation status and some message errors/suggestions)

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Tue, 27 May 2008 10:30:18 +0200

On Tue, May 27, 2008 at 12:20:51AM +0200, Jens Seidel wrote:
> On Mon, May 26, 2008 at 05:35:01PM +0200, Arfrever Frehtes Taifersar Arahesis wrote:
> > 2008-05-26 16:17 Jens Seidel <jensseidel_at_users.sf.net> napisaƂ(a):
> > > On Mon, May 26, 2008 at 09:49:43AM +0200, Jens Seidel wrote:
> > >> There are also still some general i18n problems:
> > >>
> > >> As you can see at least one message is not properly translated
> > >
> > > That's a problem in xgettext resolving macros. At least two messages are
> > > affected, maybe more:
> > > $ svn help switch
> > > $ svn help mergeinfo
> > >
> > > The attached patch contains a workaround which I also want to backport
> > > to 1.5.x. Comments?
> >
> > It's incorrect solution. apr_psprintf() should be used.
>
> Mhm, it worked for me well. I don't know how apr_psprintf() should be
> used. Please create a proper patch.

Ah, maybe you worried about specifying code such as

N_("blabla");

in the file (without any assignment, ...) which expands to "blabla". I now
introduced a new GETTEXT_NOOP macro which expands to nothing but is
sufficient to mark the message. Please check the attached patch. If you
don't like it please be a little bit more verbose ...

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-05-27 10:32:32 CEST

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.