1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

In "Select Command" translate all...

... Not only the menu command names, as previously, but also:

Effect and Command names
Special command names
This commit is contained in:
Paul Licameli 2018-03-14 19:07:55 -04:00
parent 357b05efd2
commit 59d41db63a

View File

@ -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)")