Am Mittwoch, den 22.06.2005, 19:43 +0200 schrieb Nicolas Vervelle:
> Daniel Leidert wrote:
> 
> >Yesterday I had the time to test out build-i18n.xml under Windows XP
> >(Pro). It would be nice if people with not-XP Windows systems (2k, 98,
> >2003) could test the updated build file. Here a short Howto:
> >
> >...
> >
> >Please test it on Windows systems other than XP Pro, because I don't
> >know, if 'forwardslash="true"' works on all windows systems, so I maybe
> >have to add the os attribute to the create-...-pot targets, so only the
> >other targets can be run on all systems. Please also test it for Mac if
> >possible.
> >
> I have tested it under w2k from Eclipse : it works.
> The build :
> - in Jmol: creates Messages_xx.class, Messages_xx$1.class and updates 
> the *.po and Jmol.pot files
> - in JmolApplet: creates Messages_xx.class and updates the *.po and 
> JmolApplet.pot files
> 
> My comments :
> - After the build, 3 files are modified when compared to their CVS 
> version (Jmol/Jmol.pot, Jmol/nl.po, JmolApplet/JmolApplet.pot)
> Is it normal ?

Yes for .pot. They are newly created and so they have the current date
in POT-Creation-Date. For Jmol/nl.po: the file contained lines with more
than 80 chars and they were wrapped during merge.

>  Is there a way to prevent this ?

No for both. If a pot is created, it always contains the POT-Creation
date. We could remove the create-...-pot and update-pot target from main
target, so it is not run by default, but IMO it is not a big problem, if
the .pot files are updated. For the second: it's ok to have lines with
<= 80 chars (console restriction).

> - Is there a target in build.xml to run the build-i18n.xml targets ?

Not at the moment.

> If not, I think we should add it (it's easier to be able to run 
> eveything from a single build file :)

ACK. Maybe you can add a condition to build.xml, which tests for
existence of Messages*.class in the related directory. I'm not so
familiar with ant. Do you have an idea, how to realize this?

> - Does it work for the documentation part, or is it a future feature ?

This is strange. xml2po is a Python script. Python is available for
Windows. But you will maybe need to adjust paths by hand, before you
will be able to run xml2po under Windows (needs some includes:
docbook.py, empty.py, gs.py. I would like to see an installation package
of xml2po for Windows, but I don't have much knowledge about windows
installers. As alternative: install a minimal Cygwin (no X-Server
necessary, console is enough) and compile gnome-doc-utils there. Then
you can also merge the translation back into a XML file.

Regards, Daniel



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to