Simplify port add/remove error messages.
authorRobin Gareus <robin@gareus.org>
Thu, 14 Apr 2016 18:05:41 +0000 (20:05 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 14 Apr 2016 18:05:41 +0000 (20:05 +0200)
The detailed information is no longer correct with flexible routing
since pin management.

gtk2_ardour/port_matrix.cc

index 11a76dddc6768abfb2c1475a95bec57954d0d262..1bfb920c3becec80e8abb3e73cce484d80b889c2 100644 (file)
@@ -729,9 +729,7 @@ PortMatrix::add_channel (boost::shared_ptr<Bundle> 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.");
                }
        }