diff options
Diffstat (limited to 'src/volumefader.cc')
-rw-r--r-- | src/volumefader.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/volumefader.cc b/src/volumefader.cc index 9d3e15a..7982896 100644 --- a/src/volumefader.cc +++ b/src/volumefader.cc @@ -70,7 +70,7 @@ void VolumeFader::updatePeakDb(double db) void VolumeFader::updatePeakPower(double newpeak) { peak = (newpeak * (1.0 - P) + peak * P); - volumepeak->setText("Peak " + QString::number(peak, 'f', 5)); + volumepeak->setText(tr("Peak ") + QString::number(peak, 'f', 5)); handleValueChanged(); } @@ -94,6 +94,6 @@ void VolumeFader::handleValueChanged() emit volumeChangedDb(db); emit volumeChangedPower(power); - volume->setText("Gain " + QString::number(volslider->value() / SCALAR) + - " dB"); + volume->setText(tr("Gain %1 dB").arg(QString::number(volslider->value() / + SCALAR))); } |