[Xfce-i18n] Transifex bug in xfce4-power-manager PO file?

Sergio Cipolla secipolla at gmail.com
Thu May 12 13:00:37 CEST 2011


You have to add to the header of the file (there where your name and the
language are):
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

On Thu, May 12, 2011 at 7:32 AM, Pjotr <pliniusminor at gmail.com> wrote:

> @Hunt Xu: Yes I did. After translating the last couple of strings I
> get the same error message as the Transifex error message:
>
> :~/Downloads$ msgfmt -c xfce4-power-manager.master.nl.po
> xfce4-power-manager.master.nl.po:501: message catalog has plural form
> translations...
> xfce4-power-manager.master.nl.po:3: ...but header entry lacks a
> "plural=EXPRESSION" attribute
>                                    Try using the following, valid for
> Dutch:
>                                    "Plural-Forms: nplurals=2;
> plural=(n != 1);\n"
> xfce4-power-manager.master.nl.po:3: ...but header entry lacks a
> "nplurals=INTEGER" attribute
>                                    Try using the following, valid for
> Dutch:
>                                    "Plural-Forms: nplurals=2;
> plural=(n != 1);\n"
> msgfmt: 2 fatal errors found
>
>
>
> 2011/5/12 Hunt Xu <mhuntxu at gmail.com>:
> > This is not a bug.
> > Have you checked your updated PO files with msgfmt before submitting?
> >
> _______________________________________________
> Xfce-i18n mailing list
> Xfce-i18n at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce-i18n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20110512/efbf9a05/attachment.html>


More information about the Xfce-i18n mailing list