[Kst] branches/work/kst/portto4/kst/src/libkstmath
George Staikos
staikos at kde.org
Wed Feb 28 03:39:59 CET 2007
SVN commit 637888 by staikos:
i18n fix
M +6 -6 kstpsd.cpp
--- branches/work/kst/portto4/kst/src/libkstmath/kstpsd.cpp #637887:637888
@@ -391,7 +391,7 @@
QString KstPSD::propertyString() const {
- return i18n("PSD: %1").arg(vTag());
+ return i18n("PSD: %1", vTag());
}
@@ -480,19 +480,19 @@
switch (_Output) {
default:
case 0: // amplitude spectral density (default) [V/Hz^1/2]
- (*_sVector)->setLabel(i18n("ASD \\[%1/%2^{1/2} \\]").arg(_vUnits).arg(_rUnits));
+ (*_sVector)->setLabel(i18n("ASD \\[%1/%2^{1/2} \\]", _vUnits, _rUnits));
break;
case 1: // power spectral density [V^2/Hz]
- (*_sVector)->setLabel(i18n("PSD \\[%1^2/%2\\]").arg(_vUnits).arg(_rUnits));
+ (*_sVector)->setLabel(i18n("PSD \\[%1^2/%2\\]", _vUnits, _rUnits));
break;
case 2: // amplitude spectrum [V]
- (*_sVector)->setLabel(i18n("Amplitude Spectrum\\[%1\\]").arg(_vUnits));
+ (*_sVector)->setLabel(i18n("Amplitude Spectrum\\[%1\\]", _vUnits));
break;
case 3: // power spectrum [V^2]
- (*_sVector)->setLabel(i18n("Power Spectrum \\[%1^2\\]").arg(_vUnits));
+ (*_sVector)->setLabel(i18n("Power Spectrum \\[%1^2\\]", _vUnits));
break;
}
- (*_fVector)->setLabel(i18n("Frequency \\[%1\\]").arg(_rUnits));
+ (*_fVector)->setLabel(i18n("Frequency \\[%1\\]", _rUnits));
}
More information about the Kst
mailing list