[Mageia-i18n] msgfmt on commit

Yuri Chornoivan yurchor at ukr.net
Fri May 6 17:19:43 CEST 2011


написане Fri, 06 May 2011 17:46:47 +0300, Michael Scherer <misc at zarb.org>:

> Hi,
>
> I have disabled again the check on commit for .po as not all file are
> currently ok on this regard.
>
> Could someone more versed than me in the po-logy explain what should be
> done for the errors we can see for example on rpmdrake po ?
>
> $ LC_ALL=C msgfmt -c pl.po
> pl.po:2552: number of format specifications in 'msgid' and 'msgstr' does
> not match
> msgfmt: found 1 fatal error
>
> $ LC_ALL=C msgfmt -c ms.po
> ms.po:2203: message catalog has plural form translations...
> ms.po:8: ...but header entry lacks a "plural=EXPRESSION" attribute
> ms.po:2203: message catalog has plural form translations...
> ms.po:8: ...but header entry lacks a "nplurals=INTEGER" attribute
> msgfmt: found 2 fatal errors
>
> I guess we need to make sure that plural/nplural header are there ?
>

Hi,

Patch to fix this attached (plural equation for Malay is taken from KDE).

Hope this helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1215 bytes
Desc: not available
URL: </pipermail/mageia-i18n/attachments/20110506/9c354e90/attachment.obj>


More information about the Mageia-i18n mailing list