[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: Nicolás Lichtmaier <nick_at_reloco.com.ar>
Date: 2004-04-05 15:43:09 CEST

>>xgettext scans the source files wihout preprocessing them. And it makes
>>sense because any change in the text would render the translations
>Oh, I see...
>How about writing a small wrapper script that does this special preprocessing
>and passing that output to xgettext ? This would of course be a bad hack,
>especially since it wouldn't catch other #defines.
>Or even write a wrapper script that calls the cpp preprocessor on a source
>file and feed the preprocessed source to xgettext ? I'm not sure whether this
>could result in unwanted extra strings or something like that...

It could be done, but IMO format strings should be *constant* when using
gettext. So I see just to solutions, to use a function format_revision()
ot just to replace this macro with the proper "%ld" and move over =).

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:43:40 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.