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

Re: Is it woth to have SVN_REVNUM_T_FMT?

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2004-04-05 15:31:22 CEST

On Monday 05 April 2004 14:59, Nicolás Lichtmaier wrote:
> The current use of SVN_REVNUM_T_FMT is not compatible with gettext. Why?
> Because xgettext can't process this:
>
> _("Revision: " SVN_REVNUM_T_FMT "%")
>
> At first thought creating a function... like
> get_human_readable_revision, but... Is it worth? SVN_REVNUM_T_FMT only
> has "ld", which is a standard C thing. It will probably never be
> changed? Isn't this a case of overengineering?

As SVN_REVNUM_T_FMT is a #define the C preprocessor converts this into just
one string: "Revision: ld%" (I'm sure you've misquoted the example ;-) So
this should be fine for xgettext, or is xgettext a macro ?

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 15:27:15 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.