[Open Office] .desktop.in files untranslatable

Dwayne Bailey dwayne at translate.org.za
Fri Jan 20 04:20:26 EST 2006


On Fri, 2006-01-20 at 00:40 +0100, Martin Kretzschmar wrote:
> Hi Dwayne,
> 
> On 1/20/06, Dwayne Bailey <dwayne at translate.org.za> wrote:
> > In the following patch I have removed the translations from
> > the .desktop.in files, marked the correct items as translatable.
> 
> Well, throwing away all existing translations doesn't sound like a smart idea.

But then throwing them in without a translator looking at them is also a
bad idea.  I assume these translations were pulled from the OOo tree and
thus the translations have come through the OOo process and are good?

> How about: rename all .desktop.in files to .desktop in your local tree. Then run
> intltool-prepare in the ooo-build toplevel directory. That should move all
> existing translations to po files (and generate .desktop.in files). Then delete
> the .desktop files.
> 
> Now generate .desktop files in the same way as during a normal build and
> check that the result is at least as good as the old files.

I did that, attached is a diff (desktop-file-migration-results.diff)
which shows that all the translations are preserved (German [de] shifts
to alphabetical order and I deleted English [en] which was redundant).

The spinoff however is that I have a number of new PO files that need to
be added to CVS :).  All other PO files have been updated.

I have also attached a .bz2 of the actual diff.

-- 
Dwayne Bailey
Translate.org.za

+27-12-460-1095 (w)
+27-83-443-7114 (cell)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktop-file-migration-results.diff
Type: text/x-patch
Size: 10832 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060120/6ccc8a5b/desktop-file-migration-results-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktop-file-localisation2.diff.bz2
Type: application/x-bzip
Size: 23492 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060120/6ccc8a5b/desktop-file-localisation2.diff-0001.bin


More information about the Openoffice mailing list