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

Make effect family names translatable and add i18n-hint comments

This commit is contained in:
Paul Licameli 2018-04-10 21:51:16 -04:00
parent 2c19e8f81e
commit d9606e8cdf
9 changed files with 24 additions and 10 deletions

View File

@ -22,7 +22,9 @@
#include "VSTControl.h"
#define VSTCMDKEY wxT("-checkvst")
#define VSTPLUGINTYPE wxT("VST")
/* i18n-hint: Abbreviates Virtual Studio Technology, an audio software protocol
developed by Steinberg GmbH */
#define VSTPLUGINTYPE XO("VST")
#define audacityVSTID CCONST('a', 'u', 'D', 'y');

View File

@ -118,6 +118,7 @@ wxString AudioUnitEffectsModule::GetSymbol()
wxString AudioUnitEffectsModule::GetName()
{
/* 18n-hint: Audio Unit is the name of an Apple audio software protocol */
return XO("Audio Unit Effects");
}

View File

@ -29,7 +29,8 @@
#include "AUControl.h"
#define AUDIOUNITEFFECTS_VERSION wxT("1.0.0.0")
#define AUDIOUNITEFFECTS_FAMILY wxT("AudioUnit")
/* 18n-hint: the name of an Apple audio software protocol */
#define AUDIOUNITEFFECTS_FAMILY XO("AudioUnit")
class AudioUnitEffect;

View File

@ -118,6 +118,9 @@ wxString LadspaEffectsModule::GetPath()
wxString LadspaEffectsModule::GetSymbol()
{
/* i8n-hint: abbreviates "Linux Audio Developer's Simple Plugin API"
(Application programming interface)
*/
return XO("LADSPA Effects");
}

View File

@ -26,7 +26,10 @@ class wxCheckBox;
#include "../../SampleFormat.h"
#define LADSPAEFFECTS_VERSION wxT("1.0.0.0")
#define LADSPAEFFECTS_FAMILY wxT("LADSPA")
/* i8n-hint: abbreviates "Linux Audio Developer's Simple Plugin API"
(Application programming interface)
*/
#define LADSPAEFFECTS_FAMILY XO("LADSPA")
///////////////////////////////////////////////////////////////////////////////
//

View File

@ -43,7 +43,9 @@
#endif
#define LV2EFFECTS_VERSION wxT("1.0.0.0")
#define LV2EFFECTS_FAMILY wxT("LV2")
/* i18n-hint: abbreviates
"Linux Audio Developer's Simple Plugin API (LADSPA) version 2" */
#define LV2EFFECTS_FAMILY XO("LV2")
/** A structure that contains information about a single LV2 plugin port. */
class LV2Port

View File

@ -144,10 +144,6 @@ NyquistEffect::NyquistEffect(const wxString &fName)
// Interactive Nyquist
if (fName == NYQUIST_PROMPT_ID) {
/* i18n-hint: "Nyquist" is an embedded interpreted programming language in
Audacity, named in honor of the Swedish-American Harry Nyquist (or Nyqvist).
In the translations of this and other strings, you may transliterate the
name into another alphabet. */
mName = XO("Nyquist Prompt");
mType = EffectTypeProcess;
mOK = true;

View File

@ -28,7 +28,11 @@
#include "nyx.h"
#define NYQUISTEFFECTS_VERSION wxT("1.0.0.0")
#define NYQUISTEFFECTS_FAMILY ( IdentInterfaceSymbol{ wxT("Nyquist") } )
/* i18n-hint: "Nyquist" is an embedded interpreted programming language in
Audacity, named in honor of the Swedish-American Harry Nyquist (or Nyqvist).
In the translations of this and other strings, you may transliterate the
name into another alphabet. */
#define NYQUISTEFFECTS_FAMILY ( IdentInterfaceSymbol{ XO("Nyquist") } )
#define NYQUIST_PROMPT_ID wxT("Nyquist Prompt")
#define NYQUIST_TOOLS_PROMPT_ID wxT("Nyquist Tools Prompt")

View File

@ -31,7 +31,9 @@
class LabelTrack;
#define VAMPEFFECTS_VERSION wxT("1.0.0.0")
#define VAMPEFFECTS_FAMILY wxT("Vamp")
/* i18n-hint: Vamp is the porper name of a software protocol for sound analysis.
It is not an abbreviation for anything. see http://vamp-plugins.org */
#define VAMPEFFECTS_FAMILY XO("Vamp")
class VampEffect final : public Effect
{