mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +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:
parent
357b05efd2
commit
59d41db63a
@ -283,7 +283,7 @@ MacroCommandsCatalog::MacroCommandsCatalog( const AudacityProject *project )
|
|||||||
Entries commands;
|
Entries commands;
|
||||||
for( const auto &command : SpecialCommands )
|
for( const auto &command : SpecialCommands )
|
||||||
commands.push_back( {
|
commands.push_back( {
|
||||||
command.first /* .Translation() */,
|
GetCustomTranslation( command.first ),
|
||||||
command.second,
|
command.second,
|
||||||
_("Special Command")
|
_("Special Command")
|
||||||
} );
|
} );
|
||||||
@ -299,7 +299,7 @@ MacroCommandsCatalog::MacroCommandsCatalog( const AudacityProject *project )
|
|||||||
auto command = em.GetCommandIdentifier(plug->GetID());
|
auto command = em.GetCommandIdentifier(plug->GetID());
|
||||||
if (!command.IsEmpty())
|
if (!command.IsEmpty())
|
||||||
commands.push_back( {
|
commands.push_back( {
|
||||||
plug->GetUntranslatedName(), // plug->GetTranslatedName(),
|
plug->GetTranslatedName(),
|
||||||
command,
|
command,
|
||||||
plug->GetPluginType() == PluginTypeEffect ?
|
plug->GetPluginType() == PluginTypeEffect ?
|
||||||
_("Effect") : _("Menu Command (With Parameters)")
|
_("Effect") : _("Menu Command (With Parameters)")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user