blob: c48a482138c8dcee7ac7a22dac97bb7bdc1eb594 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import QtQuick 2.0
TranslationChangeBase {
id: root
baseProperty: "do not translate"
property string text1: qsTr("translate me")
function weDoTranslations() {
return qsTr("translate me")
}
property string text2: weDoTranslations()
property string text3
states: [
State {
name: "default"
when: 1 == 1
PropertyChanges {
target: root
text3: qsTr("translate me")
}
}
]
}
|