GNOME Bugzilla – Bug 607348
Poperties for GtkAction and GtkTreeViewColumn not marked as translatable in catalog
Last modified: 2010-04-01 17:33:58 UTC
Some properties are not marked as translatable in gtk+.xml catalog for GtkAction and GtkTreeViewColumn, and so for that, Glade doesn't allow the user mark them as translatable, or write the translation context and comments for translators: GtkAction: label, short-label, tooltip GtkTreeViewColumn: title Related bug: https://bugzilla.gnome.org/show_bug.cgi?id=590654 Affects, at least, versions "git master" and 3.6.x
Created attachment 151698 [details] [review] Mark some properties as translatable for GtkTreeViewColumn and GtkAction in gtk+ catalog Patch from git master version
Patch generated with: git format-patch -1
I can confirm it also mark as translatable the [label, short-label, tooltip] properties for GtkToggleAction, GtkRadioAction and GtkRecentAction as their inherited from GtkAction.
Created attachment 151785 [details] [review] Mark several properties as translatable in GtkAction, GtkTreeViewColumn and GtkStatusIcon GtkStatusIcon title, tooltip-markup and tooltip-text are not marked as translatable either. Updated patch. Please test.
I can confirm for Glade-3.6.7 the bug and solution. For GtkStatusIcon "title" property i can see in Glade the "only for 2.18" warning too. Johannes, do you know the "since" attribute for the properties reported in GtkAction and GtkTreeViewColumn? How can i find them out?
(In reply to comment #5) > I can confirm for Glade-3.6.7 the bug and solution. For GtkStatusIcon "title" > property i can see in Glade the "only for 2.18" warning too. > > Johannes, do you know the "since" attribute for the properties reported in > GtkAction and GtkTreeViewColumn? How can i find them out? I'm not sure I'm using the "since" attribute correctly, but you can find in which version of gtk+ each attribute was added in the widget docs: http://library.gnome.org/devel/gtk/unstable/GtkAction.html http://library.gnome.org/devel/gtk/unstable/GtkTreeViewColumn.html If the properties in question do not have a "Since 2.xx" note, I'd ignore the since attribute. But again, I'm not quite sure how it should be used in the glade catalog :-)
I've recently updated the catalog for 2.20, these strings are translatable now.