[gnome-builder] Add mnemonics to all project tree context menu items



commit df2ef0f9e94fb02efdb57f34d116206f1ab41cd0
Author: vanadiae <vanadiae35 gmail com>
Date:   Tue Jul 20 19:28:05 2021 +0200

    Add mnemonics to all project tree context menu items
    
    Another big step towards mnemonics everywhere. :)

 src/plugins/buildui/gtk/menus.ui      |  8 ++++----
 src/plugins/debuggerui/gtk/menus.ui   |  2 +-
 src/plugins/glade/gtk/menus.ui        |  2 +-
 src/plugins/grep/gtk/menus.ui         |  2 +-
 src/plugins/project-tree/gtk/menus.ui | 24 ++++++++++++------------
 src/plugins/sysprof/gtk/menus.ui      |  2 +-
 src/plugins/vcsui/gtk/menus.ui        |  6 +++---
 7 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index e17971ece..799ad1b20 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -18,24 +18,24 @@
       <item>
         <attribute name="id">project-tree-menu-build</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Build</attribute>
+        <attribute name="label" translatable="yes">_Build</attribute>
         <attribute name="action">buildui.build</attribute>
       </item>
       <item>
         <attribute name="id">project-tree-menu-rebuild</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Rebuild</attribute>
+        <attribute name="label" translatable="yes">R_ebuild</attribute>
         <attribute name="action">buildui.rebuild</attribute>
       </item>
       <item>
         <attribute name="id">project-tree-menu-run</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Run</attribute>
+        <attribute name="label" translatable="yes">_Run</attribute>
         <attribute name="action">buildui.run-with-handler</attribute>
         <attribute name="target" type="s">''</attribute>
       </item>
       <submenu id="project-tree-run-with-submenu">
-        <attribute name="label" translatable="yes">Run With…</attribute>
+        <attribute name="label" translatable="yes">R_un With…</attribute>
         <section id="project-tree-menu-run-with-section">
         </section>
       </submenu>
diff --git a/src/plugins/debuggerui/gtk/menus.ui b/src/plugins/debuggerui/gtk/menus.ui
index bde153012..c400008ed 100644
--- a/src/plugins/debuggerui/gtk/menus.ui
+++ b/src/plugins/debuggerui/gtk/menus.ui
@@ -17,7 +17,7 @@
     <section id="project-tree-menu-run-with-section">
       <item>
         <attribute name="id">project-tree-menu-debug</attribute>
-        <attribute name="label" translatable="yes">Run with Debugger</attribute>
+        <attribute name="label" translatable="yes">Run with _Debugger</attribute>
         <attribute name="action">buildui.run-with-handler</attribute>
         <attribute name="target" type="s">'debugger'</attribute>
       </item>
diff --git a/src/plugins/glade/gtk/menus.ui b/src/plugins/glade/gtk/menus.ui
index 24109c97c..0d19233ea 100644
--- a/src/plugins/glade/gtk/menus.ui
+++ b/src/plugins/glade/gtk/menus.ui
@@ -72,7 +72,7 @@
         <section id="project-tree-menu-open-with-section">
           <item>
             <attribute name="id">project-tree-menu-open-editor</attribute>
-            <attribute name="label" translatable="yes">UI Designer</attribute>
+            <attribute name="label" translatable="yes">_UI Designer</attribute>
             <attribute name="action">project-tree.open-with-hint</attribute>
             <attribute name="target" type="s">'glade'</attribute>
           </item>
diff --git a/src/plugins/grep/gtk/menus.ui b/src/plugins/grep/gtk/menus.ui
index b088282ec..c9d8db92d 100644
--- a/src/plugins/grep/gtk/menus.ui
+++ b/src/plugins/grep/gtk/menus.ui
@@ -3,7 +3,7 @@
   <menu id="project-tree-menu">
     <section id="project-tree-menu-placeholder2">
       <item>
-        <attribute name="label" translatable="yes">Find in Files</attribute>
+        <attribute name="label" translatable="yes">_Find in Files</attribute>
         <attribute name="action">grep.find-in-files</attribute>
       </item>
     </section>
diff --git a/src/plugins/project-tree/gtk/menus.ui b/src/plugins/project-tree/gtk/menus.ui
index 81ed95478..a18dd16e4 100644
--- a/src/plugins/project-tree/gtk/menus.ui
+++ b/src/plugins/project-tree/gtk/menus.ui
@@ -5,13 +5,13 @@
       <item>
         <attribute name="id">project-tree-menu-new-file</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">New File…</attribute>
+        <attribute name="label" translatable="yes">New Fil_e…</attribute>
         <attribute name="action">project-tree.new-file</attribute>
       </item>
       <item>
         <attribute name="id">project-tree-menu-new-folder</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">New Folder…</attribute>
+        <attribute name="label" translatable="yes">New F_older…</attribute>
         <attribute name="action">project-tree.new-folder</attribute>
       </item>
     </section>
@@ -19,15 +19,15 @@
       <item>
         <attribute name="id">project-tree-menu-open</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Open</attribute>
+        <attribute name="label" translatable="yes">O_pen</attribute>
         <attribute name="action">project-tree.open</attribute>
       </item>
       <submenu id="project-tree-menu-open-with-menu">
-        <attribute name="label" translatable="yes">Open With…</attribute>
+        <attribute name="label" translatable="yes">Open _With…</attribute>
         <section id="project-tree-menu-open-with-section">
           <item>
             <attribute name="id">project-tree-menu-open-editor</attribute>
-            <attribute name="label" translatable="yes">Source Code Editor</attribute>
+            <attribute name="label" translatable="yes">_Source Code Editor</attribute>
             <attribute name="action">project-tree.open-with-hint</attribute>
             <attribute name="target" type="s">'editor'</attribute>
           </item>
@@ -36,13 +36,13 @@
       <item>
         <attribute name="id">project-tree-menu-open-folder</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Open Containing Folder</attribute>
+        <attribute name="label" translatable="yes">Open _Containing Folder</attribute>
         <attribute name="action">project-tree.open-containing-folder</attribute>
       </item>
       <item>
         <attribute name="id">project-tree-menu-open-terminal</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Open in Terminal</attribute>
+        <attribute name="label" translatable="yes">Open in _Terminal</attribute>
         <attribute name="action">project-tree.open-in-terminal</attribute>
       </item>
     </section>
@@ -50,28 +50,28 @@
       <item>
         <attribute name="id">project-tree-menu-rename</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Rename</attribute>
+        <attribute name="label" translatable="yes">_Rename</attribute>
         <attribute name="action">project-tree.rename</attribute>
       </item>
       <item>
         <attribute name="id">project-tree-menu-trash</attribute>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Move to Trash</attribute>
+        <attribute name="label" translatable="yes">_Move to Trash</attribute>
         <attribute name="action">project-tree.trash</attribute>
       </item>
     </section>
     <section id="project-tree-menu-display-options-parent-section">
       <submenu id="project-tree-menu-display-options">
-        <attribute name="label" translatable="yes">Display Options</attribute>
+        <attribute name="label" translatable="yes">_Display Options</attribute>
         <section id="project-tree-menu-display-options-section">
           <item>
             <attribute name="id">project-tree-menu-show-ignored</attribute>
-            <attribute name="label" translatable="yes">Show Ignored Files</attribute>
+            <attribute name="label" translatable="yes">S_how Ignored Files</attribute>
             <attribute name="action">project-tree.show-ignored-files</attribute>
           </item>
           <item>
             <attribute name="id">project-tree-menu-sort-directories-first</attribute>
-            <attribute name="label" translatable="yes">Sort Directories First</attribute>
+            <attribute name="label" translatable="yes">S_ort Directories First</attribute>
             <attribute name="action">project-tree.sort-directories-first</attribute>
           </item>
         </section>
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index 4d6abf21d..0050f4b9e 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -39,7 +39,7 @@
     <section id="project-tree-menu-run-with-section">
       <item>
         <attribute name="id">project-tree-menu-profiler</attribute>
-        <attribute name="label" translatable="yes">Run with Profiler</attribute>
+        <attribute name="label" translatable="yes">Run with _Profiler</attribute>
         <attribute name="action">buildui.run-with-handler</attribute>
         <attribute name="target" type="s">'profiler'</attribute>
       </item>
diff --git a/src/plugins/vcsui/gtk/menus.ui b/src/plugins/vcsui/gtk/menus.ui
index a18efa6fb..a5d66f1c3 100644
--- a/src/plugins/vcsui/gtk/menus.ui
+++ b/src/plugins/vcsui/gtk/menus.ui
@@ -4,17 +4,17 @@
     <section id="project-tree-menu-vcs">
       <item>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Switch to branch</attribute>
+        <attribute name="label" translatable="yes">_Switch to branch</attribute>
         <attribute name="action">vcsui.switch-branch</attribute>
       </item>
       <item>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Push to origin</attribute>
+        <attribute name="label" translatable="yes">_Push to origin</attribute>
         <attribute name="action">vcsui.push-branch</attribute>
       </item>
       <!-- item>
         <attribute name="hidden-when">action-disabled</attribute>
-        <attribute name="label" translatable="yes">Fetch from origin</attribute>
+        <attribute name="label" translatable="yes">_Fetch from origin</attribute>
         <attribute name="action">vcsui.fetch-branch</attribute>
       </item -->
     </section>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]