GNOME Bugzilla – Bug 629217
Missing msgctxt for translatable "_Delete" string
Last modified: 2011-01-19 22:28:04 UTC
In the seahorse translation there are two identical strings (_Delete): onw of this has a msgctxt, the other one has only a translators comment. Looks like this is causing some troubles with the translations (at least in Ubuntu), and the translation that appears for the string without the context is the translation for the string with the context. Will it be possible to add a context also to the other string? I have no idea if this will break string-freeze, but if it is possible to automatically updated all the PO files that are at 100% that would be awesome. Thanks.
These are the two locations of the "_Delete" string in seahorse. Do you know how to add context to a gtkbuilder XML file? If so, could you add a patch? gkr/seahorse-gkr-item-properties.xml: <property name="label" translatable="yes" comments="To translators: This is the infinitive not the imperative. This string refers to the ability of an application to delete this secret from its key ring.">_Delete</property> src/seahorse-viewer.c: { "edit-delete", GTK_STOCK_DELETE, NC_("This text refers to deleting an item from its type's backing store.", "_Delete"), NULL,
It should be as easy as: context="" The problem is that yesterday we tried, but after running intltool-update, the context string didn't show up. I don't know if it's a problem with intltool (maybe an old version?) or what else. You can see here: http://library.gnome.org/devel/gtk/unstable/GtkBuilder.html Under "GtkBuilder UI Definitions".
(In reply to comment #1) > Do you know how to add context to a gtkbuilder XML file? http://live.gnome.org/TranslationProject/DevGuidelines/Use%20comments
commit 35f8f8be68074f24d2e903c477d828a1b118a9ac Author: Stef Walter <stef@memberwebs.com> Date: Wed Jan 19 14:34:15 2011 -0600 Added context to translatable strings. https://bugzilla.gnome.org/show_bug.cgi?id=629217