1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Remove unnecesary Format, Printf, casts to wxString

This commit is contained in:
Paul Licameli
2017-09-30 12:19:44 -04:00
parent 7fd78183d2
commit e0970ad1e8
12 changed files with 71 additions and 51 deletions

View File

@@ -2235,11 +2235,11 @@ wxAccStatus MeterAx::GetName(int WXUNUSED(childId), wxString* name)
// always retain the leading space. Therefore a space has
// been added to ensure at least one space, and stop
// words from being merged
*name += wxT(" ") + wxString::Format(_(" Monitoring "));
*name += wxT(" ") + _(" Monitoring ");
}
else if (m->mActive)
{
*name += wxT(" ") + wxString::Format(_(" Active "));
*name += wxT(" ") + _(" Active ");
}
float peak = 0.;
@@ -2262,7 +2262,7 @@ wxAccStatus MeterAx::GetName(int WXUNUSED(childId), wxString* name)
if (clipped)
{
*name += wxT(" ") + wxString::Format(_(" Clipped "));
*name += wxT(" ") + _(" Clipped ");
}
}