GNOME Bugzilla – Bug 123857
Please use ngettext for handling plurals in nautilus-cd-burner
Last modified: 2004-12-22 21:47:04 UTC
(Following paragraphs copied from bug 116236 verbatim :-) 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 is the relevant message. #: make-iso.c:586 #, c-format msgid "Not enough space to store CD image (%ld Megabytes needed)" I'll attach a patch below.
Created attachment 20469 [details] [review] Use ngettext where appropriate in make-iso.c
Created attachment 20528 [details] [review] updated plurals patch with ngettext check
2003-10-07 Bastien Nocera <hadess@hadess.net> * configure.in: added geck for ngettext * make-iso.c: (make_iso): handle plural with ngettext (patch from Danilo Segan <segan@gmx.net>)
Thanks, Serbian translation is already using it :-)