Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.7
Description
Example to reproduced the issue attached.
With the code below only the qsTr() using the property defined with QT_TR_NOOP() returns the translated string
import QtQuick import TranslationsQsTrNoOp Window { id: root property string tr_text: QT_TR_NOOP("Same QML doc") Component.onCompleted: function() { Qt.uiLanguage = "fr" } MyComponent { id: mycompo } Column { Text { text: qsTr(root.tr_text) } Text { text: qsTr(mycompo.tr_text) } // not translated Text { text: qsTr(Properties.tr_text) } // not translated } }