Hello list,
In zypper.nb.po, the commit command returns syntax errors in two strings, as does indeed kbabel, complaining that msgid and msgtr do not both end with \n.
However, as far as I can see, they both end with \n. I have even copied source to target as an experiment, without solving the problem.
I have a feeling that I'm missing something obvious here, just wantet to check if there are problems with this file in other languages.
Cheers
Olav
Op zaterdag 18 oktober 2008, schreef Olav P.:
Hello list,
In zypper.nb.po, the commit command returns syntax errors in two strings, as does indeed kbabel, complaining that msgid and msgtr do not both end with
\n.
However, as far as I can see, they both end with \n. I have even copied
source
to target as an experiment, without solving the problem.
I have a feeling that I'm missing something obvious here, just wantet to
check
if there are problems with this file in other languages.
Cheers
Olav
You may get a better idea when you use the line command 'msgfmt -c <po-file>'. It gives the line number of the error and with vi and that <line number>G you can go to that line.
I don't have any problem with zypper.nl.po.
Lørdag 18. oktober 2008 11:57:06 skrev Freek de Kruijf:
Op zaterdag 18 oktober 2008, schreef Olav P.:
Hello list,
In zypper.nb.po, the commit command returns syntax errors in two strings, as does indeed kbabel, complaining that msgid and msgtr do not both end with
\n.
However, as far as I can see, they both end with \n. I have even copied
source
to target as an experiment, without solving the problem.
I have a feeling that I'm missing something obvious here, just wantet to
check
if there are problems with this file in other languages.
Cheers
Olav
You may get a better idea when you use the line command 'msgfmt -c <po-file>'. It gives the line number of the error and with vi and that <line number>G you can go to that line.
I don't have any problem with zypper.nl.po.
-- fr.gr.
Freek de Kruijf
Thanks, problem solved. I thought the syntax check in kbabel was simply a frontend for msgfmt -c, but this time kbabel indicated syntax errors in entirely wrong places,
Olav
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday, 2008-10-18 at 11:40 +0200, Olav P. wrote:
Hello list,
In zypper.nb.po, the commit command returns syntax errors in two strings, as does indeed kbabel, complaining that msgid and msgtr do not both end with \n.
However, as far as I can see, they both end with \n. I have even copied source to target as an experiment, without solving the problem.
I have a feeling that I'm missing something obvious here, just wantet to check if there are problems with this file in other languages.
That file has plural forms, watch it. Other possibility is an space after the cr.
To tell you what the error is, I'd have to see the file.
- -- Cheers, Carlos E. R.
Lørdag 18 oktober 2008 11:40:50 skrev Olav P.:
In zypper.nb.po, the commit command returns syntax errors in two strings, as does indeed kbabel, complaining that msgid and msgtr do not both end with \n.
However, as far as I can see, they both end with \n. I have even copied source to target as an experiment, without solving the problem.
I have a feeling that I'm missing something obvious here, just wantet to check if there are problems with this file in other languages.
Difficult to help without access to the file - or at least the strings causing problems.
translation@lists.opensuse.org