change action name, label and method names for accessing the tutorial to ... tutorial

This commit is contained in:
Paul Davis
2020-05-28 12:26:24 -06:00
parent 1ee2d57d49
commit 9d9a00d282
4 changed files with 4 additions and 5 deletions

View File

@@ -619,7 +619,7 @@
<menuitem action='forums'/>
#else
<menuitem action='chat'/>
<menuitem action='manual'/>
<menuitem action='tutorial'/>
<menuitem action='reference'/>
<menuitem action='forums'/>
<menuitem action='howto-report'/>

View File

@@ -195,7 +195,7 @@ public:
void hide_splash ();
void launch_chat ();
void launch_manual ();
void launch_tutorial ();
void launch_reference ();
void launch_tracker ();
void launch_subscribe ();

View File

@@ -65,7 +65,7 @@ ARDOUR_UI::launch_chat ()
}
void
ARDOUR_UI::launch_manual ()
ARDOUR_UI::launch_tutorial ()
{
PBD::open_uri (Config->get_tutorial_manual_url());
}

View File

@@ -271,8 +271,7 @@ ARDOUR_UI::install_actions ()
ActionManager::session_sensitive_actions.push_back (act);
ActionManager::register_action (common_actions, X_("chat"), _("Chat"), sigc::mem_fun(*this, &ARDOUR_UI::launch_chat));
/** TRANSLATORS: This is `Manual' in the sense of an instruction book that tells a user how to use Ardour */
ActionManager::register_action (common_actions, X_("manual"), S_("Help|Manual"), mem_fun(*this, &ARDOUR_UI::launch_manual));
ActionManager::register_action (common_actions, X_("tutorial"), S_("Help|Tutorial"), mem_fun(*this, &ARDOUR_UI::launch_tutorial));
ActionManager::register_action (common_actions, X_("reference"), S_("Manual|Reference"), mem_fun(*this, &ARDOUR_UI::launch_reference));
ActionManager::register_action (common_actions, X_("tracker"), _("Report a Bug"), mem_fun(*this, &ARDOUR_UI::launch_tracker));
ActionManager::register_action (common_actions, X_("cheat-sheet"), _("Cheat Sheet"), mem_fun(*this, &ARDOUR_UI::launch_cheat_sheet));