GNOME Bugzilla – Bug 748137
Use ngettext
Last modified: 2015-10-13 22:00:25 UTC
"About a year ago" and "About %u years ago" should be grouped with ngettext. See https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals
*** Bug 753665 has been marked as a duplicate of this bug. ***
*** Bug 754434 has been marked as a duplicate of this bug. ***
These too (from bug #754434): #: ../src/search/gb-search-display-group.c:182 #, c-format msgid "%s more" #: ../tools/ide-search.c:68 #, c-format msgid "%s results\n"
This is non trivial as those strings use a temporary string formatted with G_GUINT64_FORMAT and such.
Why it is non trivial? This would not work?: count_str = g_strdup_printf ("%"G_GUINT64_FORMAT, count); markup = g_strdup_printf (ngettext("%s more", "%s more", count), count_str); gCount_str = g_strdup_printf ("%"G_GSIZE_FORMAT, gCount); g_print (ngettext("%s results\n", "%s results\n", gCount), gCount_str);
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version. If you come across more of these, please create individual bugs for them. It's really hard to keep track of them otherwise. A single bug with a list of them is also good.