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

Indicative mood for all verbs in command and effect descriptions...

... Some of them have no verb.
This commit is contained in:
Paul Licameli
2018-03-10 18:55:02 -05:00
parent f4a971da9e
commit dd1ffb0390
6 changed files with 7 additions and 6 deletions

View File

@@ -69,6 +69,7 @@ public:
virtual wxString GetVersion() = 0; virtual wxString GetVersion() = 0;
// This returns a translated string // This returns a translated string
// Any verb should be present tense indicative, not imperative
virtual wxString GetDescription() = 0; virtual wxString GetDescription() = 0;
// non-virtual convenience function // non-virtual convenience function

View File

@@ -28,7 +28,7 @@ class OpenProjectCommand : public AudacityCommand
public: public:
// CommandDefinitionInterface overrides // CommandDefinitionInterface overrides
wxString GetSymbol() override {return OPEN_PROJECT_PLUGIN_SYMBOL;}; wxString GetSymbol() override {return OPEN_PROJECT_PLUGIN_SYMBOL;};
wxString GetDescription() override {return _("Open a project.");}; wxString GetDescription() override {return _("Opens a project.");};
bool DefineParams( ShuttleParams & S ) override; bool DefineParams( ShuttleParams & S ) override;
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
@@ -61,4 +61,4 @@ public:
bool mbCompress; bool mbCompress;
bool bHasAddToHistory; bool bHasAddToHistory;
bool bHasCompress; bool bHasCompress;
}; };

View File

@@ -122,7 +122,7 @@ wxString EffectChangePitch::GetSymbol()
wxString EffectChangePitch::GetDescription() wxString EffectChangePitch::GetDescription()
{ {
return _("Change the pitch of a track without changing its tempo"); return _("Changes the pitch of a track without changing its tempo");
} }
wxString EffectChangePitch::ManualPage() wxString EffectChangePitch::ManualPage()

View File

@@ -112,7 +112,7 @@ wxString EffectChangeSpeed::GetSymbol()
wxString EffectChangeSpeed::GetDescription() wxString EffectChangeSpeed::GetDescription()
{ {
return _("Change the speed of a track, also changing its pitch"); return _("Changes the speed of a track, also changing its pitch");
} }
wxString EffectChangeSpeed::ManualPage() wxString EffectChangeSpeed::ManualPage()

View File

@@ -99,7 +99,7 @@ wxString EffectChangeTempo::GetSymbol()
wxString EffectChangeTempo::GetDescription() wxString EffectChangeTempo::GetDescription()
{ {
return _("Change the tempo of a selection without changing its pitch"); return _("Changes the tempo of a selection without changing its pitch");
} }
wxString EffectChangeTempo::ManualPage() wxString EffectChangeTempo::ManualPage()

View File

@@ -105,7 +105,7 @@ wxString EffectPaulstretch::GetSymbol()
wxString EffectPaulstretch::GetDescription() wxString EffectPaulstretch::GetDescription()
{ {
return _("Use Paulstretch only for an extreme time-stretch or \"stasis\" effect"); return _("Paulstretch is only for an extreme time-stretch or \"stasis\" effect");
} }
wxString EffectPaulstretch::ManualPage() wxString EffectPaulstretch::ManualPage()