summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-14 20:05:41 +0200
committerRobin Gareus <robin@gareus.org>2016-04-14 20:05:41 +0200
commitc9fd0ea0cada35be81f8b10925d29be5d2af859b (patch)
tree637aa37999a122d944aeec1f04f5a29b1083d9b0
parentd739d2fd643b309bd1cebc1b59bfdc8543af2a22 (diff)
Simplify port add/remove error messages.
The detailed information is no longer correct with flexible routing since pin management.
-rw-r--r--gtk2_ardour/port_matrix.cc6
1 files changed, 2 insertions, 4 deletions
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<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.");
}
}