Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.1
-
None
-
Mac OS X 10.6.2 with a recent pull of qt-kinetic/declarative
-
0b8ef5c78b724901cfae343920b3e9e8f4a78fda
Description
When using the Unicode String Terminator escape sequence \x9C or \u009C in QML text, it is not correctly terminated;
import Qt 4.6 Rectangle { width: 640 height: 480 Column { width: parent.width Text { text: "First, run lupdate on this qml file with -ts translation.ts" } Text { text: "Then, translate with Linguist and release as translation.qm" } Text { text: "Finally, run qmlviewer on this file with -translation translation.qm" } Text { text: qsTr("This text should be translated and %1 is the arg").arg("foo") } Text { width: parent.width text: 'Here is some very long text that we should truncate when sizing window\\u009CHere is a shorter version\\x9CShort' } } }