Please use ngettext for handling plurals in gnome-terminal
Submitted by Christian Rose
Link to original bug (#106699)
Description
#: src/terminal-profile.c:3080 #, c-format msgid "Palette had %d entries instead of %d\n"
#: src/terminal.c:2477 msgid "Delete these two profiles?\n"
#: src/terminal.c:2479 #, c-format msgid "Delete these %d profiles?\n"
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);
Resolution: RESOLVED FIXED