This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.0.tr.po error
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Nilg??n Belma Bug??ner <nilgun at fide dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Dec 2001 20:36:02 -0800
- Subject: Re: gcc-3.0.tr.po error
- References: <200112190611.fBJ6BOh01441@nilgun.transsoft.home>
On Wed, Dec 19, 2001 at 02:48:18AM +0000, Nilg??n Belma Bug??ner wrote:
> Hello,
>
> I am the Turkish translator for gcc.
>
> Problem with 'msgfmt -c --statistics tr.po':
>
> #: final.c:3492
> #, c-format
> msgid "operand number missing after %-letter"
> msgstr "% i??aretinden sonraki terim numaras?? eksik"
>
> error:
> tr.po:10191: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same
This is a limitation of xgettext/msgfmt. This string is not printed
with a printf-like function, but xgettext has no way of knowing that.
"%-l" is a peculiar-but-valid printf format specifier, so it tries to
ensure your translation still contains it.
Try deleting the line that reads
#, c-format
from the .po file. If that doesn't work, we can try more forceful
methods.
zw