Translation Enablement & consider "seconds" translation

... multiple tr() added for Intervals. Compare Pane
... in Compare Pane - in time metrics check for both "seconds" and
translated tr(seconds) (following the concept for time as at most other
places where units == "seconds" are checked

(cherry picked from commit 6c78b00b65a1d794eb99038f21d6e705d119d29e)
This commit is contained in:
Joern
2014-06-07 19:15:35 +02:00
parent b6910f4ffa
commit 21b6b4993a
4 changed files with 35 additions and 32 deletions

View File

@@ -1624,7 +1624,7 @@ AllPlotWindow::plotPickerMoved(const QPoint &pos)
// we don't do selection in compare mode
if (isCompare()) return;
QString name = QString("Selection #%1 ").arg(selection);
QString name = QString(tr("Selection #%1 ")).arg(selection);
// which picker and plot send this signal?
QwtPlotPicker* pick = qobject_cast<QwtPlotPicker *>(sender());