mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Re-adding localized menu labels for effects
If you can believe it, this whole big mess is just to get localized effect labels back into the menus. I sure wish I'd had a little bit more time to finish up all of the effects. It sure would be a lot cleaner (code wise).
This commit is contained in:
@@ -1123,8 +1123,8 @@ bool CommandManager::HandleTextualCommand(wxString & Str, wxUint32 flags, wxUint
|
||||
EffectManager & em = EffectManager::Get();
|
||||
const PluginDescriptor *plug = pm.GetFirstPlugin(PluginTypeEffect);
|
||||
while (plug)
|
||||
{
|
||||
if (em.GetEffectName(plug->GetID()).IsSameAs(Str))
|
||||
{
|
||||
if (em.GetEffectByIdentifier(plug->GetID()).IsSameAs(Str))
|
||||
{
|
||||
return proj->OnEffect( ALL_EFFECTS | CONFIGURED_EFFECT, plug->GetID());
|
||||
}
|
||||
|
Reference in New Issue
Block a user