1
0
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:
Paul Licameli
2018-01-03 20:47:56 -05:00
parent fa7f1a455b
commit def1d52505
20 changed files with 127 additions and 87 deletions

View File

@@ -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.");