GNOME Bugzilla – Bug 106695
Please use ngettext for handling plurals in file-roller
Last modified: 2004-12-22 21:47:04 UTC
#: src/window.c:846 #, c-format msgid "1 file (%s)" #: src/window.c:849 #, c-format msgid "%d files (%s)" #: src/window.c:857 #, c-format msgid "1 file selected (%s)" #: src/window.c:860 #, c-format msgid "%d files selected (%s)" 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);
Created attachment 20106 [details] [review] Proposed patch.
Created attachment 20156 [details] [review] Proposed patch, removed inner gettext calls.
Can we revisit this issue now?
Has already been fixed. Closing. regs, Chris