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 102382 - Remove unnecessary markup from glade messages in epiphany
Remove unnecessary markup from glade messages in epiphany
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: I18N
unspecified
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on: 97061 591821
Blocks:
 
 
Reported: 2003-01-02 22:06 UTC by Christian Rose
Modified: 2011-09-04 21:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove markup in labels (14.16 KB, patch)
2010-02-28 20:52 UTC, Claude Paroz
none Details | Review
Updated patch (13.37 KB, patch)
2011-01-12 12:11 UTC, Khaled Hosny
none Details | Review
data/glade: remove markup from labels (15.37 KB, patch)
2011-03-30 22:01 UTC, Diego Escalante Urrelo (not reading bugmail)
needs-work Details | Review
prefs-dialog: remove unused underline property (1.45 KB, patch)
2011-08-20 17:19 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review
data/glade: remove unneeded markup (54.76 KB, patch)
2011-08-20 17:19 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Christian Rose 2003-01-02 22:06:45 UTC
#: data/glade/epiphany.glade.h:3
msgid "<b>File:</b>"

#: data/glade/epiphany.glade.h:4
msgid "<b>Find text in the document:</b>"

#: data/glade/epiphany.glade.h:5
msgid "<b>Location:</b>"

#: data/glade/epiphany.glade.h:6
msgid "<b>Status:</b>"

#: data/glade/epiphany.glade.h:7
msgid "<b>Time Elapsed:</b>"

#: data/glade/epiphany.glade.h:8
msgid "<b>Time Remaining:</b>"

#: data/glade/epiphany.glade.h:9
msgid ""
"<span weight=\"bold\" size=\"larger\">What do you want to do with this "
"file?\n"
"</span>\n"
"It's not possible to view this file type directly in the browser:"

#: data/glade/prefs-dialog.glade.h:4
msgid "<b>Caches</b>"

#: data/glade/prefs-dialog.glade.h:5 data/glade/print.glade.h:3
msgid "<b>Colors</b>"

#: data/glade/prefs-dialog.glade.h:6
msgid "<b>Fonts</b>"

#: data/glade/prefs-dialog.glade.h:7
msgid "<b>Home page</b>"

#: data/glade/prefs-dialog.glade.h:8
msgid "<b>Language</b>"

#: data/glade/prefs-dialog.glade.h:9
msgid "<b>Links</b>"

#: data/glade/prefs-dialog.glade.h:10
msgid "<b>On New Page</b>"

#: data/glade/prefs-dialog.glade.h:11
msgid "<b>Spinner</b>"

#: data/glade/prefs-dialog.glade.h:12
msgid "<b>Tabs</b>"

#: data/glade/print.glade.h:4
msgid "<b>Footers</b>"

#: data/glade/print.glade.h:5
msgid "<b>Headers</b>"

#: data/glade/print.glade.h:6
msgid "<b>Margins (inches)</b>"

#: data/glade/print.glade.h:7
msgid "<b>Orientation</b>"

#: data/glade/print.glade.h:8
msgid "<b>Pages range</b>"

#: data/glade/print.glade.h:9
msgid "<b>Printer</b>"

#: data/glade/print.glade.h:10
msgid "<b>Size</b>"

#: data/glade/toolbar-editor.glade.h:1
msgid "<b>Cu_rrent Controls</b>"

#: data/glade/toolbar-editor.glade.h:2
msgid "<b>_Available Controls</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. Since these are glade messages, I'll
mark it dependant on the glade bug 97061 in the mean time.
Comment 1 Andrew Sobala 2003-07-17 12:51:06 UTC
This really depends on glade fixes
Comment 2 spark 2003-11-17 12:24:51 UTC
-> i18n
Comment 3 Christian Persch 2004-10-13 10:54:31 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2006-08-15 08:34:42 UTC
Those files doesn't even exist anymore.
I'm marking this as obsolete.
Comment 5 Christian Persch 2006-08-15 09:30:42 UTC
This is still relevant.
Comment 6 Diego Escalante Urrelo (not reading bugmail) 2006-08-15 09:32:07 UTC
Then we must fix it, it's pretty old :).
Where are this messages now?
Comment 7 Cyril Brulebois 2007-09-06 07:57:16 UTC
You can grep for '<b>' in po/*.po, and notice data/glade/* references:

#: ../data/glade/certificate-dialogs.glade.h:1
msgid "<b>Fingerprints</b>"

Then see the original context:

data/glade/certificate-dialogs.glade: <property name="label" translatable="yes">&lt;b&gt;Fingerprints&lt;/b&gt;</property>

Comment 8 Christian Persch 2009-02-07 15:49:56 UTC
So the glade3 bug is fixed now, but we still cannot use this since we have to keep using glade2 due to glade3 not being able to correctly read/write our files in GtkBuilder format.
Comment 9 Claude Paroz 2010-02-28 20:52:45 UTC
Created attachment 154910 [details] [review]
Remove markup in labels
Comment 10 Claude Paroz 2010-02-28 20:55:15 UTC
There is still two bolds in epiphany.ui which are bound to a GtkRadioButton Which doesn't support attributes (see bug #591821).

Note that my patch should be only applied after epiphany will have branched for 2.30 (string freeze currently).
Comment 11 Khaled Hosny 2011-01-12 12:11:35 UTC
Created attachment 178121 [details] [review]
Updated patch

Any chance of this getting fixed for gnome 3?

Attached an updated patch.
Comment 12 Diego Escalante Urrelo (not reading bugmail) 2011-03-30 22:01:45 UTC
Created attachment 184742 [details] [review]
data/glade: remove markup from labels

Use attributes instead of hardcoding the markup on the translatable string.

Bug #102382
Comment 13 Xan Lopez 2011-08-11 16:29:38 UTC
Review of attachment 184742 [details] [review]:

You are just removing the use_underline markup. If they do nothing make a different patch removing all of them, and keep this patch just for the actually working markup.
Comment 14 Diego Escalante Urrelo (not reading bugmail) 2011-08-20 17:19:24 UTC
Created attachment 194300 [details] [review]
prefs-dialog: remove unused underline property

Bug #102382
Comment 15 Diego Escalante Urrelo (not reading bugmail) 2011-08-20 17:19:30 UTC
Created attachment 194301 [details] [review]
data/glade: remove unneeded markup

Use attributes instead of hardcoding the markup on the translatable
string.

Bug #102382
Comment 16 Diego Escalante Urrelo (not reading bugmail) 2011-08-20 17:21:19 UTC
Glade introduced the usual noise. Won't bother removing it...
Comment 17 Xan Lopez 2011-08-23 16:56:44 UTC
Review of attachment 194300 [details] [review]:

r=me
Comment 18 Xan Lopez 2011-08-25 20:33:44 UTC
Review of attachment 194301 [details] [review]:

I liked this patch more when it didn't move everything around.
Comment 19 Diego Escalante Urrelo (not reading bugmail) 2011-09-04 21:43:15 UTC
Ok, done!
Too bad glade is so noisy.

Attachment 194300 [details] pushed as 90455da - prefs-dialog: remove unused underline property
Attachment 194301 [details] pushed as 46312f0 - data/glade: remove unneeded markup