Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0 RC
-
None
Description
QJSEngine::installTranslatorFunctions add the translator methods like qsTr() to an object.
However, the custom string.arg method is not added automatically, which let idioms like
qsTr("Hello %1").arg("world")
fail.
Attachments
Issue Links
- resulted from
-
QTIFW-597 qStr("%1").arg(xxx) fails
-
- Closed
-
For Gerrit Dashboard: QTBUG-43113 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101523,1 | Add string::arg method in installTranslatorFunctions | 5.4.0 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
101524,1 | Add string::arg method in installTranslatorFunctions | 5.4 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
101530,2 | Add string::arg method in installTranslatorFunctions | 5.4.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |