gettext plurals errors (was: Re: possible bug in gtk+/po/hy.po




On 03/12/2006, at 10:22 AM, Andre Klapper wrote:

Am Samstag, den 02.12.2006, 23:22 +0100 schrieb Christian Rose:
On 11/28/06, David Loyall <david loyall gmail com> wrote:
Thanks for your report. However, in order to make sure that the
correct translators can have a look at this, please also file a proper
bug report in our bug tracker at http://bugzilla.gnome.org/.

this issue has been reported already:
http://bugzilla.gnome.org/show_bug.cgi?id=377204

it's fixed in HEAD, but not in the gnome-2-10 branch.

gettext-0.15 and later reports an error when there are any empty plurals fields, or when the number of plurals fields (empty or complete) doesn't match the plurals header of the PO file.

I've found this very handy in eliminating spurious plurals fields in our files, but it can also result in errors being reported where they weren't before, which can be confusing.

If the plurals header is:

"Plural-Forms: nplurals=1; plural=0;\n"

(no plurals), as in my language and many others, then simply deleting any msgstr[1] fields from the PO file can eliminate this type of error.

from Clytie (vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do)
http://groups-beta.google.com/group/vi-VN


Attachment: PGP.sig
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]