GNOME Bugzilla – Bug 135077
Please use ngettext for handling plurals in gnome-netstatus
Last modified: 2004-12-22 21:47:04 UTC
As mentioned in http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals, the common 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 message is problematic in gnome-netstatus: #: src/netstatus-dialog.c:125 #, c-format msgid "%lu packets" GNOME 2.6 is string frozen right now though, so you need approval both from the release team and translators at gnome-i18n@ to fix this right now.
Seeing how gnome-netstatus has been branched for gnome-2-6 now, could this please be fixed in HEAD, as HEAD is no longer affected by any freeze?
Thanks Christian. Done now - note I committed it to gnome-2-6 by accident... I'll revert that ...
Thanks Mark!