After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 510979 - gtk-builder-convert drops "translatable" attribute from menu
gtk-builder-convert drops "translatable" attribute from menu
Status: RESOLVED DUPLICATE of bug 509153
Product: gtk+
Classification: Platform
Component: Class: GtkBuilder
2.12.x
Other All
: Normal normal
: ---
Assigned To: GtkBuilder maintainers
GtkBuilder maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-21 08:51 UTC by Wolfgang Oertl
Modified: 2008-01-21 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
preserve the translatable attribute of menu items (785 bytes, patch)
2008-01-21 08:54 UTC, Wolfgang Oertl
none Details | Review

Description Wolfgang Oertl 2008-01-21 08:51:39 UTC
Please describe the problem:
When converting a Glade XML file to a GtkBuilder XML file using gtk-builder-convert, the translatable="yes" attributes of menu items go missing. This is actually good for stock items, because it doesn't make sense to translate the stock ID, but for regular items like _File etc., this is not OK

Steps to reproduce:
1. use Glade-3 and create a window with the default menu, which already contains a few menu items.  Save as test1.glade
2. gtk-builder-convert test1.glade test1.ui
3. see how the translatable attribute is missing from _File and the others.

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Wolfgang Oertl 2008-01-21 08:54:18 UTC
Created attachment 103307 [details] [review]
preserve the translatable attribute of menu items

There may be a more efficient way to do this, but this is the best I could come up with.
Comment 2 Johan (not receiving bugmail) Dahlin 2008-01-21 16:11:30 UTC

*** This bug has been marked as a duplicate of 509153 ***