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 135544 - Remove unnecessary markup from messages in drivel
Remove unnecessary markup from messages in drivel
Status: RESOLVED FIXED
Product: drivel
Classification: Deprecated
Component: general
svn trunk
Other All
: Normal normal
: 3.0
Assigned To: Todd Kulesza
Todd Kulesza
Depends on: 151855
Blocks:
 
 
Reported: 2004-02-26 22:24 UTC by Christian Rose
Modified: 2009-08-19 17:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2004-02-26 22:24:38 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.
Comment 1 Todd Kulesza 2004-02-27 04:39:19 UTC
Sorry about those, they should all be fixed now.
Comment 2 Todd Kulesza 2004-04-30 00:07:36 UTC
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?
Comment 3 Todd Kulesza 2004-05-17 15:13:58 UTC
Depends on 97061.
Comment 4 Christian Rose 2004-05-17 21:37:08 UTC
You may be interested in
http://lists.gnome.org/archives/gnome-i18n/2004-May/msg00022.html -- perhaps the
piece of code could be shared.
Comment 5 Neil Williams 2009-06-22 10:26:34 UTC
Bug 97061 is now closed but the fix in drivel depends on the migration from Glade to GTKBuilder.
Comment 6 Neil Williams 2009-08-19 17:33:59 UTC
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.
Comment 7 Neil Williams 2009-08-19 17:51:20 UTC
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.