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 318608 - Please do not include markup in messages in gnome-volume-manager
Please do not include markup in messages in gnome-volume-manager
Status: RESOLVED INVALID
Product: gnome-volume-manager
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Gnome volume manager maintainers
Gnome volume manager maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-11 19:56 UTC by Christian Rose
Modified: 2005-10-14 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2005-10-11 19:56:33 UTC
#: ../src/manager.c:240
msgid "Would you like to allow <b>'${0}'</b> to run?"

Please do *not* include markup inside translateable messages.
Comment 1 Jeffrey Stedfast 2005-10-11 20:12:19 UTC
can you suggest an alternative that would give the same message?
Comment 2 Adam Weinberger 2005-10-11 21:13:29 UTC
I am not sure (and can't tell from the array in the source code) what the ${0} refers to, but can't the ${0} be 
sprintf'ed as "<b>'whatever'</b>"?

There are cases (e.g. Glade files) where formatting markup cannot be excised from the translatable 
strings. Usually, however, stuff in C source files can be done differently to obviate the risk of 
mistranslating style markups.
Comment 3 Jeffrey Stedfast 2005-10-12 15:13:44 UTC
Yes, but then I would have to include the quotes inside the replaced string as
well and then they wouldn't be translatable.