# HG changeset patch # User Felipe G. Nievinski # Date 1428210059 10800 # Node ID 70bb0bd4a53fb9fa83f29a47a9d6bc3563bcb831 # Parent 230c1e2a678d4d4d2d008675a852f160618de1f6 Consistent strings between keyboard shortcuts and main window * shortcut-manager.cc (do_init_data): use same strings for shortcuts as for the menus in the main window diff -r 230c1e2a678d -r 70bb0bd4a53f libgui/src/shortcut-manager.cc --- a/libgui/src/shortcut-manager.cc Sat Apr 04 14:12:10 2015 -0400 +++ b/libgui/src/shortcut-manager.cc Sun Apr 05 02:00:59 2015 -0300 @@ -131,7 +131,7 @@ init (tr ("Clear Workspace"), "main_edit:clear_workspace", QKeySequence ()); // debug - init (tr ("Step Over"), "main_debug:step_over", + init (tr ("Step"), "main_debug:step_over", QKeySequence (prefix + Qt::Key_F10)); init (tr ("Step Into"), "main_debug:step_into", QKeySequence (prefix + Qt::Key_F11)); @@ -167,14 +167,14 @@ prefix + ctrl + Qt::Key_4); init (tr ("Documentation"), "main_window:doc", prefix + ctrl + Qt::Key_5); - init (tr ("Reset Window Layout"), "main_window:reset", QKeySequence ()); + init (tr ("Reset Default Window Layout"), "main_window:reset", QKeySequence ()); // help init (tr ("Show Ondisk Documentation"), "main_help:ondisk_doc", QKeySequence ()); init (tr ("Show Online Documentation"), "main_help:online_doc", QKeySequence ()); - init (tr ("Report a Bug"), "main_help:report_bug", QKeySequence ()); + init (tr ("Report Bug"), "main_help:report_bug", QKeySequence ()); init (tr ("Octave Packages"), "main_help:packages", QKeySequence ()); init (tr ("Share Code"), "main_help:agora", QKeySequence ()); init (tr ("Contribute to Octave"), "main_help:contribute", QKeySequence ()); @@ -195,7 +195,7 @@ init (tr ("Save File As"), "editor_file:save_as", QKeySequence::SaveAs); init (tr ("Close"), "editor_file:close", QKeySequence::Close); init (tr ("Close All"), "editor_file:close_all", QKeySequence ()); - init (tr ("Close Other"), "editor_file:close_other", QKeySequence ()); + init (tr ("Close Other Files"), "editor_file:close_other", QKeySequence ()); init (tr ("Print"), "editor_file:print", QKeySequence::Print); // edit @@ -225,7 +225,7 @@ QKeySequence (ctrl + Qt::Key_D)); init (tr ("Transpose Line"), "editor_edit:transpose_line", QKeySequence (ctrl + Qt::Key_T)); - init (tr ("Completion List"), "editor_edit:completion_list", + init (tr ("Show Completion List"), "editor_edit:completion_list", QKeySequence (ctrl + Qt::Key_Space)); init (tr ("Comment Selection"), "editor_edit:comment_selection",