1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-23 23:03:55 +02:00

Convert all wxTRANSLATE() to XO()

XO() can be used anywhere a string must be extracted for translation
but not automatically translated at runtime.
This commit is contained in:
Leland Lucius
2015-04-18 22:49:05 -05:00
parent f0ab978dbf
commit 7a0aa43a82
73 changed files with 283 additions and 284 deletions

View File

@@ -57,15 +57,15 @@ static const wxChar *kVinylStrings[kNumVinyl] =
wxT("45"),
wxT("78"),
/* i18n-hint: n/a is an English abbreviation meaning "not applicable". */
wxTRANSLATE("n/a"),
XO("n/a"),
};
// Soundtouch is not reasonable below -99% or above 3000%.
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Percentage, double, wxTRANSLATE("Percentage"), 0.0, -99.0, 4900.0, 1 );
// Name Type Key Def Min Max Scale
Param( Percentage, double, XO("Percentage"), 0.0, -99.0, 4900.0, 1 );
// We warp the slider to go up to 400%, but user can enter higher values
static const double kSliderMax = 100.0; // warped above zero to actually go up to 400%
@@ -111,7 +111,7 @@ wxString EffectChangeSpeed::GetSymbol()
wxString EffectChangeSpeed::GetDescription()
{
return wxTRANSLATE("Change the speed of a track, also changing its pitch");
return XO("Change the speed of a track, also changing its pitch");
}
// EffectIdentInterface implementation