У чет, 05. 03 2009. у 14:50 +0200, Ain Vagula пише:
>
> What's wrong with 'diff' command?
>
> ain
Hi Ain,
For every milestone I get PO files and SDF template from Pavel's FTP
server[1] and create new SDF file using po2oo from translation toolkit.
This is what I have for OOO310_m2:
svtools source\items1\cstitem.src 0 string STR_CSTAT_NEVER_UPD
13691 en-US No update has occurred
2002-02-02 02:02:02
svtools source\items1\cstitem.src 0 string STR_CSTAT_NEVER_UPD
13691 sr Није било освежавања
2002-02-02 02:02:02
In OOO310_m4 I have:
svtools source\items1\cstitem.src 0 string STR_CSTAT_NEVER_UPD
38235 en-US No update has occurred
2002-02-02 02:02:02
svtools source\items1\cstitem.src 0 string STR_CSTAT_NEVER_UPD
38235 sr Није било освежавања
2002-02-02 02:02:02
As you can see, the value in column 6 is changed while both source and
translation is the same. I have no idea what this column stands for but
obviously it should be ignored in SDF diff.
Also, as Rafaella said, SDF diff should include both source and
translation as valid SDF file. Using diff command will create patch with
changed lines only, not a valid SDF file.
Rafaella, thanks for comments. I do know about this wiki page but it
says nothing about SDF diff files. I am already checking files with
gsicheck before delivering.
Andras, translationfix.pl seems to be what I am looking for. Thanks.
Best regards,
Goran
[1] ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/POT/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]