Commit 1957086f authored by Tomaz Canabrava's avatar Tomaz Canabrava

Fact QML ready for translation

All qsTr calls done
Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
parent fb0c9f26
......@@ -14,7 +14,7 @@ QGCCheckBox {
partiallyCheckedEnabled: fact.value != checkedValue && fact.value != uncheckedValue
checkedState: fact.value == checkedValue ? Qt.Checked : (fact.value == uncheckedValue ? Qt.Unchecked : Qt.PartiallyChecked)
text: "Label"
text: qsTr("Label")
onClicked: {
fact.value = checked ? checkedValue : uncheckedValue
......
......@@ -67,7 +67,7 @@ FocusScope {
QGCLabel {
anchors.fill: parent
wrapMode: Text.WordWrap
text: __errorMsg.length ? __errorMsg : "Parameters(s) missing: " + __missingParams
text: __errorMsg.length ? __errorMsg : qsTr("Parameters(s) missing: %1").arg(__missingParams)
}
}
}
......
......@@ -29,7 +29,7 @@ QGCTextField {
fact.value = text
} else {
_validateString = text
qgcView.showDialog(editorDialogComponent, "Invalid Parameter Value", qgcView.showDialogDefaultWidth, StandardButton.Save)
qgcView.showDialog(editorDialogComponent, qsTr("Invalid Parameter Value"), qgcView.showDialogDefaultWidth, StandardButton.Save)
}
} else {
fact.value = text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment