mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
DiscoverPluginsAtPath reports error as TranslatableString
This commit is contained in:
@@ -209,10 +209,10 @@ PluginPaths VampEffectsModule::FindPluginPaths(PluginManagerInterface & WXUNUSED
|
||||
}
|
||||
|
||||
unsigned VampEffectsModule::DiscoverPluginsAtPath(
|
||||
const PluginPath & path, wxString &errMsg,
|
||||
const PluginPath & path, TranslatableString &errMsg,
|
||||
const RegistrationCallback &callback)
|
||||
{
|
||||
errMsg.clear();
|
||||
errMsg = {};
|
||||
int output;
|
||||
bool hasParameters;
|
||||
|
||||
@@ -226,7 +226,7 @@ unsigned VampEffectsModule::DiscoverPluginsAtPath(
|
||||
return 1;
|
||||
}
|
||||
|
||||
errMsg = _("Could not load the library");
|
||||
errMsg = XO("Could not load the library");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
|
||||
PluginPaths FindPluginPaths(PluginManagerInterface & pm) override;
|
||||
unsigned DiscoverPluginsAtPath(
|
||||
const PluginPath & path, wxString &errMsg,
|
||||
const PluginPath & path, TranslatableString &errMsg,
|
||||
const RegistrationCallback &callback)
|
||||
override;
|
||||
|
||||
|
Reference in New Issue
Block a user