summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-02-05 18:18:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-02-05 18:18:35 +0000
commit241a9edd3eecf7d5062818ca391a2352500f9a01 (patch)
treeac28c60575b7df9911e544964d521def5929a826 /gtk2_ardour/main.cc
parent2398b955c34e3a8ca9411a632208b2ab196197bb (diff)
replace final(?) incidences of program name (ardour, Ardour) with PROGRAM_NAME (thanks to edgar for tracking them all down)
git-svn-id: svn://localhost/ardour2/branches/3.0@14050 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 8b7a8772b2..74d310e75a 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -80,13 +80,13 @@ gui_jack_error ()
false,
Gtk::MESSAGE_INFO,
Gtk::BUTTONS_NONE);
-win.set_secondary_text(_("There are several possible reasons:\n\
+ win.set_secondary_text(string_compose (_("There are several possible reasons:\n\
\n\
1) JACK is not running.\n\
2) JACK is running as another user, perhaps root.\n\
-3) There is already another client called \"ardour\".\n\
+3) There is already another client called \"%1\".\n\
\n\
-Please consider the possibilities, and perhaps (re)start JACK."));
+Please consider the possibilities, and perhaps (re)start JACK."), PROGRAM_NAME));
win.add_button (Stock::QUIT, RESPONSE_CLOSE);
win.set_default_response (RESPONSE_CLOSE);
@@ -194,7 +194,7 @@ fixup_bundle_environment (int, char* [])
*/
if (g_mkdir_with_parents (userconfigdir.c_str(), 0755) < 0) {
- error << string_compose (_("cannot create user ardour folder %1 (%2)"), userconfigdir, strerror (errno))
+ error << string_compose (_("cannot create user %3 folder %1 (%2)"), userconfigdir, strerror (errno), PROGRAM_NAME)
<< endmsg;
} else {
@@ -312,7 +312,7 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
*/
if (g_mkdir_with_parents (userconfigdir.c_str(), 0755) < 0) {
- error << string_compose (_("cannot create user ardour folder %1 (%2)"), userconfigdir, strerror (errno))
+ error << string_compose (_("cannot create user %3 folder %1 (%2)"), userconfigdir, strerror (errno), PROGRAM_NAME)
<< endmsg;
} else {
@@ -513,7 +513,7 @@ int main (int argc, char *argv[])
try {
ui = new ARDOUR_UI (&argc, &argv, localedir);
} catch (failed_constructor& err) {
- error << _("could not create ARDOUR GUI") << endmsg;
+ error << string_compose (_("could not create %1 GUI"), PROGRAM_NAME) << endmsg;
exit (1);
}