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 272789 - Avoid adding unnecessary surrounding markup inside translateable messages in Evolution
Avoid adding unnecessary surrounding markup inside translateable messages in ...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.4.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
: 273093 (view as bug list)
Depends on:
Blocks: 236276 327508 327510
 
 
Reported: 2005-02-21 10:42 UTC by Christian Rose
Modified: 2013-09-13 00:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix, plugins/itip-formatter part (2.12 KB, patch)
2006-02-12 22:44 UTC, Karsten Bräckelmann
committed Details | Review
proposed fix, plugins/bbdb part (2.04 KB, patch)
2006-02-12 22:45 UTC, Karsten Bräckelmann
committed Details | Review
proposed fix, e-utils part (1.62 KB, patch)
2006-02-12 22:45 UTC, Karsten Bräckelmann
committed Details | Review

Description Christian Rose 2005-02-21 10:42:02 UTC
#: plugins/itip-formatter/itip-formatter.c:1667
msgid "<span weight=\"bold\">General</span>"

#: plugins/bbdb/bbdb.c:397
msgid "<span weight=\"bold\">Automatic Contacts</span>"

#: plugins/bbdb/bbdb.c:428
msgid "<span weight=\"bold\">Instant Messaging Contacts</span>"

#: plugins/itip-formatter/itip-formatter.c:1691
msgid "<span weight=\"bold\">Conflict Search</span>"

#: widgets/misc/e-error.c:438
#, c-format
msgid ""
"<span weight=\"bold\">Internal error, unknown error '%s' requested</span>"


Please do *NOT* add surrounding markup inside translateable messages, i.e.
inside gettext calls. Surrounding markup has no relevance at all to
translation, and the unnecessary padding introduces a plethora of problems
for the translation process. Please see
http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#avoid-markup.

The solution is simple: Move the markup outside of the gettext call. This
can be done like this:

  str = g_strdup_printf ("<b>%s</b>",
                          _("My translated string"));

Please note though that GNOME is currently in string freeze.
Comment 1 Not Zed 2005-02-21 14:43:53 UTC
no need to spam everyone.

if gnome is in string freeze we can't do much about it either can we?
Comment 2 Christian Rose 2005-02-26 21:19:49 UTC
Nope, but last time I checked string freeze did not imply bug
reporting freeze.
Comment 3 André Klapper 2005-08-13 16:07:18 UTC
reassigning to harish.
Comment 4 André Klapper 2005-08-26 09:23:49 UTC
there are billions of markups now in the po files. targetting to 2.5, adding
string keyword. :-(
Comment 5 André Klapper 2006-02-11 22:34:42 UTC
*** Bug 273093 has been marked as a duplicate of this bug. ***
Comment 6 Karsten Bräckelmann 2006-02-12 22:44:40 UTC
Created attachment 59207 [details] [review]
proposed fix, plugins/itip-formatter part
Comment 7 Karsten Bräckelmann 2006-02-12 22:45:14 UTC
Created attachment 59208 [details] [review]
proposed fix, plugins/bbdb part
Comment 8 Karsten Bräckelmann 2006-02-12 22:45:35 UTC
Created attachment 59209 [details] [review]
proposed fix, e-utils part
Comment 9 André Klapper 2006-02-12 22:53:51 UTC
looks good
Comment 10 Karsten Bräckelmann 2006-02-12 23:15:48 UTC
Committed.