GNOME Bugzilla – Bug 332383
Please use ngettext for handling plural forms
Last modified: 2006-02-24 13:39:28 UTC
Please describe the problem: In gdict-window.c, the following code is used to handle plural forms: if (count == -1) message = g_strdup (_("No definitions found")); else if (count == 1) message = g_strdup (_("A definition found")); else message = g_strdup_printf (_("%d definitions found"), count); This is a broken design, as described at http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals The correct way would be using ngettext. I'm attaching a trivial patch, but as it's string freeze, it will need approval from gnome-i18n@, so please notify them ASAP. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 60028 [details] [review] Proposed patch
thanks, it's fixed in gnome-utils HEAD. is this urgent enough to ask a string freeze break request or can it wait for the next release cycle?
Well, as this problem makes translator's job harder (for some languages at least, they probably think it's urgent), i'd recommend to ask for string freeze breakage.
request sent, I'll wait for an approval to backport from HEAD.
backported to gnome-2-14. I'm closing this bug.