1
0
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:
Paul Licameli
2019-12-18 00:27:40 -05:00
parent 49cab86fc1
commit 1537930195
22 changed files with 58 additions and 58 deletions

View File

@@ -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;
}

View File

@@ -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;