A http bug in the POT file?

Everything related to VLC media player translations: new translations, corrections, ...
MT
Blank Cone
Blank Cone
Posts: 59
Joined: 12 Jun 2007 01:19

A http bug in the POT file?

Postby MT » 27 Oct 2008 02:22

Hi
I found one strange string - In the POT file there is a string (16855):
"This is VLC's skinnable interface. You can download skins at <a href="

but in modules/gui/qt4/ui/sprefs_interface.ui:155 this string is call:
("This is VLC's skinnable interface. You can download skins at <a href="http://www.videolan.org/vlc/skins.php"> ... ins.php</a> to customize your player.")

I think there is a bug with this http link. I tried to rename this string
but i still can not translate it. where is the bug? in the file sprefs_interface.ui or the POT file?

Thanks!

Michi

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: A http bug in the POT file?

Postby xtophe » 27 Oct 2008 11:33

Yes this is a bug.
But not an easy one.

The problem is that qt stores the dialog in some .ui files which are some XML files.
And gettext which is the framework we use for the translation has been designed for C primarly.
And the way to store strings and particurarly to use special characters is different in XML and C.

So we got problem with the < instead of < by example and problem with the strings with url.

In 0.9-bugfix i got a crude and hugly workaround for the <. In master (1.0.0) i need to find a proper solution.

I was hoping to find a proper solution and use it for 0.9.x, but as i haven't yet, I think i'll expand the kludge which work for < to the strings with url
Xtophe


Return to “VLC media player Translations”

Who is online

Users browsing this forum: No registered users and 1 guest