GNOME Bugzilla – Bug 123850
Please use ngettext in seahorse
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); These are the relevant messages. #: libseahorse/seahorse-context.c:427 #, c-format msgid "Loaded %d key pairs" #: libseahorse/seahorse-context.c:448 #, c-format msgid "Loaded %d keys" #: libseahorse/seahorse-recipients.c:77 #, c-format msgid "Selected %d not fully valid keys and %d fully valid keys" #: src/main.c:136 #, c-format msgid "Imported %d keys" Each of these is trivial, except for "Selected %d not fully..." because there are two occurrences of %d.
Fixed in CVS.