Hi, Yes, I went into a similar issue. It seems poedit 1.37 deletes all "msgctxt" lines without a warning message. So do not use poedit editing this update-desktop-files.po . First you have to update your gettext to above 0.15 . "msgctxt" is not supported by gettext < 0.15 . And recompile kbabel with gettext-devel
= 0.15 . Poedit 1.37 does not support "msgctxt" (at least for me) even you are with >= 0.15 gettext .
Then, do one of the following: A. download the pot file for the 50-pot directory, then use kbabel to translate the pot file with a reference po (the current po, yes, the one with syntax errors). Then rename the pot file as update-desktop-files.YOUR_LANGUAGE_CODE.po . B. Or you can start from a previous version po which can be downloaded from the svn repo. Anyway, you don't want t start from scratch, do you? Luck! Regards, Thruth On 8/6/07, Alberto Passalacqua <alberto.passalacqua@tin.it> wrote:
I submitted yesterday a partial italian translation of the update-desktop-file but it seems it contains syntax errors.
I'm using a suggested tool to translate (poedit) which complains about a long list of duplicate strings, and the same does kbabel.
How can I fix these issues?
I'm using SLED 10, with gettext-0.14.5-13.2, kdesdk3-3.5.1-17.2 and poedit-1.3.7-1.
Discussing in IRC, I discovered that this particular file uses a more recent format than the others, and that some tools are not compatible. This should clearly be state on the wiki, removing the not compatible tools or at least specifying what versions are supporting the format.
Thanks in advance, Alberto
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org