dynamic translation support. closes #24

This commit is contained in:
Ilya Kitaev
2016-07-20 22:28:11 +03:00
parent 39b88daf32
commit 32ebf180ac
34 changed files with 837 additions and 314 deletions

View File

@@ -52,9 +52,9 @@ Item {
font.pixelSize: 12
color: "#4A4949"
text: {
if(currentIndex === 0) return qsTr("LOW")
if(currentIndex === 3) return qsTr("MEDIUM")
if(currentIndex === 13) return qsTr("HIGH")
if(currentIndex === 0) return qsTr("LOW") + translationManager.emptyString
if(currentIndex === 3) return qsTr("MEDIUM") + translationManager.emptyString
if(currentIndex === 13) return qsTr("HIGH") + translationManager.emptyString
return ""
}
}