From c9fd0ea0cada35be81f8b10925d29be5d2af859b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 14 Apr 2016 20:05:41 +0200 Subject: Simplify port add/remove error messages. The detailed information is no longer correct with flexible routing since pin management. --- gtk2_ardour/port_matrix.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/port_matrix.cc') diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index 11a76dddc6..1bfb920c3b 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -729,9 +729,7 @@ PortMatrix::add_channel (boost::shared_ptr b, DataType t) if (io) { int const r = io->add_port ("", this, t); if (r == -1) { - Gtk::MessageDialog msg (_("It is not possible to add a port here, as the first processor in the track or buss cannot " - "support the new configuration." - )); + Gtk::MessageDialog msg (_("It is not possible to add a port here.")); msg.set_title (_("Cannot add port")); msg.run (); } @@ -759,7 +757,7 @@ PortMatrix::remove_channel (ARDOUR::BundleChannel b) errmsg = _("The last port cannot be removed"); } else { if (-1 == io->remove_port (p, this)) { - errmsg = _("This port cannot be removed.\nEither the first plugin in the track or buss cannot accept\nthe new number of inputs or the last plugin has more outputs."); + errmsg = _("This port cannot be removed."); } } -- cgit v1.2.3