From 59d41db63ab8c2c6b3bbc63a9718cf2a81e95819 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 14 Mar 2018 19:07:55 -0400 Subject: [PATCH] In "Select Command" translate all... ... Not only the menu command names, as previously, but also: Effect and Command names Special command names --- src/BatchCommands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BatchCommands.cpp b/src/BatchCommands.cpp index 2c6988aa5..cd140477c 100644 --- a/src/BatchCommands.cpp +++ b/src/BatchCommands.cpp @@ -283,7 +283,7 @@ MacroCommandsCatalog::MacroCommandsCatalog( const AudacityProject *project ) Entries commands; for( const auto &command : SpecialCommands ) commands.push_back( { - command.first /* .Translation() */, + GetCustomTranslation( command.first ), command.second, _("Special Command") } ); @@ -299,7 +299,7 @@ MacroCommandsCatalog::MacroCommandsCatalog( const AudacityProject *project ) auto command = em.GetCommandIdentifier(plug->GetID()); if (!command.IsEmpty()) commands.push_back( { - plug->GetUntranslatedName(), // plug->GetTranslatedName(), + plug->GetTranslatedName(), command, plug->GetPluginType() == PluginTypeEffect ? _("Effect") : _("Menu Command (With Parameters)")