[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Some strings resist to translate. -- Definitely a Qt Designer bug
From: Orestes Mas <orestes () caliu ! cat>
Date: 2013-04-24 12:01:26
Message-ID: 8771723.6yYyXPSt9z () oersted ! upc ! edu
[Download RAW message or body]
El Dimecres 24 Abril 2013, a les 12:12:53, Orestes Mas va escriure:
Finally I'm finding that if you enter a text containing quotes in any Qt
Designer field that accepts "rich text" format, this text is incorrectly coded
into the *.ui file generated by designer.
I've tested only the "tooltip" and "what's this" fields, but I think the error
is valid for other rich text fields (if any).
To reproduce, put this text in "rich text" format in the "toolTip" field of
some control in a designer form:
Sample text for the "tooltip" field in "rich text" format
Looking at the source tab, the HTML code is:
<html><head/><body><p>Sample text for the "tooltip" field, in
"rich text" format.</p></body></html>
Notice that quotes are correctly coded as '"', which is correct
BUT in the .ui file, this text will be stored as:
<string><html><head/><body><p>Sample text for the
&quot;tooltip&quot; field, in &quot;rich text&quot;
format.</p></body></html></string>
Notice that the HTML entity '"' is erroneously expanded as '&quot;'
instead of '&"'
Which is the error that Burkhard pointed out.
Anyone with an account at Qt bug tracker willing to report this bug (after
confirming it, of course) ?
--
Orestes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic