changeset 20062:70bb0bd4a53f

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
author Felipe G. Nievinski <fgnievinski@gmail.com>
date Sun, 05 Apr 2015 02:00:59 -0300
parents 230c1e2a678d
children 107130a0490c
files libgui/src/shortcut-manager.cc
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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",