From 8a074770e8355d5ca5c71a37085f3c402ee60177 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 7 Jan 2018 19:45:20 -0500 Subject: [PATCH] IdentInterface::GetDescription() returns a translated string... ... See commit 3b90538b84411f6b08e10682406984e5f499fd74 which removed the only use of the untranslated strings. Also follows better i18n guidelines for composing the VSTEffect description. --- include/audacity/IdentInterface.h | 5 +++-- src/PluginManager.cpp | 5 ----- src/effects/Amplify.cpp | 2 +- src/effects/AutoDuck.cpp | 2 +- src/effects/BassTreble.cpp | 2 +- src/effects/ChangePitch.cpp | 2 +- src/effects/ChangeSpeed.cpp | 2 +- src/effects/ChangeTempo.cpp | 2 +- src/effects/ClickRemoval.cpp | 2 +- src/effects/Compressor.cpp | 2 +- src/effects/Distortion.cpp | 2 +- src/effects/DtmfGen.cpp | 2 +- src/effects/Echo.cpp | 2 +- src/effects/Effect.cpp | 2 +- src/effects/Equalization.cpp | 2 +- src/effects/Fade.cpp | 4 ++-- src/effects/FindClipping.cpp | 2 +- src/effects/Invert.cpp | 2 +- src/effects/LoadEffects.cpp | 2 +- src/effects/Noise.cpp | 2 +- src/effects/NoiseReduction.cpp | 2 +- src/effects/NoiseRemoval.cpp | 2 +- src/effects/Normalize.cpp | 2 +- src/effects/Paulstretch.cpp | 2 +- src/effects/Phaser.cpp | 2 +- src/effects/Repair.cpp | 2 +- src/effects/Repeat.cpp | 2 +- src/effects/Reverb.cpp | 2 +- src/effects/Reverse.cpp | 2 +- src/effects/ScienFilter.cpp | 2 +- src/effects/Silence.cpp | 2 +- src/effects/StereoToMono.cpp | 2 +- src/effects/TimeScale.cpp | 2 +- src/effects/ToneGen.cpp | 4 ++-- src/effects/TruncSilence.cpp | 2 +- src/effects/VST/VSTEffect.cpp | 12 ++++-------- src/effects/Wahwah.cpp | 2 +- src/effects/audiounits/AudioUnitEffect.cpp | 4 ++-- src/effects/ladspa/LadspaEffect.cpp | 2 +- src/effects/lv2/LV2Effect.cpp | 2 +- src/effects/lv2/LoadLV2.cpp | 2 +- src/effects/nyquist/LoadNyquist.cpp | 2 +- src/effects/vamp/LoadVamp.cpp | 2 +- 43 files changed, 50 insertions(+), 58 deletions(-) diff --git a/include/audacity/IdentInterface.h b/include/audacity/IdentInterface.h index 178a7b78f..10feb3bef 100644 --- a/include/audacity/IdentInterface.h +++ b/include/audacity/IdentInterface.h @@ -58,11 +58,12 @@ public: virtual wxString GetName() = 0; virtual wxString GetVendor() = 0; virtual wxString GetVersion() = 0; + + // This returns a translated string virtual wxString GetDescription() = 0; - // non-virtual convenience functions + // non-virtual convenience function const wxString& GetTranslatedName(); - const wxString& GetTranslatedDescription(); }; #endif // __AUDACITY_IDENTINTERFACE_H__ diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp index da819528e..b04ab942f 100644 --- a/src/PluginManager.cpp +++ b/src/PluginManager.cpp @@ -3126,8 +3126,3 @@ const wxString& IdentInterface::GetTranslatedName() { return wxGetTranslation( GetName() ); } - -const wxString& IdentInterface::GetTranslatedDescription() -{ - return wxGetTranslation( GetDescription() ); -} diff --git a/src/effects/Amplify.cpp b/src/effects/Amplify.cpp index b0918d8fb..2a6649743 100644 --- a/src/effects/Amplify.cpp +++ b/src/effects/Amplify.cpp @@ -87,7 +87,7 @@ wxString EffectAmplify::GetSymbol() wxString EffectAmplify::GetDescription() { // Note: This is useful only after ratio has been set. - return XO("Increases or decreases the volume of the audio you have selected"); + return _("Increases or decreases the volume of the audio you have selected"); } wxString EffectAmplify::ManualPage() diff --git a/src/effects/AutoDuck.cpp b/src/effects/AutoDuck.cpp index 0ed865d58..c9579efcd 100644 --- a/src/effects/AutoDuck.cpp +++ b/src/effects/AutoDuck.cpp @@ -115,7 +115,7 @@ wxString EffectAutoDuck::GetSymbol() wxString EffectAutoDuck::GetDescription() { - return XO("Reduces (ducks) the volume of one or more tracks whenever the volume of a specified \"control\" track reaches a particular level"); + return _("Reduces (ducks) the volume of one or more tracks whenever the volume of a specified \"control\" track reaches a particular level"); } wxString EffectAutoDuck::ManualPage() diff --git a/src/effects/BassTreble.cpp b/src/effects/BassTreble.cpp index 5bf6ae623..06392732f 100644 --- a/src/effects/BassTreble.cpp +++ b/src/effects/BassTreble.cpp @@ -89,7 +89,7 @@ wxString EffectBassTreble::GetSymbol() wxString EffectBassTreble::GetDescription() { - return XO("Simple tone control effect"); + return _("Simple tone control effect"); } wxString EffectBassTreble::ManualPage() diff --git a/src/effects/ChangePitch.cpp b/src/effects/ChangePitch.cpp index ff48c9e49..167edfcd3 100644 --- a/src/effects/ChangePitch.cpp +++ b/src/effects/ChangePitch.cpp @@ -122,7 +122,7 @@ wxString EffectChangePitch::GetSymbol() wxString EffectChangePitch::GetDescription() { - return XO("Change the pitch of a track without changing its tempo"); + return _("Change the pitch of a track without changing its tempo"); } wxString EffectChangePitch::ManualPage() diff --git a/src/effects/ChangeSpeed.cpp b/src/effects/ChangeSpeed.cpp index fca940958..3b77df4aa 100644 --- a/src/effects/ChangeSpeed.cpp +++ b/src/effects/ChangeSpeed.cpp @@ -112,7 +112,7 @@ wxString EffectChangeSpeed::GetSymbol() wxString EffectChangeSpeed::GetDescription() { - return XO("Change the speed of a track, also changing its pitch"); + return _("Change the speed of a track, also changing its pitch"); } wxString EffectChangeSpeed::ManualPage() diff --git a/src/effects/ChangeTempo.cpp b/src/effects/ChangeTempo.cpp index 8b015baf2..03698ed16 100644 --- a/src/effects/ChangeTempo.cpp +++ b/src/effects/ChangeTempo.cpp @@ -99,7 +99,7 @@ wxString EffectChangeTempo::GetSymbol() wxString EffectChangeTempo::GetDescription() { - return XO("Change the tempo of a selection without changing its pitch"); + return _("Change the tempo of a selection without changing its pitch"); } wxString EffectChangeTempo::ManualPage() diff --git a/src/effects/ClickRemoval.cpp b/src/effects/ClickRemoval.cpp index 7cbaeaf18..f54927471 100644 --- a/src/effects/ClickRemoval.cpp +++ b/src/effects/ClickRemoval.cpp @@ -82,7 +82,7 @@ wxString EffectClickRemoval::GetSymbol() wxString EffectClickRemoval::GetDescription() { - return XO("Click Removal is designed to remove clicks on audio tracks"); + return _("Click Removal is designed to remove clicks on audio tracks"); } wxString EffectClickRemoval::ManualPage() diff --git a/src/effects/Compressor.cpp b/src/effects/Compressor.cpp index 5b5ea4df0..d2aea1329 100644 --- a/src/effects/Compressor.cpp +++ b/src/effects/Compressor.cpp @@ -103,7 +103,7 @@ wxString EffectCompressor::GetSymbol() wxString EffectCompressor::GetDescription() { - return XO("Compresses the dynamic range of audio"); + return _("Compresses the dynamic range of audio"); } wxString EffectCompressor::ManualPage() diff --git a/src/effects/Distortion.cpp b/src/effects/Distortion.cpp index 98d3583e2..f1ed3b615 100644 --- a/src/effects/Distortion.cpp +++ b/src/effects/Distortion.cpp @@ -200,7 +200,7 @@ wxString EffectDistortion::GetSymbol() wxString EffectDistortion::GetDescription() { - return XO("Waveshaping distortion effect"); + return _("Waveshaping distortion effect"); } wxString EffectDistortion::ManualPage() diff --git a/src/effects/DtmfGen.cpp b/src/effects/DtmfGen.cpp index b94eb6db5..99a5fba22 100644 --- a/src/effects/DtmfGen.cpp +++ b/src/effects/DtmfGen.cpp @@ -98,7 +98,7 @@ wxString EffectDtmf::GetSymbol() wxString EffectDtmf::GetDescription() { - return XO("Generates dual-tone multi-frequency (DTMF) tones like those produced by the keypad on telephones"); + return _("Generates dual-tone multi-frequency (DTMF) tones like those produced by the keypad on telephones"); } wxString EffectDtmf::ManualPage() diff --git a/src/effects/Echo.cpp b/src/effects/Echo.cpp index d2f082de8..d61d827ff 100644 --- a/src/effects/Echo.cpp +++ b/src/effects/Echo.cpp @@ -58,7 +58,7 @@ wxString EffectEcho::GetSymbol() wxString EffectEcho::GetDescription() { - return XO("Repeats the selected audio again and again"); + return _("Repeats the selected audio again and again"); } wxString EffectEcho::ManualPage() diff --git a/src/effects/Effect.cpp b/src/effects/Effect.cpp index 03995b451..670392797 100644 --- a/src/effects/Effect.cpp +++ b/src/effects/Effect.cpp @@ -3348,7 +3348,7 @@ void EffectUIHost::OnMenu(wxCommandEvent & WXUNUSED(evt)) sub->Append(kDummyID, wxString::Format(_("Name: %s"), mEffect->GetTranslatedName())); sub->Append(kDummyID, wxString::Format(_("Version: %s"), mEffect->GetVersion())); sub->Append(kDummyID, wxString::Format(_("Vendor: %s"), mEffect->GetVendor())); - sub->Append(kDummyID, wxString::Format(_("Description: %s"), mEffect->GetTranslatedDescription())); + sub->Append(kDummyID, wxString::Format(_("Description: %s"), mEffect->GetDescription())); menu.Append(0, _("About"), sub.release()); } diff --git a/src/effects/Equalization.cpp b/src/effects/Equalization.cpp index e05855de5..7fc852703 100644 --- a/src/effects/Equalization.cpp +++ b/src/effects/Equalization.cpp @@ -296,7 +296,7 @@ wxString EffectEqualization::GetSymbol() wxString EffectEqualization::GetDescription() { - return XO("Adjusts the volume levels of particular frequencies"); + return _("Adjusts the volume levels of particular frequencies"); } wxString EffectEqualization::ManualPage() diff --git a/src/effects/Fade.cpp b/src/effects/Fade.cpp index 6f5d6c1e0..d26cd36f9 100644 --- a/src/effects/Fade.cpp +++ b/src/effects/Fade.cpp @@ -40,8 +40,8 @@ wxString EffectFade::GetSymbol() wxString EffectFade::GetDescription() { return mFadeIn - ? XO("Applies a linear fade-in to the selected audio") - : XO("Applies a linear fade-out to the selected audio"); + ? _("Applies a linear fade-in to the selected audio") + : _("Applies a linear fade-out to the selected audio"); } // EffectIdentInterface implementation diff --git a/src/effects/FindClipping.cpp b/src/effects/FindClipping.cpp index 53c04814b..81199ab1f 100644 --- a/src/effects/FindClipping.cpp +++ b/src/effects/FindClipping.cpp @@ -59,7 +59,7 @@ wxString EffectFindClipping::GetSymbol() wxString EffectFindClipping::GetDescription() { - return XO("Creates labels where clipping is detected"); + return _("Creates labels where clipping is detected"); } wxString EffectFindClipping::ManualPage() diff --git a/src/effects/Invert.cpp b/src/effects/Invert.cpp index a283d0b3b..374954197 100644 --- a/src/effects/Invert.cpp +++ b/src/effects/Invert.cpp @@ -37,7 +37,7 @@ wxString EffectInvert::GetSymbol() wxString EffectInvert::GetDescription() { - return XO("Flips the audio samples upside-down, reversing their polarity"); + return _("Flips the audio samples upside-down, reversing their polarity"); } // EffectIdentInterface implementation diff --git a/src/effects/LoadEffects.cpp b/src/effects/LoadEffects.cpp index 298c9c3f8..774fdc61e 100644 --- a/src/effects/LoadEffects.cpp +++ b/src/effects/LoadEffects.cpp @@ -259,7 +259,7 @@ wxString BuiltinEffectsModule::GetVersion() wxString BuiltinEffectsModule::GetDescription() { - return XO("Provides builtin effects to Audacity"); + return _("Provides builtin effects to Audacity"); } // ============================================================================ diff --git a/src/effects/Noise.cpp b/src/effects/Noise.cpp index 6b09f53ef..ceed54ead 100644 --- a/src/effects/Noise.cpp +++ b/src/effects/Noise.cpp @@ -75,7 +75,7 @@ wxString EffectNoise::GetSymbol() wxString EffectNoise::GetDescription() { - return XO("Generates one of three different types of noise"); + return _("Generates one of three different types of noise"); } wxString EffectNoise::ManualPage() diff --git a/src/effects/NoiseReduction.cpp b/src/effects/NoiseReduction.cpp index 5810a05a1..cccb65927 100644 --- a/src/effects/NoiseReduction.cpp +++ b/src/effects/NoiseReduction.cpp @@ -433,7 +433,7 @@ wxString EffectNoiseReduction::GetSymbol() wxString EffectNoiseReduction::GetDescription() { - return XO("Removes background noise such as fans, tape noise, or hums"); + return _("Removes background noise such as fans, tape noise, or hums"); } // EffectIdentInterface implementation diff --git a/src/effects/NoiseRemoval.cpp b/src/effects/NoiseRemoval.cpp index 107b07f2d..114064d1d 100644 --- a/src/effects/NoiseRemoval.cpp +++ b/src/effects/NoiseRemoval.cpp @@ -117,7 +117,7 @@ wxString EffectNoiseRemoval::GetSymbol() wxString EffectNoiseRemoval::GetDescription() { - return XO("Removes constant background noise such as fans, tape noise, or hums"); + return _("Removes constant background noise such as fans, tape noise, or hums"); } // EffectIdentInterface implementation diff --git a/src/effects/Normalize.cpp b/src/effects/Normalize.cpp index f40026b86..2ccdc2928 100644 --- a/src/effects/Normalize.cpp +++ b/src/effects/Normalize.cpp @@ -65,7 +65,7 @@ wxString EffectNormalize::GetSymbol() wxString EffectNormalize::GetDescription() { - return XO("Sets the peak amplitude of one or more tracks"); + return _("Sets the peak amplitude of one or more tracks"); } wxString EffectNormalize::ManualPage() diff --git a/src/effects/Paulstretch.cpp b/src/effects/Paulstretch.cpp index 30743999f..13f8cf435 100644 --- a/src/effects/Paulstretch.cpp +++ b/src/effects/Paulstretch.cpp @@ -105,7 +105,7 @@ wxString EffectPaulstretch::GetSymbol() wxString EffectPaulstretch::GetDescription() { - return XO("Use Paulstretch only for an extreme time-stretch or \"stasis\" effect"); + return _("Use Paulstretch only for an extreme time-stretch or \"stasis\" effect"); } wxString EffectPaulstretch::ManualPage() diff --git a/src/effects/Phaser.cpp b/src/effects/Phaser.cpp index a5144b089..7fe9e73d9 100644 --- a/src/effects/Phaser.cpp +++ b/src/effects/Phaser.cpp @@ -109,7 +109,7 @@ wxString EffectPhaser::GetSymbol() wxString EffectPhaser::GetDescription() { - return XO("Combines phase-shifted signals with the original signal"); + return _("Combines phase-shifted signals with the original signal"); } wxString EffectPhaser::ManualPage() diff --git a/src/effects/Repair.cpp b/src/effects/Repair.cpp index 73bd23fb7..d01145f25 100644 --- a/src/effects/Repair.cpp +++ b/src/effects/Repair.cpp @@ -50,7 +50,7 @@ wxString EffectRepair::GetSymbol() wxString EffectRepair::GetDescription() { - return XO("Sets the peak amplitude of a one or more tracks"); + return _("Sets the peak amplitude of a one or more tracks"); } // EffectIdentInterface implementation diff --git a/src/effects/Repeat.cpp b/src/effects/Repeat.cpp index 653c4e89f..7529d961f 100644 --- a/src/effects/Repeat.cpp +++ b/src/effects/Repeat.cpp @@ -64,7 +64,7 @@ wxString EffectRepeat::GetSymbol() wxString EffectRepeat::GetDescription() { - return XO("Repeats the selection the specified number of times"); + return _("Repeats the selection the specified number of times"); } wxString EffectRepeat::ManualPage() diff --git a/src/effects/Reverb.cpp b/src/effects/Reverb.cpp index a33170352..21f0e1ea7 100644 --- a/src/effects/Reverb.cpp +++ b/src/effects/Reverb.cpp @@ -137,7 +137,7 @@ wxString EffectReverb::GetSymbol() wxString EffectReverb::GetDescription() { - return XO("Adds ambience or a \"hall effect\""); + return _("Adds ambience or a \"hall effect\""); } wxString EffectReverb::ManualPage() diff --git a/src/effects/Reverse.cpp b/src/effects/Reverse.cpp index 2bf785aea..84b5a056a 100644 --- a/src/effects/Reverse.cpp +++ b/src/effects/Reverse.cpp @@ -45,7 +45,7 @@ wxString EffectReverse::GetSymbol() wxString EffectReverse::GetDescription() { - return XO("Reverses the selected audio"); + return _("Reverses the selected audio"); } // EffectIdentInterface implementation diff --git a/src/effects/ScienFilter.cpp b/src/effects/ScienFilter.cpp index 9e9280d78..083dc988a 100644 --- a/src/effects/ScienFilter.cpp +++ b/src/effects/ScienFilter.cpp @@ -186,7 +186,7 @@ wxString EffectScienFilter::GetSymbol() wxString EffectScienFilter::GetDescription() { - return XO("Performs IIR filtering that emulates analog filters"); + return _("Performs IIR filtering that emulates analog filters"); } wxString EffectScienFilter::ManualPage() diff --git a/src/effects/Silence.cpp b/src/effects/Silence.cpp index 22d116142..440d0e83c 100644 --- a/src/effects/Silence.cpp +++ b/src/effects/Silence.cpp @@ -39,7 +39,7 @@ wxString EffectSilence::GetSymbol() wxString EffectSilence::GetDescription() { - return XO("Creates audio of zero amplitude"); + return _("Creates audio of zero amplitude"); } wxString EffectSilence::ManualPage() diff --git a/src/effects/StereoToMono.cpp b/src/effects/StereoToMono.cpp index 1e3dbc58c..cf73f39a6 100644 --- a/src/effects/StereoToMono.cpp +++ b/src/effects/StereoToMono.cpp @@ -38,7 +38,7 @@ wxString EffectStereoToMono::GetSymbol() wxString EffectStereoToMono::GetDescription() { - return XO("Converts stereo tracks to mono"); + return _("Converts stereo tracks to mono"); } // EffectIdentInterface implementation diff --git a/src/effects/TimeScale.cpp b/src/effects/TimeScale.cpp index ecc041a53..37fb7a2c4 100644 --- a/src/effects/TimeScale.cpp +++ b/src/effects/TimeScale.cpp @@ -96,7 +96,7 @@ wxString EffectTimeScale::GetName() wxString EffectTimeScale::GetDescription() { - return XO("Allows continuous changes to the tempo and/or pitch"); + return _("Allows continuous changes to the tempo and/or pitch"); } wxString EffectTimeScale::ManualPage() diff --git a/src/effects/ToneGen.cpp b/src/effects/ToneGen.cpp index 400da67e9..9ce54daf6 100644 --- a/src/effects/ToneGen.cpp +++ b/src/effects/ToneGen.cpp @@ -129,8 +129,8 @@ wxString EffectToneGen::GetSymbol() wxString EffectToneGen::GetDescription() { return mChirp - ? XO("Generates an ascending or descending tone of one of four types") - : XO("Generates a constant frequency tone of one of four types"); + ? _("Generates an ascending or descending tone of one of four types") + : _("Generates a constant frequency tone of one of four types"); } wxString EffectToneGen::ManualPage() diff --git a/src/effects/TruncSilence.cpp b/src/effects/TruncSilence.cpp index a3cce2b54..349c68e62 100644 --- a/src/effects/TruncSilence.cpp +++ b/src/effects/TruncSilence.cpp @@ -117,7 +117,7 @@ wxString EffectTruncSilence::GetSymbol() wxString EffectTruncSilence::GetDescription() { - return XO("Automatically reduces the length of passages where the volume is below a specified level"); + return _("Automatically reduces the length of passages where the volume is below a specified level"); } wxString EffectTruncSilence::ManualPage() diff --git a/src/effects/VST/VSTEffect.cpp b/src/effects/VST/VSTEffect.cpp index 366a63e93..ec164aa86 100644 --- a/src/effects/VST/VSTEffect.cpp +++ b/src/effects/VST/VSTEffect.cpp @@ -332,7 +332,7 @@ wxString VSTEffectsModule::GetVersion() wxString VSTEffectsModule::GetDescription() { - return XO("Adds the ability to use VST effects in Audacity."); + return _("Adds the ability to use VST effects in Audacity."); } // ============================================================================ @@ -1214,15 +1214,11 @@ wxString VSTEffect::GetVersion() wxString VSTEffect::GetDescription() { - // VST does have a product string opcode and sum effects return a short + // VST does have a product string opcode and some effects return a short // description, but most do not or they just return the name again. So, // try to provide some sort of useful information. - mDescription = XO("Audio In: ") + - wxString::Format(wxT("%d"), mAudioIns) + - XO(", Audio Out: ") + - wxString::Format(wxT("%d"), mAudioOuts); - - return mDescription; + return wxString::Format( _("Audio In: %d, Audio Out: %d"), + mAudioIns, mAudioOuts); } // ============================================================================ diff --git a/src/effects/Wahwah.cpp b/src/effects/Wahwah.cpp index 3d10e878b..7ac3ce344 100644 --- a/src/effects/Wahwah.cpp +++ b/src/effects/Wahwah.cpp @@ -100,7 +100,7 @@ wxString EffectWahwah::GetSymbol() wxString EffectWahwah::GetDescription() { - return XO("Rapid tone quality variations, like that guitar sound so popular in the 1970's"); + return _("Rapid tone quality variations, like that guitar sound so popular in the 1970's"); } wxString EffectWahwah::ManualPage() diff --git a/src/effects/audiounits/AudioUnitEffect.cpp b/src/effects/audiounits/AudioUnitEffect.cpp index 36a3a92c4..2c89e64f2 100644 --- a/src/effects/audiounits/AudioUnitEffect.cpp +++ b/src/effects/audiounits/AudioUnitEffect.cpp @@ -134,7 +134,7 @@ wxString AudioUnitEffectsModule::GetVersion() wxString AudioUnitEffectsModule::GetDescription() { - return XO("Provides Audio Unit Effects support to Audacity"); + return _("Provides Audio Unit Effects support to Audacity"); } // ============================================================================ @@ -914,7 +914,7 @@ wxString AudioUnitEffect::GetVersion() wxString AudioUnitEffect::GetDescription() { /* i18n-hint: Can mean "not available," "not applicable," "no answer" */ - return XO("n/a"); + return _("n/a"); } // ============================================================================ diff --git a/src/effects/ladspa/LadspaEffect.cpp b/src/effects/ladspa/LadspaEffect.cpp index d9485618c..7ef28c11a 100644 --- a/src/effects/ladspa/LadspaEffect.cpp +++ b/src/effects/ladspa/LadspaEffect.cpp @@ -135,7 +135,7 @@ wxString LadspaEffectsModule::GetVersion() wxString LadspaEffectsModule::GetDescription() { - return XO("Provides LADSPA Effects"); + return _("Provides LADSPA Effects"); } // ============================================================================ diff --git a/src/effects/lv2/LV2Effect.cpp b/src/effects/lv2/LV2Effect.cpp index 226f3bd5b..fa4da0236 100644 --- a/src/effects/lv2/LV2Effect.cpp +++ b/src/effects/lv2/LV2Effect.cpp @@ -364,7 +364,7 @@ wxString LV2Effect::GetVersion() wxString LV2Effect::GetDescription() { - return XO("n/a"); + return _("n/a"); } // ============================================================================ diff --git a/src/effects/lv2/LoadLV2.cpp b/src/effects/lv2/LoadLV2.cpp index 3f13ee9b5..6ddb031b4 100644 --- a/src/effects/lv2/LoadLV2.cpp +++ b/src/effects/lv2/LoadLV2.cpp @@ -119,7 +119,7 @@ wxString LV2EffectsModule::GetVersion() wxString LV2EffectsModule::GetDescription() { - return XO("Provides LV2 Effects support to Audacity"); + return _("Provides LV2 Effects support to Audacity"); } // ============================================================================ diff --git a/src/effects/nyquist/LoadNyquist.cpp b/src/effects/nyquist/LoadNyquist.cpp index 50dced7ce..df5d8e526 100644 --- a/src/effects/nyquist/LoadNyquist.cpp +++ b/src/effects/nyquist/LoadNyquist.cpp @@ -124,7 +124,7 @@ wxString NyquistEffectsModule::GetVersion() wxString NyquistEffectsModule::GetDescription() { - return XO("Provides Nyquist Effects support to Audacity"); + return _("Provides Nyquist Effects support to Audacity"); } // ============================================================================ diff --git a/src/effects/vamp/LoadVamp.cpp b/src/effects/vamp/LoadVamp.cpp index 9905caf54..2956b6692 100644 --- a/src/effects/vamp/LoadVamp.cpp +++ b/src/effects/vamp/LoadVamp.cpp @@ -98,7 +98,7 @@ wxString VampEffectsModule::GetVersion() wxString VampEffectsModule::GetDescription() { - return XO("Provides Vamp Effects support to Audacity"); + return _("Provides Vamp Effects support to Audacity"); } // ============================================================================