summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-01-03 14:19:31 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-01-03 14:19:31 +0000
commit599d7f66e4dfa827329644d4cdd92c5056dbfa93 (patch)
tree95e80098ca45a8b4686642949af5927a6c4fdd9f
parent68079ec0cd7a2029f52bf736929cc623ff8ac6a3 (diff)
use new plural form macro
git-svn-id: svn://localhost/ardour2/branches/3.0@13760 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/ardour_ui.cc15
1 files changed, 4 insertions, 11 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 203b29f15c..36e4baf671 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -1436,12 +1436,8 @@ ARDOUR_UI::session_add_audio_route (
tracks = _session->new_audio_track (input_channels, output_channels, mode, route_group, how_many, name_template);
if (tracks.size() != how_many) {
- if (how_many == 1) {
- error << _("could not create a new audio track") << endmsg;
- } else {
- error << string_compose (_("could only create %1 of %2 new audio %3"),
- tracks.size(), how_many, (track ? _("tracks") : _("busses"))) << endmsg;
- }
+ error << string_compose (P_("could not create new audio track", "could not create %1 new audio tracks", how_many), how_many)
+ << endmsg;
}
} else {
@@ -1449,11 +1445,8 @@ ARDOUR_UI::session_add_audio_route (
routes = _session->new_audio_route (input_channels, output_channels, route_group, how_many, name_template);
if (routes.size() != how_many) {
- if (how_many == 1) {
- error << _("could not create a new audio bus") << endmsg;
- } else {
- error << string_compose (_("could not create %1 new audio busses"), how_many) << endmsg;
- }
+ error << string_compose (P_("could not create new audio bus", "could not create %1 new audio busses", how_many), how_many)
+ << endmsg;
}
}
}