GNOME Bugzilla – Bug 116235
Please use ngettext for handling plurals in gnopernicus
Last modified: 2004-12-22 21:47:04 UTC
On srcore/srctrl.c:2472 and srcore/srctrl.c:2576: tmp4 = src_xml_make_part ("TEXT", src_speech_get_voice ("system"), GPOINTER_TO_INT (crt2->data) == 1 ? _("item") : _("items")); As mentioned in http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals, this way of handling plurals is broken for many locales. A way to solve this is by using ngettext instead as mentioned in that document. A simple code example of code using ngettext: g_printf (ngettext ("Found %d file.", "Found %d files.", nbr_of_files), nbr_of_files);
This perhaps also affects all singular/plural messages with character names in srcore/srspc.c. Would need redesign to get the use of singular/plural forms right with ngettext.
I made all changes in srctrl.c file. I looked for other situations like this, but with no results.
Apologies for spam; adding a11y keyword so these bugs are picked up by our historical bug tracking script. Find/delete these emails by searching for "calum fixing a11y script".