Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.3
-
None
-
-
5859c5b4a (dev), 52f1dd37d (6.5), a576b5a01 (6.6)
Description
For conveniance, i add arrow "<==" translation to later use unicode in .ts file. I add this text in a qml file using
qsTrId(...)
But after updating the ts file to add this text, the file can no longer be open with QtLingust displaying an error
sans_titre_fr_FR.ts:6:18: Unexpected '<'.
4:<context> 5: <name></name> 6: <message id="<=="> 7: <location filename="main.qml" line="8"/> 8: <source></source> 9: <translation type="unfinished"></translation> 10: </message> 11:</context>
I forgot to add that it also break lupdate and lrelease forcing to manually correct the file.
Attachments
For Gerrit Dashboard: QTBUG-112677 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
488734,3 | lupdate: Protect id when writing ts files | dev | qt/qttools | Status: MERGED | +2 | 0 |
488929,2 | lupdate: Protect id when writing ts files | 6.5 | qt/qttools | Status: MERGED | +2 | 0 |
488930,2 | lupdate: Protect id when writing ts files | 6.6 | qt/qttools | Status: MERGED | +2 | 0 |