1
0
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:
Paul Licameli
2017-09-10 10:42:33 -04:00
parent d7574b799b
commit 378c96fda1
14 changed files with 92 additions and 95 deletions

View File

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