1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-09 06:07:06 +01: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

@@ -39,12 +39,12 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Freq, double, wxTRANSLATE("Freq"), 1.5, 0.1, 4.0, 10 );
Param( Phase, double, wxTRANSLATE("Phase"), 0.0, 0.0, 359.0, 1 );
Param( Depth, int, wxTRANSLATE("Depth"), 70, 0, 100, 1 ); // scaled to 0-1 before processing
Param( Res, double, wxTRANSLATE("Resonance"), 2.5, 0.1, 10.0, 10 );
Param( FreqOfs, int, wxTRANSLATE("Offset"), 30, 0, 100, 1 ); // scaled to 0-1 before processing
// Name Type Key Def Min Max Scale
Param( Freq, double, XO("Freq"), 1.5, 0.1, 4.0, 10 );
Param( Phase, double, XO("Phase"), 0.0, 0.0, 359.0, 1 );
Param( Depth, int, XO("Depth"), 70, 0, 100, 1 ); // scaled to 0-1 before processing
Param( Res, double, XO("Resonance"), 2.5, 0.1, 10.0, 10 );
Param( FreqOfs, int, XO("Offset"), 30, 0, 100, 1 ); // scaled to 0-1 before processing
// How many samples are processed before recomputing the lfo value again
#define lfoskipsamples 30
@@ -88,7 +88,7 @@ wxString EffectWahwah::GetSymbol()
wxString EffectWahwah::GetDescription()
{
return wxTRANSLATE("Rapid tone quality variations, like that guitar sound so popular in the 1970's");
return XO("Rapid tone quality variations, like that guitar sound so popular in the 1970's");
}
// EffectIdentInterface implementation