1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

OP-1351 added missing tr() call for thermal calibration estimated time message

This commit is contained in:
Philippe Renon 2014-06-12 21:11:45 +02:00
parent 67ff2e58b8
commit bc7087da1a

View File

@ -410,8 +410,9 @@ void ThermalCalibrationHelper::updateTemp(float temp)
setProgressMax(100);
QTime t = QTime(0, 0).addSecs(m_targetduration);
addInstructions(tr("Estimated duration: %1").arg(t.toString("m' minute(s) and 's' second(s).'")));
QTime time = QTime(0, 0).addSecs(m_targetduration);
QString timeString = time.toString(tr("m' minute(s) and 's' second(s).'"));
addInstructions(tr("Estimated duration: %1").arg(timeString));
QString str = QStringLiteral("INFO::Trace gradient : %1, elapsed : %2 initial gradient : %3, target : %4")
.arg(m_gradient).arg(elapsed).arg(m_initialGradient).arg(m_targetduration);