Gtk-error due to a non-existing HTML tag (resulting from a typo in translation)

Bug #974678 reported by xatr0z
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Medium
Ding Zhou

Bug Description

Starting Ubuntu Tweak 0.6.2 with Dutch translation, I get the following error 3 times in the terminaloutput:

(ubuntu-tweak:11477): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Fout in regel 1 teken 32: ‘bSchoonmaakextensies<’ is geen geldige naam: ‘<’

Also the Settings window shows incorrect HTML tags along the string.

This is because the string <b>Janitor Extensions</b> was incorrectly translated to <bSchoonmaakextensies</b> (note the missing > character). See: https://translations.launchpad.net/ubuntu-tweak/0.6.x/+pots/ubuntu-tweak/nl/28/+translate

This particular string is now fixed in the Dutch translation. But it could be that another translator makes the same mistake of creating a non-existing HTML-character in the future.

The expected behaviour would be to ignore or skip the non-existing HTML tags. It shouldn't give an error or display the incorrect <b....</b> tags to the user.

I'm not entirely sure if this is because of Ubuntu Tweak or some external Gtk HTML-parser, so I'm sorry if this is the wrong place.

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Confirmed
assignee: nobody → Ding Zhou (tualatrix)
milestone: none → 0.7.0
importance: Undecided → Medium
Revision history for this message
Ding Zhou (tualatrix) wrote :

Thanks for your report.

I will add more comments to help translator to avoid this problem

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.