Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
The example runs on desktop 4.7 TP, but I have observed the same behavior in 4.7 Beta
-
5fc59b64642b8af7b449770bae471a2a72bfa490
Description
When PropertyChanges changes the text of a Text element, qsTr() does not have an effect.
The attached translation file foo_fi_FI.qm does the following mapping:
"Hello" -> "Moro"
"Click me" -> "Naksauta"
"Click again" -> "Naksauta viä"
When run as
$ qml -translation foo_fi_FI.qm foo.qml
the UI shows the correct Finnish translations. After clicking on the mouse area, the new text of the Text element is the original source instead of the translation.