>>xgettext scans the source files wihout preprocessing them. And it makes
>>sense because any change in the text would render the translations
>>obsolete.
>>    
>>
>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