1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

INTERNAL, not TRANSLATED, command/effect names in config key paths...

... This may make a difference and breadk compatibility only for Sliding Time
Scale/Pitch Shift, the one effect for which those were different.

Using a locale-independent internal string in a config file is the Right
Thing To Do.
This commit is contained in:
Paul Licameli 2018-04-11 11:46:35 -04:00
parent b200819f75
commit a0762d67b5

View File

@ -2609,7 +2609,7 @@ PluginID PluginManager::GetID(ModuleInterface *module)
GetPluginTypeString(PluginTypeModule),
wxEmptyString,
module->GetVendor().Internal(),
module->GetSymbol().Translation(),
module->GetSymbol().Internal(),
module->GetPath());
}
@ -2619,7 +2619,7 @@ PluginID PluginManager::GetID(CommandDefinitionInterface *command)
GetPluginTypeString(PluginTypeAudacityCommand),
wxEmptyString,
command->GetVendor().Internal(),
command->GetSymbol().Translation(),
command->GetSymbol().Internal(),
command->GetPath());
}
@ -2629,7 +2629,7 @@ PluginID PluginManager::GetID(EffectDefinitionInterface *effect)
GetPluginTypeString(PluginTypeEffect),
effect->GetFamilyId().Internal(),
effect->GetVendor().Internal(),
effect->GetSymbol().Translation(),
effect->GetSymbol().Internal(),
effect->GetPath());
}
@ -2639,7 +2639,7 @@ PluginID PluginManager::GetID(ImporterInterface *importer)
GetPluginTypeString(PluginTypeImporter),
wxEmptyString,
importer->GetVendor().Internal(),
importer->GetSymbol().Translation(),
importer->GetSymbol().Internal(),
importer->GetPath());
}