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 782753 - Glade does not allow ApplicationWindow's title to be marked as translatable
Glade does not allow ApplicationWindow's title to be marked as translatable
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.20.x
Other All
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-17 18:38 UTC by Tobias Mueller
Modified: 2018-03-24 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case showing title translation (1.23 KB, application/x-designer)
2018-03-23 01:50 UTC, Robert Ancell
Details

Description Tobias Mueller 2017-05-17 18:38:23 UTC
I have an ApplicationWindow and I want to mark it's title (and subtitle) as translatable.   Currently, Glade does not allow for that.  Worse, when manually editing the XML and then editing with Glade, it will remove the translatable property from the attribute.
Comment 1 Juan Pablo Ugarte 2018-03-22 22:03:06 UTC
I can not reproduce with glade 3.22 or 3.20
Which version are you using?

I cant remember fixing anything related lately
Comment 2 Robert Ancell 2018-03-23 01:50:11 UTC
Created attachment 370032 [details]
Test case showing title translation

To reproduce:
Run:
$ glade test.ui

Note that clicking on the title allows you to change it, but there is no checkbox to make it translatable or add translator comments.

Click "Save".

Compare the updated file to the original:

$ diff test.ui test2.ui
31c31
<         <property name="title" translatable="yes">Title</property>
---
>         <property name="title">Title</property>
Comment 3 Robert Ancell 2018-03-23 01:51:01 UTC
This was with Glade 3.22.0-1 in Ubuntu 18.04.
Comment 4 Juan Pablo Ugarte 2018-03-24 17:43:47 UTC
Aha! is was in GtkHeaderBar not GtkApplicationWindow

Fixed in master and 3.22