Details
-
Bug
-
Resolution: Moved
-
P1: Critical
-
None
-
2.0.0
-
None
Description
Using e.g. qsTr("%1").arg(systemInfo.prettyProductName)
in an ifw script results in a javascript exception:
---------------------------
Error
---------------------------
Exception while loading the component script '://metadata//root/installscript.qs'. (TypeError: Property 'arg' of object %1 is not a function)
---------------------------
OK
---------------------------
The same logic in a .qml file works fine.
Attachments
Issue Links
- resulted in
-
QTBUG-43113 Add string::arg in QJSEngine::installTranslatorFunctions
- Closed