diff --git a/src/effects/DtmfGen.cpp b/src/effects/DtmfGen.cpp index cdd5cec97..095f3e4e9 100644 --- a/src/effects/DtmfGen.cpp +++ b/src/effects/DtmfGen.cpp @@ -469,7 +469,7 @@ void DtmfDialog::PopulateOrExchange( ShuttleGui & S ) * "seconds" this does not always work properly. For example, it rounds * down to zero... */ mDtmfDurationT->SetName(_("Duration")); - mDtmfDurationT->SetFormatString(mDtmfDurationT->GetBuiltinFormat(dIsSelection==true?(_("hh:mm:ss + samples")):(_("seconds")))); + mDtmfDurationT->SetFormatString(mDtmfDurationT->GetBuiltinFormat(dIsSelection==true?(_("hh:mm:ss + samples")):(_("hh:mm:ss + milliseconds")))); mDtmfDurationT->EnableMenu(); } S.AddWindow(mDtmfDurationT); diff --git a/src/effects/Noise.cpp b/src/effects/Noise.cpp index 7b7dd7ea6..b6eff46e8 100644 --- a/src/effects/Noise.cpp +++ b/src/effects/Noise.cpp @@ -214,7 +214,7 @@ void NoiseDialog::PopulateOrExchange( ShuttleGui & S ) * with "seconds" this does not always work properly. For example, * it rounds down to zero... */ mNoiseDurationT->SetName(_("Duration")); - mNoiseDurationT->SetFormatString(mNoiseDurationT->GetBuiltinFormat(nIsSelection==true?(_("hh:mm:ss + samples")):(_("seconds")))); + mNoiseDurationT->SetFormatString(mNoiseDurationT->GetBuiltinFormat(nIsSelection==true?(_("hh:mm:ss + samples")):(_("hh:mm:ss + milliseconds")))); mNoiseDurationT->EnableMenu(); } S.AddWindow(mNoiseDurationT, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL | wxALL); diff --git a/src/effects/Silence.cpp b/src/effects/Silence.cpp index 6289f6f81..43427cc08 100644 --- a/src/effects/Silence.cpp +++ b/src/effects/Silence.cpp @@ -41,7 +41,7 @@ bool EffectSilence::PromptUser() } else { // Retrieve last used values gPrefs->Read(wxT("/Effects/SilenceGen/Duration"), &mDuration, 30L); - dlog.SetFormatString(_("seconds")); + dlog.SetFormatString(_("hh:mm:ss + milliseconds")); } dlog.SetTimeValue(mDuration); diff --git a/src/effects/ToneGen.cpp b/src/effects/ToneGen.cpp index cfec3677e..d3335388e 100644 --- a/src/effects/ToneGen.cpp +++ b/src/effects/ToneGen.cpp @@ -297,17 +297,17 @@ void ToneGenDialog::PopulateOrExchangeStandard( ShuttleGui & S ) S.AddPrompt(_("Duration") + wxString(wxT(":"))); if (mToneDurationT == NULL) { - mToneDurationT = new - TimeTextCtrl(this, - wxID_ANY, - wxT(""), - mDuration, - mEffect->mProjectRate, - wxDefaultPosition, - wxDefaultSize, - true); + mToneDurationT = + new TimeTextCtrl(this, + wxID_ANY, + wxT(""), + mDuration, + mEffect->mProjectRate, + wxDefaultPosition, + wxDefaultSize, + true); mToneDurationT->SetName(_("Duration")); - mToneDurationT->SetFormatString(mToneDurationT->GetBuiltinFormat(isSelection==true?(_("hh:mm:ss + samples")):(_("seconds")))); + mToneDurationT->SetFormatString(mToneDurationT->GetBuiltinFormat(isSelection==true?(_("hh:mm:ss + samples")):(_("hh:mm:ss + milliseconds")))); mToneDurationT->EnableMenu(); } S.AddWindow(mToneDurationT); @@ -355,7 +355,7 @@ void ToneGenDialog::PopulateOrExchangeExtended( ShuttleGui & S ) wxDefaultSize, true); mToneDurationT->SetName(_("Duration")); - mToneDurationT->SetFormatString(mToneDurationT->GetBuiltinFormat(isSelection==true?(_("hh:mm:ss + samples")):(_("seconds")))); + mToneDurationT->SetFormatString(mToneDurationT->GetBuiltinFormat(isSelection==true?(_("hh:mm:ss + samples")):(_("hh:mm:ss + milliseconds")))); mToneDurationT->EnableMenu(); } S.AddWindow(mToneDurationT);