Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0
-
None
-
-
c3949ffae (dev)
Description
We would like to use `& # x 200b;` in source and translation (as a hint for line breaks) but ran into some problems:
- & in source is replaced by qsTr with `& amp;` in the translation file. Escaping does not work. So we can not use `& # x 200b;` there. Using the unicode character is not a good way, because it is hard to develop because it is not visible.
- Using `& # x 200b;` in the translation works in a first step. But (re)generating the translation will replace it with the unicode character so it is no longer visible. That is a problem in the development.
- Even if we add a post processing to replace the unicode character with `& # x 200b;` tools like the Qt Linguist will not show it because it is interpreted there.
Any suggestions what we can do?
Attachments
Issue Links
- resulted in
-
QTBUG-132549 Linguist: Document new NCR mode
- Reported
For Gerrit Dashboard: QTBUG-130609 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
607513,18 | lupdate & linguist: Add support for NCR Notations | dev | qt/qttools | Status: MERGED | +2 | 0 |
609566,1 | lupdate & linguist: Add support for NCR Notations | dev | qt/qttools | Status: ABANDONED | 0 | 0 |