Using revnumber in book.xml

Marcelo Andrade mfandrade at gmail.com
Wed Apr 1 19:08:37 CDT 2009


On Wed, Apr 1, 2009 at 5:27 AM, Dongsheng Song <dongsheng.song at gmail.com> wrote:
> Currently, we use entities from dynamic version.xml:
>
> <subtitle>(Compiled from &svn.l10n_revision;&ovn.version;)</subtitle>
>
> This works fine in XML based translation, but in PO based translation,
> this string become fuzzy when every commit !
>
> On the other hand, we should use the  last changed version, not the latest
> version, so I suggest use a replaceable macro, for example:
>
>    <subtitle>(Compiled from $svn.rev.id$)</subtitle>
>
> The Makefile replace $svn.rev.id$ with proper value at runtime.
>
> Any comments ?

I'm not an expert in Subversion or xsl-fo, so I'm not sure
about the effects on doing this way.  But if it will help in a
po-based translation, I think that's a nice idea.

Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

http://mfandrade.wordpress.com




More information about the svn-pt_br mailing list