Mailinglist Archive: opensuse-translation (183 mails)
| < Previous | Next > |
Re: [opensuse-translation] update-desktop-files syntax errors
- From: Truth <gubotruth@xxxxxxxxx>
- Date: Mon, 6 Aug 2007 20:30:25 +0800
- Message-id: <462fff810708060530geb66065y7a6f4c2d7aeaf026@xxxxxxxxxxxxxx>
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@xxxxxx> 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@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
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@xxxxxx> 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@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
| < Previous | Next > |