Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7.1
-
None
-
-
b1b905a27 (dev)
Description
<The Issue>
The extra comment, which a user can add with //~, does show up in the generated .ts file. However, it doesn't show up when .ts file is opened with Qt Linguist.
https://doc.qt.io/qt-6/i18n-source-translation.html#qml-use-and
<Reproduction Step>
Open the attached qml_updated_ja_JP.ts with Qt Linguist.
The attached .ts file contains extra comments.
<Expected Result>
Not only the main comment added with //:, but also the extra comment added with //~ shows up in the Qt Linguist UI.
<Actual Result>
The main comment added with //: shows up in the Qt Linguist UI, which is "This is the title of the window. We want to greet to the world." marked with yellow marker.
The extra comment added with //~ doesn't show up in the Qt Linguist UI.
<Comment>
I'm not sure if (1) extra comments are supposed to show up in Qt Linguist, but they are not, or if (2) they are indeed shown but I'm not finding it, or (3) They are not showing up and it's how it's supposed to work.
In case of (1), this seems to be a Qt Linguist bug and fix is needed for Qt Linguist.
In case of (2), the documentation needs improvement in that it points a user to the right place to look at to find extra comments.
In case of (3), the documentation needs to clarify that extra comments are not supposed to show up in the Qt Linguist UI.
Attachments
For Gerrit Dashboard: QTBUG-128576 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
608572,6 | linguist: Clarify Extra Context not Showing up in Linguist | dev | qt/qtdoc | Status: MERGED | +2 | 0 |