1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Translate the format "%s: %s" wherever user-visible...

... because some languages, like French, prefer to insert a space before :
This commit is contained in:
Paul Licameli 2017-10-08 14:52:39 -04:00
parent 3fbfef0eb1
commit b1f7f921a0
2 changed files with 3 additions and 4 deletions

View File

@ -444,8 +444,7 @@ bool VampEffect::Process()
addedTracks.push_back(AddAnalysisTrack(
multiple
? wxString::Format(wxT("%s: %s"),
left->GetName(), GetName())
? wxString::Format(_("%s: %s"), left->GetName(), GetName())
: GetName()
));
LabelTrack *ltrack = addedTracks.back()->get();

View File

@ -999,7 +999,7 @@ wxString LWSlider::GetTip(float value) const
#endif
}
label.Printf(wxT("%s: %s"), mName, val);
label.Printf(_("%s: %s"), mName, val);
}
else
{
@ -1042,7 +1042,7 @@ wxString LWSlider::GetMaxTip() const
#endif
}
label.Printf(wxT("%s: %s"), mName, val);
label.Printf(_("%s: %s"), mName, val);
}
else
{