diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-02-05 18:18:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-02-05 18:18:35 +0000 |
commit | 241a9edd3eecf7d5062818ca391a2352500f9a01 (patch) | |
tree | ac28c60575b7df9911e544964d521def5929a826 /gtk2_ardour/plugin_ui.cc | |
parent | 2398b955c34e3a8ca9411a632208b2ab196197bb (diff) |
replace final(?) incidences of program name (ardour, Ardour) with PROGRAM_NAME (thanks to edgar for tracking them all down)
git-svn-id: svn://localhost/ardour2/branches/3.0@14050 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 555ffe0b21..2dd8741a13 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -124,7 +124,7 @@ PluginUIWindow::PluginUIWindow ( default: #ifndef WINDOWS_VST_SUPPORT - error << _("unknown type of editor-supplying plugin (note: no VST support in this version of ardour)") + error << string_compose (_("unknown type of editor-supplying plugin (note: no VST support in this version of %1)"), PROGRAM_NAME) << endmsg; #else error << _("unknown type of editor-supplying plugin") @@ -267,8 +267,8 @@ PluginUIWindow::create_windows_vst_editor(boost::shared_ptr<PluginInsert>) boost::shared_ptr<WindowsVSTPlugin> vp; if ((vp = boost::dynamic_pointer_cast<WindowsVSTPlugin> (insert->plugin())) == 0) { - error << _("unknown type of editor-supplying plugin (note: no VST support in this version of ardour)") - << endmsg; + error << string_compose (_("unknown type of editor-supplying plugin (note: no VST support in this version of %1)"), PROGRAM_NAME) + << endmsg; throw failed_constructor (); } else { WindowsVSTPluginUI* vpu = new WindowsVSTPluginUI (insert, vp); @@ -297,8 +297,8 @@ PluginUIWindow::create_lxvst_editor(boost::shared_ptr<PluginInsert>) boost::shared_ptr<LXVSTPlugin> lxvp; if ((lxvp = boost::dynamic_pointer_cast<LXVSTPlugin> (insert->plugin())) == 0) { - error << _("unknown type of editor-supplying plugin (note: no linuxVST support in this version of ardour)") - << endmsg; + error << string_compose (_("unknown type of editor-supplying plugin (note: no linuxVST support in this version of %1)"), PROGRAM_NAME) + << endmsg; throw failed_constructor (); } else { LXVSTPluginUI* lxvpu = new LXVSTPluginUI (insert, lxvp); |