[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug report: msgfmt -c doesn't fail for some incorrect C format plura
From: |
Bruno Haible |
Subject: |
Re: Bug report: msgfmt -c doesn't fail for some incorrect C format plural forms (second try) |
Date: |
Tue, 4 Oct 2005 14:40:57 +0200 |
User-agent: |
KMail/1.5 |
Farzaneh Sarafraz wrote:
> Please consider the attached .po file.
>
> What is actually displayed after running "msgfmt -cv" on the attached
> file is:
> 1 translated message.
>
> But I expect some error message similar to the following:
> fa.po:15: number of format specifications in 'msgid' and 'msgstr[0]'
> does not match
> msgfmt: found 1 fatal error
In the PO file you sent, the number of format specifications
on the msgid / msgid_plural side is 0, and on the msgstr[0] side it is
also 0. (A format directive is introduced by a '%' sign.) Therefore msgfmt's
behaviour is OK here.
Bruno