Font syntax issue in main Control Panel window (Polish version of GUI)

Bug #769996 reported by patpi
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Invalid
Undecided
Natalia Bidart
Ubuntu Translations
Fix Released
Low
Ubuntu Polish Translators

Bug Description

There is a font syntax issue in main Control Panel window (Polish version of GUI). We have visible syntax like "<span font_size="small">" , "&nbsp" and "</span>" in between normal text.

Please see an attached image for screenshot of this bug.

Revision history for this message
patpi (patpi-pp) wrote :
description: updated
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hello!

I'm not being able to reproduce this issue. I installed the language pack for polish, as you can see I have the translation for the control panel as per:

nessita@ernst:~$ ls -l /usr/share/locale-langpack/pl/LC_MESSAGES/ubuntuone-control-panel*
-rw-r--r-- 1 root root 8783 2011-04-10 14:30 /usr/share/locale-langpack/pl/LC_MESSAGES/ubuntuone-control-panel.mo

The panel that I'm getting is: http://ubuntuone.com/p/oft/
Polish lang pack is version: 1:11.04+20110407

Can you please add detail instructions about how to reproduce? Thanks!

Changed in ubuntuone-control-panel:
status: New → Incomplete
assignee: nobody → Naty Bidart (nataliabidart)
Revision history for this message
patpi (patpi-pp) wrote :

Hi Naty,

I just installed Natty Narwhal BETA2 - fresh installation, not update from previous versions - and I have updated all the packages from UpdateManager. That is all what I did on this system. What more informations do you need?

To confirm or deny this bug report i've asked Ubuntu community members in Poland if they also see this bug. i've created forum post here: http://ubuntu.pl/forum/viewtopic.php?f=210&t=145056
( google translate in english here: http://translate.google.pl/translate?js=n&prev=_t&hl=pl&ie=UTF-8&layout=2&eotf=1&sl=pl&tl=en&u=http%3A%2F%2Fubuntu.pl%2Fforum%2Fviewtopic.php%3Ff%3D210%26t%3D145056&act=url ). I will update this bug if i have more info from them.

Revision history for this message
David Planella (dpm) wrote :

The problem seems to be with the &nbsp; characters: the translatable string contains Pango markup language, which does not support all html entities:

http://developer.gnome.org/pango/stable/PangoMarkupFormat.html

You can see that the use of &nbsp; is not supported, which is why the format is not being applied. The solution is to fix the translation by removing all the &nbsp; elements:

https://translations.launchpad.net/ubuntu/natty/+source/ubuntuone-control-panel/+pots/ubuntuone-control-panel/pl/+translate?batch=10&show=all&search=folderu

Note that there are more translations in that template which contain the nbsp, and which you should probably fix as well:

https://translations.launchpad.net/ubuntu/natty/+source/ubuntuone-control-panel/+pots/ubuntuone-control-panel/pl/+translate?batch=10&show=all&search=nbsp

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Low
Changed in ubuntuone-control-panel:
status: Incomplete → Invalid
Changed in ubuntu-translations:
assignee: nobody → Ubuntu Polish Translators (ubuntu-l10n-pl)
Revision history for this message
TSr (tsr) wrote :

I have changed translation in launchpad.

Revision history for this message
patpi (patpi-pp) wrote :
Revision history for this message
TSr (tsr) wrote :

Done

David Planella (dpm)
Changed in ubuntu-translations:
status: Triaged → Fix Committed
Revision history for this message
pioruns (pioruns) wrote :
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

I can see this fixed in Natty - closing.

Changed in ubuntu-translations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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