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 162806 - Remove unnecessary markup from glade messages in gwget
Remove unnecessary markup from glade messages in gwget
Status: RESOLVED WONTFIX
Product: gwget
Classification: Deprecated
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: David Sedeño Fernández
David Sedeño Fernández
gnome[unmaintained]
Depends on: 97061
Blocks:
 
 
Reported: 2005-01-03 12:29 UTC by Christian Rose
Modified: 2014-02-24 22:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A new glade file to replace the one in "data" folder. (52.33 KB, application/octet-stream)
2009-04-09 17:00 UTC, Pietro Battiston
  Details
Remove markup in GTKBuilder files (9.66 KB, patch)
2010-03-16 07:38 UTC, Claude Paroz
none Details | Review

Description Christian Rose 2005-01-03 12:29:50 UTC
#: data/gwget.glade.h:2
msgid "<span weight=\"bold\">Download:</span>"

#: data/gwget.glade.h:3
msgid "<span weight=\"bold\">Properties</span>"

#: data/newdownload.glade.h:1
msgid "<span weight=\"bold\">New Download</span>"

#: data/preferences.glade.h:4
msgid "<b>General</b>"

#: data/preferences.glade.h:5
msgid "<span weight=\"bold\">Behavior</span>"

#: data/preferences.glade.h:6
msgid "<span weight=\"bold\">Column List</span>"

#: data/preferences.glade.h:7
msgid "<span weight=\"bold\">Links</span>"

#: data/preferences.glade.h:8
msgid "<span weight=\"bold\">Proxy Configuration</span>"

This use of markup inside messages marked for translation is totally
unnecessary, and a problem for the translation process. For details, see the
problem description in bug 96836. Since these are glade messages, I'll mark it
dependant on the glade bug 97061 in the mean time.
Comment 1 Alan Horkan 2006-02-06 18:32:18 UTC
Is there any good examples or guides on how to go about fixing this?  

With I bit of advice I could try to provide a patch for or it could be marked as an item in need of gnome-love and someone new to Gnome could be encourage to try providing a patch?   

 
Comment 2 Pietro Battiston 2009-04-09 17:00:21 UTC
Created attachment 132417 [details]
A new glade file to replace the one in "data" folder.

At the time the bug was filed, there was no real way to solve the problem, since the page:

http://live.gnome.org/TranslationProject/DevGuidelines/Avoid%20markup%20wherever%20possible

doesn't really take care of the glade case.

As of today, this bug can be solved by migrating from libglade to gtkBuilder. It shouldn't be hard (I would do it if it wouldn't take me hours to remember how to code in C).

Notice however that the gwget.glade file in "data" folder makes newer versions of glade-3 crash (because a widget has id=""); you can however use the one I'm attaching (it may be good to replace the old with this one even if nobody has the time to do the gtkBuilder migration).

No problem instead in opening preferences.glade, and newdownload.glade has in the meanwhile been incorporated by gwget.glade.
Comment 3 David Sedeño Fernández 2009-04-12 14:22:59 UTC
In the diff of the current file and your file I see: 

+ <property name="label">Pause</property>
- <property name="label" translatable="yes">Pause</property>

Is this correct? (remove the translatable option)  

Comment 4 Claude Paroz 2010-03-16 07:38:54 UTC
Created attachment 156249 [details] [review]
Remove markup in GTKBuilder files

Here is a patch to remove markup from translatable strings in GTKBuilder files. By the way, why are the glade files still there? Aren't they completely replaced by the .ui files?
Comment 5 Chris Leonard 2012-09-26 04:22:34 UTC
Per the Gnome Goal, please remove markup in translatable messages
https://live.gnome.org/GnomeGoals/RemoveMarkupInMessages


#: ../data/gwget.ui.h:2
msgid "<b>Download</b>"


#: ../data/gwget.ui.h:3
msgid "<b>Insert MD5 sum to compare with</b>"


#: ../data/gwget.ui.h:4
msgid "<b>Properties</b>"


#: ../data/gwget.ui.h:5
msgid "<span weight=\"bold\">New Download</span>"


#: ../data/preferences.ui.h:3
msgid "<span weight=\"bold\">Behavior</span>"


#: ../data/preferences.ui.h:4
msgid "<span weight=\"bold\">Column List</span>"


#: ../data/preferences.ui.h:5
msgid "<span weight=\"bold\">General</span>"


#: ../data/preferences.ui.h:6
msgid "<span weight=\"bold\">Links</span>"


#: ../data/preferences.ui.h:7
msgid "<span weight=\"bold\">Proxy Configuration</span>"
Comment 6 André Klapper 2014-02-24 22:47:17 UTC
This project is not under active development anymore. It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 725098) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.