summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_server_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-23 20:24:23 +0200
committerRobin Gareus <robin@gareus.org>2013-07-23 20:24:23 +0200
commitdd65329363c27d4674d8b3ec80342b59340d58be (patch)
tree4852013aa7d0545143b45a89d4008be956b583e4 /gtk2_ardour/video_server_dialog.cc
parentc4c70c347d2e264fb33e1965bc1c1ccc16bc2830 (diff)
clean up video related messages
Diffstat (limited to 'gtk2_ardour/video_server_dialog.cc')
-rw-r--r--gtk2_ardour/video_server_dialog.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/video_server_dialog.cc b/gtk2_ardour/video_server_dialog.cc
index 8838409ccf..d7a018a045 100644
--- a/gtk2_ardour/video_server_dialog.cc
+++ b/gtk2_ardour/video_server_dialog.cc
@@ -87,8 +87,10 @@ VideoServerDialog::VideoServerDialog (Session* s)
}
else {
PBD::warning <<
- _("The external video server 'harvid' can not be found. The tool is included with the Ardour releases from ardour.org, "
- "alternatively you can download it from http://x42.github.com/harvid/ or acquire it from your distribution.") << endmsg;
+ string_compose(
+ _("The external video server 'harvid' can not be found. The tool is included with the %1 releases from ardour.org, "
+ "alternatively you can download it from http://x42.github.com/harvid/ or acquire it from your distribution."), PROGRAM_NAME)
+ << endmsg;
}
@@ -129,7 +131,9 @@ VideoServerDialog::VideoServerDialog (Session* s)
t->attach (*l, 0, 1, 2, 3, FILL);
t->attach (cachesize_spinner, 1, 2, 2, 3);
- l = manage (new Label (_("Ardour relies on an external Video Server for the videotimeline.\nThe server configured in Edit -> Prefereces -> Video is not reachable.\nDo you want ardour to launch 'harvid' on this machine?"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+ l = manage (new Label (string_compose(
+ _("%1 relies on an external Video Server for the videotimeline.\nThe server configured in Edit -> Prefereces -> Video is not reachable.\nDo you want ardour to launch 'harvid' on this machine?"), PROGRAM_NAME)
+ , Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l->set_max_width_chars(80);
l->set_line_wrap();
vbox->pack_start (*l, true, true, 4);