mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-23 14:45:51 +01:00
Substitute, don't concatenate, when composing localized strings...
... Avoid English syntax bias.
This commit is contained in:
@@ -227,7 +227,7 @@ void EffectRepeat::DisplayNewTime()
|
||||
mT1 - mT0,
|
||||
mProjectRate);
|
||||
|
||||
str = _("Current selection length: ") + nc.GetString();
|
||||
str = wxString::Format( _("Current selection length: %s"), nc.GetString() );
|
||||
|
||||
mCurrentTime->SetLabel(str);
|
||||
mCurrentTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
||||
@@ -237,7 +237,7 @@ void EffectRepeat::DisplayNewTime()
|
||||
repeatCount = l;
|
||||
|
||||
nc.SetValue((mT1 - mT0) * (repeatCount + 1));
|
||||
str = _("New selection length: ") + nc.GetString();
|
||||
str = wxString::Format( _("New selection length: %s"), nc.GetString() );
|
||||
}
|
||||
else {
|
||||
str = _("Warning: No repeats.");
|
||||
|
||||
Reference in New Issue
Block a user