GNOME Bugzilla – Bug 135544
Remove unnecessary markup from messages in drivel
Last modified: 2009-08-19 17:51:44 UTC
#: src/dialogs.c:1637 msgid "<b>Link _text</b>" #: src/dialogs.c:1657 msgid "<b>Create a link to...</b>" #: src/dialogs.c:1786 msgid "<b>Image _Location</b>" #: src/dialogs.c:1816 msgid "<b>Image Attributes (Optional)</b>" #: src/dialogs.c:1967 msgid "<b>Notification Area</b>" #: src/dialogs.c:1992 msgid "<b>Entry Behavior</b>" #: src/dialogs.c:2040 msgid "<b>Journal Server</b>" #: src/dialogs.c:2122 msgid "<b>Default Post Options</b>" #: src/pollcreator.c:1172 msgid "<b>[Fill in at least the first possible answer.]</b>" #: src/pollcreator.c:1187 src/pollcreator.c:1198 msgid "<b>[Text parameters must be integer.]</b>" #: src/pollcreator.c:1216 msgid "" "<b>[Too many elements in scale range. Either move \"From\" and \"To\" values " "closer or increase \"By\".]</b>" #: src/pollcreator.c:1226 msgid "<b>[\"By\" has wrong sign.]</b>" #: src/pollcreator.c:1233 msgid "<b>[\"By\" cannot be zero.]</b>" #: src/pollcreator.c:1261 msgid "<b>[Fill in some question text.]</b>" 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 and http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#avoid-markup. *Please* move the markup outside of the gettext calls.
Sorry about those, they should all be fixed now.
We recently ported much of the Drivel UI to use libglade. I noticed that doing so results in this problem of unnecessary markup in translatable string. Is there any recommended way for dealing with this, or should I just leave the markup out of the glade file and reset the values of any strings w/ markup after the glade xml file has been loaded by Drivel?
Depends on 97061.
You may be interested in http://lists.gnome.org/archives/gnome-i18n/2004-May/msg00022.html -- perhaps the piece of code could be shared.
Bug 97061 is now closed but the fix in drivel depends on the migration from Glade to GTKBuilder.
OK, fix is in place via the new GtkBuilder support. The eventual removal of libegg also cuts the number of translatable strings from 305 to 230.
See http://bugzilla.gnome.org/show_bug.cgi?id=151855#c11 The bug itself is closed but other changes remain to be completed before the svn trunk is usable again.