From 241a9edd3eecf7d5062818ca391a2352500f9a01 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 5 Feb 2013 18:18:35 +0000 Subject: 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 --- gtk2_ardour/main.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour/main.cc') 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); } -- cgit v1.2.3