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 100252 - Remove unnecessary markup from glade messages in nautilus
Remove unnecessary markup from glade messages in nautilus
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
3.2.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 97061
Blocks:
 
 
Reported: 2002-12-03 17:51 UTC by Christian Rose
Modified: 2012-05-30 16:51 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Remove markup in translatable labels from GTKBuilder ui files (26.65 KB, patch)
2009-06-02 12:49 UTC, Claude Paroz
committed Details | Review

Description Christian Rose 2002-12-03 17:51:22 UTC
#: components/music/nautilus-music-view.c:1868
#, c-format
msgid "<span size=\"xx-large\">%s - %s</span>"

#: src/nautilus-file-management-properties.glade.h:23
msgid "<span weight=\"bold\">Behaviour</span>"

#: src/nautilus-file-management-properties.glade.h:24
msgid "<span weight=\"bold\">Default View</span>"

#: src/nautilus-file-management-properties.glade.h:25
msgid "<span weight=\"bold\">Executable Text Files</span>"

#: src/nautilus-file-management-properties.glade.h:26
msgid "<span weight=\"bold\">Folders</span>"

#: src/nautilus-file-management-properties.glade.h:27
msgid "<span weight=\"bold\">Icon Captions</span>"

#: src/nautilus-file-management-properties.glade.h:28
msgid "<span weight=\"bold\">Icon View Defaults</span>"

#: src/nautilus-file-management-properties.glade.h:29
msgid "<span weight=\"bold\">Image Files</span>"

#: src/nautilus-file-management-properties.glade.h:30
msgid "<span weight=\"bold\">List View Defaults</span>"

#: src/nautilus-file-management-properties.glade.h:31
msgid "<span weight=\"bold\">Sound Files</span>"

#: src/nautilus-file-management-properties.glade.h:32
msgid "<span weight=\"bold\">Text Files</span>"

#: src/nautilus-file-management-properties.glade.h:33
msgid "<span weight=\"bold\">Trash</span>"

#: src/nautilus-file-management-properties.glade.h:34
msgid "<span weight=\"bold\">Tree View Defaults</span>"


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 2002-12-21 11:48:14 UTC
Why is this a 2.2.0 blocker? Sure it would be nice, but it shouldn't
hold up the release IMHO.

Additionally, markup in .glade files can't be fixed without a glade
update.
Comment 2 Christian Rose 2002-12-21 14:46:32 UTC
I don't know why it has been marked a blocker. It sure is a real
problem that has to be resolved at some point, but it's not a 2.2.0
blocker.
Comment 3 Andrew Sobala 2002-12-21 19:44:27 UTC
Removing then
Comment 4 Christian Neumair 2006-02-25 22:04:22 UTC
Setting version to unspecified because it's pending a glade issue we don't have direct influence on, and we don't want to have it on our bug lists for now :P.
Comment 5 Christian Rose 2009-02-07 17:15:34 UTC
Please fix, bug 97061 has been fixed, and http://l10n.gnome.org/POT/nautilus.HEAD/nautilus.HEAD.pot still contains markup.
Comment 6 Claude Paroz 2009-06-02 12:49:05 UTC
Created attachment 135805 [details] [review]
Remove markup in translatable labels from GTKBuilder ui files

Note: this is a 'hand-made' patch, as glade-3 is making a lot of other changes.
Comment 7 Allan Day 2010-06-21 19:37:27 UTC
Changing component as part of ongoing reorganisation work.
Comment 8 André Klapper 2011-10-05 08:55:40 UTC
Still valid in git master in src/nautilus-file-management-properties.ui.h so patch in commnt 6 probably still applies.
Comment 9 Cosimo Cecchi 2012-05-30 16:51:29 UTC
I now pushed an updated version of Claude's patch to git master.