mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
Consistently use translated effect name in titles of message boxes...
... For built-in and Nyquist effects.
This commit is contained in:
@@ -324,7 +324,7 @@ bool VampEffect::Init()
|
||||
|
||||
if (left->GetRate() != right->GetRate())
|
||||
{
|
||||
wxMessageBox(_("Sorry, Vamp Plug-ins cannot be run on stereo tracks where the individual channels of the track do not match."));
|
||||
Effect::MessageBox(_("Sorry, Vamp Plug-ins cannot be run on stereo tracks where the individual channels of the track do not match."));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -343,7 +343,7 @@ bool VampEffect::Init()
|
||||
mPlugin.reset(loader->loadPlugin(mKey, mRate, Vamp::HostExt::PluginLoader::ADAPT_ALL));
|
||||
if (!mPlugin)
|
||||
{
|
||||
wxMessageBox(_("Sorry, failed to load Vamp Plug-in."));
|
||||
Effect::MessageBox(_("Sorry, failed to load Vamp Plug-in."));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -437,7 +437,7 @@ bool VampEffect::Process()
|
||||
{
|
||||
if (!mPlugin->initialise(channels, step, block))
|
||||
{
|
||||
wxMessageBox(_("Sorry, Vamp Plug-in failed to initialize."));
|
||||
Effect::MessageBox(_("Sorry, Vamp Plug-in failed to initialize."));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user