GNOME Bugzilla – Bug 612063
Add translation comment
Last modified: 2016-10-11 14:04:52 UTC
Please add translation comment for this string: #: ../libgnomekbd/gkbd-keyboard-config.c:752 #, c-format msgid "layout \"%s\"" msgid_plural "layouts \"%s\"" #: ../libgnomekbd/gkbd-keyboard-config.c:771 #, c-format msgid "option \"%s\"" msgid_plural "options \"%s\""
Actually, there are already comments in the source code. But for some reason they are ignored. Any ideas?
You need to place the translation comment on the line immediately preceding the string, e.g. /* Translators: The count is related to the number of options. The %s * format specifier should not be modified, left "as is". */ layouts = g_strdup_printf (ngettext ("layout \"%s\"", "layouts \"%s\"", count), buffer->str); g_string_truncate (buffer, 0); should be changed to something like this: layouts = g_strdup_printf (ngettext /* Translators: The count is related to the number of options. The %s * format specifier should not be modified, left "as is". */ ("layout \"%s\"", "layouts \"%s\"", count), buffer->str); g_string_truncate (buffer, 0);
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.