[etoys-notify] [JIRA] Created: (SQ-680) Not using gettext plurals feature in etoys PO file

Clytie Siddall (JIRA) tracker at squeakland.org
Tue Mar 16 03:17:32 EDT 2010

Not using gettext plurals feature in etoys PO file

                 Key: SQ-680
                 URL: http://tracker.squeakland.org/browse/SQ-680
             Project: squeakland
          Issue Type: Bug
          Components: etoys
            Reporter: Clytie Siddall
             Fix For: etoys 5 and showcase

The etoys PO file on Pootle does not use the gettext plurals feature. For example:

#: Morphic-Games,FreeCellStatistics>>print:type:on:
msgid " loss"
msgstr ""

#: Morphic-Games,FreeCellStatistics>>print:type:on:
msgid " losses"
msgstr ""

#: Morphic-Games,FreeCellStatistics>>print:type:on:
msgid " win"
msgstr ""

#: Morphic-Games,FreeCellStatistics>>print:type:on:
msgid " wins"
msgstr ""

These strings should be presented like this:

msgid "loss"
msgid_plural "losses"

msgid "win"
msgid_plural "wins"

then the editor displays the number of msgstr fields required according to the PO file plurals header. Vietnamese, like most Asian languages, does not have plurals in this sense (0 plural cases). So I should only see one translation field for those two English strings. Some Eastern European languages have up to 7 plural cases.

See the Gettext manual section on plurals handling:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the etoys-notify mailing list