text:"This will restart the WiFi Bridge so the settings you've changed can take effect. Note that you may have to change your computer WiFi settings and QGroundControl link settings to match these changes. Are you sure you want to restart it?"
text:qsTr("This will restart the WiFi Bridge so the settings you've changed can take effect. Note that you may have to change your computer WiFi settings and QGroundControl link settings to match these changes. Are you sure you want to restart it?")
onFunctionMappingChangedAPMReboot:showMessage("Reboot required","Your stick mappings have changed, you must reboot the vehicle for correct operation.",StandardButton.Ok)
onFunctionMappingChangedAPMReboot:showMessage(qsTr("Reboot required"),qsTr("Your stick mappings have changed, you must reboot the vehicle for correct operation."),StandardButton.Ok)
}
}
onCompleted:{
onCompleted:{
@ -95,7 +95,7 @@ QGCView {
id: copyTrimsDialogComponent
id: copyTrimsDialogComponent
QGCViewMessage{
QGCViewMessage{
message:"Center your sticks and move throttle all the way down, then press Ok to copy trims. After pressing Ok, reset the trims on your radio back to zero."
message:qsTr("Center your sticks and move throttle all the way down, then press Ok to copy trims. After pressing Ok, reset the trims on your radio back to zero.")
functionaccept(){
functionaccept(){
hideDialog()
hideDialog()
@ -108,8 +108,8 @@ QGCView {
id: zeroTrimsDialogComponent
id: zeroTrimsDialogComponent
QGCViewMessage{
QGCViewMessage{
message:"Before calibrating you should zero all your trims and subtrims. Click Ok to start Calibration.\n\n"+
message:qsTr("Before calibrating you should zero all your trims and subtrims. Click Ok to start Calibration.\n\n%1").arg(
(QGroundControl.multiVehicleManager.activeVehicle.px4Firmware?"":"Please ensure all motor power is disconnected AND all props are removed from the vehicle.")
(QGroundControl.multiVehicleManager.activeVehicle.px4Firmware?"":qsTr("Please ensure all motor power is disconnected AND all props are removed from the vehicle.")))
functionaccept(){
functionaccept(){
hideDialog()
hideDialog()
@ -122,7 +122,7 @@ QGCView {
id: channelCountDialogComponent
id: channelCountDialogComponent
QGCViewMessage{
QGCViewMessage{
message:controller.channelCount==0?"Please turn on transmitter.":controller.minChannelCount+" channels or more are needed to fly."
message:controller.channelCount==0?qsTr("Please turn on transmitter."):qsTr("%1 channels or more are needed to fly.").arg(controller.minChannelCount)
}
}
}
}
@ -147,21 +147,21 @@ QGCView {
QGCLabel{
QGCLabel{
width:parent.width
width:parent.width
wrapMode:Text.WordWrap
wrapMode:Text.WordWrap
text:"Click Ok to place your Spektrum receiver in the bind mode. Select the specific receiver type below:"
text:qsTr("Click Ok to place your Spektrum receiver in the bind mode. Select the specific receiver type below:")