mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 17:11:20 +01:00
Separate plugin accessors for translated and unstranslated strings...
... because I want to make a type distinction later. Replace calls to GetXXX() without argument, with GetTranslatedXXX() -- this reveals a subtle error, see next commit.
This commit is contained in:
@@ -63,10 +63,13 @@ public:
|
||||
const wxString & GetSymbol() const;
|
||||
|
||||
wxString GetUntranslatedVersion() const;
|
||||
// There is no translated version
|
||||
|
||||
// These return translated strings (if available and if requested)
|
||||
wxString GetName(bool translate = true) const;
|
||||
wxString GetVendor(bool translate = true) const;
|
||||
wxString GetUntranslatedName() const;
|
||||
wxString GetTranslatedName() const;
|
||||
|
||||
wxString GetUntranslatedVendor() const;
|
||||
wxString GetTranslatedVendor() const;
|
||||
bool IsEnabled() const;
|
||||
bool IsValid() const;
|
||||
|
||||
@@ -87,8 +90,8 @@ public:
|
||||
|
||||
// Effect plugins only
|
||||
|
||||
// Will return an untranslated string
|
||||
wxString GetEffectFamily(bool translate = true) const;
|
||||
wxString GetUntranslatedEffectFamily() const;
|
||||
wxString GetTranslatedEffectFamily() const;
|
||||
EffectType GetEffectType() const;
|
||||
bool IsEffectDefault() const;
|
||||
bool IsEffectInteractive() const;
|
||||
|
||||
Reference in New Issue
Block a user