fix a few dangling uses of Ardour as program name, in favor of PROGRAM_NAME
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 29 Feb 2012 20:18:18 +0000 (20:18 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 29 Feb 2012 20:18:18 +0000 (20:18 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11563 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_ui.cc
gtk2_ardour/rc_option_editor.cc
gtk2_ardour/session_option_editor.cc
libs/ardour/directory_names.cc
libs/ardour/export_handler.cc
libs/ardour/session_vst.cc

index 77de24263aa585ee76c51f8278938c75ac68c9ab..56eced0d518d06a5842e4c186daca25bc44174f4 100644 (file)
@@ -3110,9 +3110,9 @@ require some unused files to continue to exist."));
        }
 
        if (removed > 1) {
-               txt.set_text (string_compose (plural_msg, removed, dead_directory, space_adjusted, bprefix));
+               txt.set_text (string_compose (plural_msg, removed, dead_directory, space_adjusted, bprefix, PROGRAM_NAME));
        } else {
-               txt.set_text (string_compose (singular_msg, removed, dead_directory, space_adjusted, bprefix));
+               txt.set_text (string_compose (singular_msg, removed, dead_directory, space_adjusted, bprefix, PROGRAM_NAME));
        }
 
        dhbox.pack_start (*dimage, true, false, 5);
@@ -3212,7 +3212,7 @@ Clean-up will move all unused files to a \"dead\" location."));
 The following %1 files were not in use and \n\
 have been moved to:\n\n\
 %2\n\n\
-After a restart of Ardour,\n\n\
+After a restart of %5,\n\n\
 Session -> Clean-up -> Flush Wastebasket\n\n\
 will release an additional\n\
 %3 %4bytes of disk space.\n"),
@@ -3220,7 +3220,7 @@ will release an additional\n\
 The following file was not in use and \n\
 has been moved to:\n                           \
 %2\n\n\
-After a restart of Ardour,\n\n\
+After a restart of %5,\n\n\
 Session -> Clean-up -> Flush Wastebasket\n\n\
 will release an additional\n\
 %3 %4bytes of disk space.\n"
index 3a465c0b287c6c5dfb7be5f4d930217354f6adc1..c5952f0b6487b45eb546f8d0ed469c80d30a34cd 100644 (file)
@@ -877,7 +877,7 @@ RCOptionEditor::RCOptionEditor ()
                         procs->add (i, string_compose (_("%1 processors"), i));
                 }
 
-               procs->set_note (_("This setting will only take effect when Ardour is restarted."));
+               procs->set_note (string_compose (_("This setting will only take effect when %1 is restarted."), PROGRAM_NAME));
 
                 add_option (_("Misc"), procs);
         }
@@ -1552,7 +1552,7 @@ RCOptionEditor::RCOptionEditor ()
        add_option (S_("Visual|Interface"),
                    new BoolOption (
                            "use-own-plugin-gui",
-                           _("Use plugins' own interface instead of Ardour's basic one"),
+                           _("Use plugins' own interface instead of a builtin one"),
                            sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_plugin_own_gui),
                            sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_plugin_own_gui)
                            ));
index c494870d7bf9993bd53dc685cea7fe6b63779e2a..b52464454299bf80fda0e203245b3917dba295a4 100644 (file)
@@ -135,7 +135,7 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
 
        add_option (_("Timecode"), new BoolOption (
                            "jack-time-master",
-                           _("Ardour is JACK Time Master (provides Bar|Beat|Tick and other information to JACK)"),
+                           string_compose (_("%1 is JACK Time Master (provides Bar|Beat|Tick and other information to JACK)"), PROGRAM_NAME),
                            sigc::mem_fun (*_session_config, &SessionConfiguration::get_jack_time_master),
                            sigc::mem_fun (*_session_config, &SessionConfiguration::set_jack_time_master)
                            ));
index 1e2b08198f05c8d94c714741d60ffe84187988ac..a90dd9e0f40185bfafc5f42e1b6bc53af5f49a41 100644 (file)
@@ -18,7 +18,6 @@ const char* const route_templates_dir_name = X_("route_templates");
 const char* const surfaces_dir_name = X_("surfaces");
 const char* const panner_dir_name = X_("panners");
 
-
 /* these should end up using variants of PROGRAM_NAME */
 #ifdef __APPLE__
 const char* const user_config_dir_name = X_("Ardour" "3");
index 54b46ba6174a7c57f8ae54fb6722ed4f8ddb107d..f44450d3f01b0f844d4e6744ddf54385e00144b3 100644 (file)
@@ -424,7 +424,7 @@ ExportHandler::write_cue_header (CDMarkerStatus & status)
 {
        string title = status.timespan->name().compare ("Session") ? status.timespan->name() : (string) session.name();
 
-       status.out << "REM Cue file generated by Ardour" << endl;
+       status.out << "REM Cue file generated by " << PROGRAM_NAME << endl;
        status.out << "TITLE " << cue_escape_cdtext (title) << endl;
 
        /*  The original cue sheet sepc metions five file types
index fa0641a6ab7ef4b12a531b6e78faae6c6e5a4e7e..af5797654420f731df42a6799185d1e06aa53ce6 100644 (file)
@@ -282,7 +282,7 @@ intptr_t Session::vst_callback (
        case audioMasterGetProductString:
                SHOW_CALLBACK ("amc: audioMasterGetProductString\n");
                // fills <ptr> with a string with product name (max 64 char)
-               strcpy ((char*) ptr, "Ardour");
+               strcpy ((char*) ptr, PROGRAM_NAME);
                return 0;
 
        case audioMasterGetVendorVersion: