@ -79,7 +79,7 @@ QGCView {
@@ -79,7 +79,7 @@ QGCView {
QGCLabel {
id: failsafeLabel
text: "Failsafe Triggers"
text: qsTr ( "Failsafe Triggers")
font.weight: Font . DemiBold
}
@ -98,7 +98,7 @@ QGCView {
@@ -98,7 +98,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: gcsEnableCombo . baseline
text: "Ground Station failsafe:"
text: qsTr ( "Ground Station failsafe:")
}
FactComboBox {
@ -117,7 +117,7 @@ QGCView {
@@ -117,7 +117,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: throttleEnableCombo . baseline
text: "Throttle failsafe:"
text: qsTr ( "Throttle failsafe:")
}
QGCComboBox {
@ -126,7 +126,8 @@ QGCView {
@@ -126,7 +126,8 @@ QGCView {
anchors.left: gcsEnableCombo . left
anchors.top: gcsEnableCombo . bottom
width: voltageField . width
model: [ "Disabled" , "Always RTL" , "Continue with Mission in Auto Mode" , "Always Land" ]
model: [ qsTr ( "Disabled" ) , qsTr ( "Always RTL" ) ,
qsTr ( "Continue with Mission in Auto Mode" ) , qsTr ( "Always Land" ) ]
currentIndex: _failsafeThrEnable . value
onActivated: _failsafeThrEnable . value = index
@ -137,7 +138,7 @@ QGCView {
@@ -137,7 +138,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: throttlePWMField . baseline
text: "PWM threshold:"
text: qsTr ( "PWM threshold:")
}
FactTextField {
@ -154,7 +155,7 @@ QGCView {
@@ -154,7 +155,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: batteryEnableCombo . baseline
text: "Battery failsafe:"
text: qsTr ( "Battery failsafe:")
}
QGCComboBox {
@ -163,7 +164,7 @@ QGCView {
@@ -163,7 +164,7 @@ QGCView {
anchors.left: gcsEnableCombo . left
anchors.top: throttlePWMField . bottom
width: voltageField . width
model: [ "Disabled", "Land", "Return to Launch"]
model: [ qsTr ( "Disabled") , qsTr ( "Land") , qsTr ( "Return to Launch") ]
currentIndex: _failsafeBattEnable . value
onActivated: _failsafeBattEnable . value = index
@ -174,7 +175,7 @@ QGCView {
@@ -174,7 +175,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: voltageField . baseline
text: "Voltage threshold:"
text: qsTr ( "Voltage threshold:")
checked: _failsafeBattVoltage . value != 0
onClicked: _failsafeBattVoltage . value = checked ? 10.5 : 0
@ -194,7 +195,7 @@ QGCView {
@@ -194,7 +195,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.baseline: mahField . baseline
text: "MAH threshold:"
text: qsTr ( "MAH threshold:")
checked: _failsafeBattMah . value != 0
onClicked: _failsafeBattMah . value = checked ? 600 : 0
@ -215,7 +216,7 @@ QGCView {
@@ -215,7 +216,7 @@ QGCView {
anchors.leftMargin: _margins
anchors.left: failsafeSettings . right
anchors.top: parent . top
text: "GeoFence"
text: qsTr ( "GeoFence")
font.weight: Font . DemiBold
}
@ -233,7 +234,7 @@ QGCView {
@@ -233,7 +234,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.top: parent . top
text: "Circle GeoFence enabled"
text: qsTr ( "Circle GeoFence enabled")
checked: _fenceEnable . value != 0 && _fenceType . value & 2
onClicked: {
@ -258,7 +259,7 @@ QGCView {
@@ -258,7 +259,7 @@ QGCView {
anchors.topMargin: _margins / 2
anchors.left: circleGeo . left
anchors.top: circleGeo . bottom
text: "Altitude GeoFence enabled"
text: qsTr ( "Altitude GeoFence enabled")
checked: _fenceEnable . value != 0 && _fenceType . value & 1
onClicked: {
@ -283,7 +284,7 @@ QGCView {
@@ -283,7 +284,7 @@ QGCView {
anchors.margins: _margins
anchors.left: parent . left
anchors.top: altitudeGeo . bottom
text: "Report only"
text: qsTr ( "Report only")
exclusiveGroup: fenceActionRadioGroup
checked: _fenceAction . value == 0
@ -295,7 +296,7 @@ QGCView {
@@ -295,7 +296,7 @@ QGCView {
anchors.topMargin: _margins / 2
anchors.left: circleGeo . left
anchors.top: geoReportRadio . bottom
text: "RTL or Land"
text: qsTr ( "RTL or Land")
exclusiveGroup: fenceActionRadioGroup
checked: _fenceAction . value == 1
@ -306,7 +307,7 @@ QGCView {
@@ -306,7 +307,7 @@ QGCView {
id: fenceRadiusLabel
anchors.left: circleGeo . left
anchors.baseline: fenceRadiusField . baseline
text: "Max radius:"
text: qsTr ( "Max radius:")
}
FactTextField {
@ -322,7 +323,7 @@ QGCView {
@@ -322,7 +323,7 @@ QGCView {
id: fenceAltMaxLabel
anchors.left: circleGeo . left
anchors.baseline: fenceAltMaxField . baseline
text: "Max altitude:"
text: qsTr ( "Max altitude:")
}
FactTextField {
@ -340,7 +341,7 @@ QGCView {
@@ -340,7 +341,7 @@ QGCView {
id: rtlLabel
anchors.topMargin: _margins
anchors.top: geoFenceSettings . bottom
text: "Return to Launch"
text: qsTr ( "Return to Launch")
font.weight: Font . DemiBold
}
@ -377,7 +378,7 @@ QGCView {
@@ -377,7 +378,7 @@ QGCView {
anchors.leftMargin: _margins
anchors.left: icon . right
anchors.top: icon . top
text: "Return at current altitude"
text: qsTr ( "Return at current altitude")
checked: _rtlAltFact . value == 0
exclusiveGroup: returnAltRadioGroup
@ -389,7 +390,7 @@ QGCView {
@@ -389,7 +390,7 @@ QGCView {
anchors.topMargin: _margins
anchors.left: returnAtCurrentRadio . left
anchors.top: returnAtCurrentRadio . bottom
text: "Return at specified altitude:"
text: qsTr ( "Return at specified altitude:")
exclusiveGroup: returnAltRadioGroup
checked: _rtlAltFact . value != 0
@ -411,7 +412,7 @@ QGCView {
@@ -411,7 +412,7 @@ QGCView {
anchors.left: returnAtCurrentRadio . left
anchors.baseline: landDelayField . baseline
checked: _rtlLoitTimeFact . value > 0
text: "Loiter above Home for:"
text: qsTr ( "Loiter above Home for:")
onClicked: _rtlLoitTimeFact . value = ( checked ? 60 : 0 )
}
@ -430,7 +431,7 @@ QGCView {
@@ -430,7 +431,7 @@ QGCView {
id: landRadio
anchors.left: returnAtCurrentRadio . left
anchors.baseline: landSpeedField . baseline
text: "Land with descent speed:"
text: qsTr ( "Land with descent speed:")
checked: _rtlAltFinalFact . value == 0
exclusiveGroup: landLoiterRadioGroup
@ -451,7 +452,7 @@ QGCView {
@@ -451,7 +452,7 @@ QGCView {
id: finalLoiterRadio
anchors.left: returnAtCurrentRadio . left
anchors.baseline: rltAltFinalField . baseline
text: "Final loiter altitude:"
text: qsTr ( "Final loiter altitude:")
exclusiveGroup: landLoiterRadioGroup
onClicked: _rtlAltFinalFact . value = _rtlAltFact . value
@ -473,7 +474,7 @@ QGCView {
@@ -473,7 +474,7 @@ QGCView {
anchors.topMargin: _margins
anchors.left: parent . left
anchors.top: rtlSettings . bottom
text: "Arming Checks"
text: qsTr ( "Arming Checks")
font.weight: Font . DemiBold
}
@ -490,7 +491,7 @@ QGCView {
@@ -490,7 +491,7 @@ QGCView {
id: armingCheckColumn
spacing: _margins
QGCLabel { text: "Be very careful when turning off arming checks. Could lead to loss of Vehicle control." }
QGCLabel { text: qsTr ( "Be very careful when turning off arming checks. Could lead to loss of Vehicle control.") }
FactBitmask { fact: _armingCheck }
}
}