Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1
-
-
67fbdadb3ba1aa9f86ae2d6ca3bff69479fb12be
Description
When calling QJSEngine::evaluate() with an absolute file path that contains a drive letter, it will be unable to determine the context for qsTr calls. This is due to the fact that QUrl(absoluteFilePathWithDrive) is not seeing this as a valid url unless it has "file://" prepended to it. As a result all calls to qsTr() will not trigger a translation as it cannot match the context.
Attachments
For Gerrit Dashboard: QTBUG-70425 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240293,1 | WIP | 5.11 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
242163,3 | Fix translation contexts for paths with drive letters on Windows | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
242763,1 | Fix translation contexts for paths with drive letters on Windows | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |