QStringmsg="Unsupported calibration firmware version, using log";
QStringmsg=tr("Unsupported calibration firmware version, using log");
_appendStatusLog(msg);
qDebug()<<msg;
return;
...
...
@@ -296,7 +296,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
_orientationCalTailDownSideVisible=false;
_orientationCalNoseDownSideVisible=false;
_orientationCalAreaHelpText->setProperty("text","Place your vehicle into one of the Incomplete orientations shown below and hold it still");
_orientationCalAreaHelpText->setProperty("text",tr("Place your vehicle into one of the Incomplete orientations shown below and hold it still"));
if(text=="accel"){
_accelCalInProgress=true;
...
...
@@ -377,9 +377,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
if(_magCalInProgress){
_orientationCalAreaHelpText->setProperty("text","Rotate the vehicle continuously as shown in the diagram until marked as Completed");
_orientationCalAreaHelpText->setProperty("text",tr("Rotate the vehicle continuously as shown in the diagram until marked as Completed"));
}else{
_orientationCalAreaHelpText->setProperty("text","Hold still in the current orientation");
_orientationCalAreaHelpText->setProperty("text",tr("Hold still in the current orientation"));
}
emitorientationCalSidesInProgressChanged();
...
...
@@ -417,7 +417,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
_orientationCalTailDownSideRotate=false;
}
_orientationCalAreaHelpText->setProperty("text","Place you vehicle into one of the orientations shown below and hold it still");
_orientationCalAreaHelpText->setProperty("text",tr("Place you vehicle into one of the orientations shown below and hold it still"));
emitorientationCalSidesInProgressChanged();
emitorientationCalSidesDoneChanged();
...
...
@@ -426,7 +426,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
if(text.endsWith("side already completed")){
_orientationCalAreaHelpText->setProperty("text","Orientation already completed, place you vehicle into one of the incomplete orientations shown below and hold it still");
_orientationCalAreaHelpText->setProperty("text",tr("Orientation already completed, place you vehicle into one of the incomplete orientations shown below and hold it still"));
qgcApp()->showMessage(QString("QGroundControl fully supports Version %1.%2 and above. You are using a version prior to that. This combination is untested, you may run into unpredictable results.").arg(supportedMajorNumber).arg(supportedMinorNumber));
qgcApp()->showMessage(tr("QGroundControl fully supports Version %1.%2 and above. You are using a version prior to that. This combination is untested, you may run into unpredictable results.").arg(supportedMajorNumber).arg(supportedMinorNumber));
qgcApp()->showMessage(QString("QGroundControl supports PX4 Pro firmware Version %1.%2.%3 and above. You are using a version prior to that which will lead to unpredictable results. Please upgrade your firmware.").arg(supportedMajorVersion).arg(supportedMinorVersion).arg(supportedPatchVersion));
qgcApp()->showMessage(tr("QGroundControl supports PX4 Pro firmware Version %1.%2.%3 and above. You are using a version prior to that which will lead to unpredictable results. Please upgrade your firmware.").arg(supportedMajorVersion).arg(supportedMinorVersion).arg(supportedPatchVersion));
showMessage(QString("Parameters are missing from firmware. You may be running a version of firmware QGC does not work correctly with or your firmware has a bug in it. Missing params: %1").arg(params));
showMessage(tr("Parameters are missing from firmware. You may be running a version of firmware QGC does not work correctly with or your firmware has a bug in it. Missing params: %1").arg(params));
emitstatusMessage(QString("Write failed for parameter meta data file, error: %1").arg(parameterFile.errorString()));
emitstatusMessage(tr("Write failed for parameter meta data file, error: %1").arg(parameterFile.errorString()));
parameterFile.close();
QFile::remove(parameterFilename);
}else{
parameterFile.close();
}
}else{
emitstatusMessage(QString("Unable to open parameter meta data file %1 for writing, error: %2").arg(parameterFilename).arg(parameterFile.errorString()));
emitstatusMessage(tr("Unable to open parameter meta data file %1 for writing, error: %2").arg(parameterFilename).arg(parameterFile.errorString()));