Red Hat Bugzilla – Bug 63192
Broken plural hack
Last modified: 2008-05-01 11:38:01 EDT
#. it is possible that the applet was destroyed during the time it
#. took to update the model. If the applet is gone, bail now.
msgid "%d update%s available (%d ignored)"
This "tack on an s if it's plural" hack is broken all over the place with
regards to l10n. Please replace this with two separate messages (one non-plural
and one plural) instead of assuming that all languages use an s for the plural
of the word "update" (*).
(*) In fact, plural is even more complex than this, many languages use more than
two forms of plural, and the rules for what is plural vary. This is why
ngettext() should be used instead of gettext() in these cases, but I don't know
if pygettext supports it.
good point. I don't think ngettext is available, but I have changed it to two
entire strings instead of one
Fix confirmed in 1.0.6-10.