mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1351 added missing tr() call for thermal calibration estimated time message
This commit is contained in:
parent
67ff2e58b8
commit
bc7087da1a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user