[meld] data/ui/shortcuts.ui: Add context to strings in the shortcut window



commit e9ffd4c0aca47eea4f58260272923b7c47256f60
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sat Feb 13 21:52:38 2016 +0100

    data/ui/shortcuts.ui: Add context to strings in the shortcut window
    
    It helps translators by differentiating the help strings from other strings
    in the app that might be identical, and allowing to translate them
    accordingly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762007

 data/ui/shortcuts.ui |  100 +++++++++++++++++++++++++-------------------------
 1 files changed, 50 insertions(+), 50 deletions(-)
---
diff --git a/data/ui/shortcuts.ui b/data/ui/shortcuts.ui
index e189a88..2ed0e1d 100644
--- a/data/ui/shortcuts.ui
+++ b/data/ui/shortcuts.ui
@@ -11,47 +11,47 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">General</property>
+            <property name="title" translatable="yes" context="shortcut window">General</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;N</property>
-                <property name="title" translatable="yes">New comparison</property>
+                <property name="title" translatable="yes" context="shortcut window">New comparison</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;W</property>
-                <property name="title" translatable="yes">Close a comparison</property>
+                <property name="title" translatable="yes" context="shortcut window">Close a 
comparison</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;Q</property>
-                <property name="title" translatable="yes">Quit Meld</property>
+                <property name="title" translatable="yes" context="shortcut window">Quit Meld</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">Escape</property>
-                <property name="title" translatable="yes">Stop the current action</property>
+                <property name="title" translatable="yes" context="shortcut window">Stop the current 
action</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;R</property>
-                <property name="title" translatable="yes">Refresh comparison</property>
+                <property name="title" translatable="yes" context="shortcut window">Refresh 
comparison</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">F11</property>
-                <property name="title" translatable="yes">Fullscreen</property>
+                <property name="title" translatable="yes" context="shortcut window">Fullscreen</property>
               </object>
             </child>
           </object>
@@ -60,40 +60,40 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">tab</property>
-            <property name="title" translatable="yes">Tabs</property>
+            <property name="title" translatable="yes" context="shortcut window">Tabs</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;&lt;alt&gt;Page_Up</property>
-                <property name="title" translatable="yes">Go to previous tab</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to previous 
tab</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;&lt;alt&gt;Page_Down</property>
-                <property name="title" translatable="yes">Go to next tab</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to next tab</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;0...9</property>
-                <property name="title" translatable="yes">Switch to tab</property>
+                <property name="title" translatable="yes" context="shortcut window">Switch to tab</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;primary&gt;&lt;alt&gt;Page_Up</property>
-                <property name="title" translatable="yes">Move tab left</property>
+                <property name="title" translatable="yes" context="shortcut window">Move tab left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;primary&gt;&lt;alt&gt;Page_Down</property>
-                <property name="title" translatable="yes">Move tab right</property>
+                <property name="title" translatable="yes" context="shortcut window">Move tab right</property>
               </object>
             </child>
           </object>
@@ -102,19 +102,19 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">tab</property>
-            <property name="title" translatable="yes">Changes</property>
+            <property name="title" translatable="yes" context="shortcut window">Changes</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Up</property>
-                <property name="title" translatable="yes">Go to previous change</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to previous 
change</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Down</property>
-                <property name="title" translatable="yes">Go to next change</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to next 
change</property>
               </object>
             </child>
           </object>
@@ -123,68 +123,68 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">editing</property>
-            <property name="title" translatable="yes">Editing</property>
+            <property name="title" translatable="yes" context="shortcut window">Editing</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;Z</property>
-                <property name="title" translatable="yes">Undo</property>
+                <property name="title" translatable="yes" context="shortcut window">Undo</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;primary&gt;Z</property>
-                <property name="title" translatable="yes">Redo</property>
+                <property name="title" translatable="yes" context="shortcut window">Redo</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;X</property>
-                <property name="title" translatable="yes">Cut</property>
+                <property name="title" translatable="yes" context="shortcut window">Cut</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;C</property>
-                <property name="title" translatable="yes">Copy</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;V</property>
-                <property name="title" translatable="yes">Paste</property>
+                <property name="title" translatable="yes" context="shortcut window">Paste</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;F</property>
-                <property name="title" translatable="yes">Find</property>
+                <property name="title" translatable="yes" context="shortcut window">Find</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;G</property>
-                <property name="title" translatable="yes">Find Next</property>
+                <property name="title" translatable="yes" context="shortcut window">Find Next</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;&lt;shift&gt;G</property>
-                <property name="title" translatable="yes">Find Previous</property>
+                <property name="title" translatable="yes" context="shortcut window">Find Previous</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;H</property>
-                <property name="title" translatable="yes">Replace</property>
+                <property name="title" translatable="yes" context="shortcut window">Replace</property>
               </object>
             </child>
           </object>
@@ -193,117 +193,117 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">file</property>
-            <property name="title" translatable="yes">File comparison</property>
+            <property name="title" translatable="yes" context="shortcut window">File comparison</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;S</property>
-                <property name="title" translatable="yes">Save current file</property>
+                <property name="title" translatable="yes" context="shortcut window">Save current 
file</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;primary&gt;S</property>
-                <property name="title" translatable="yes">Save current file to new path</property>
+                <property name="title" translatable="yes" context="shortcut window">Save current file to new 
path</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;primary&gt;L</property>
-                <property name="title" translatable="yes">Save all files in comparison</property>
+                <property name="title" translatable="yes" context="shortcut window">Save all files in 
comparison</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;I</property>
-                <property name="title" translatable="yes">Previous conflict</property>
+                <property name="title" translatable="yes" context="shortcut window">Previous 
conflict</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;K</property>
-                <property name="title" translatable="yes">Next conflict</property>
+                <property name="title" translatable="yes" context="shortcut window">Next conflict</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Left</property>
-                <property name="title" translatable="yes">Push change to left</property>
+                <property name="title" translatable="yes" context="shortcut window">Push change to 
left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Right</property>
-                <property name="title" translatable="yes">Push change to right</property>
+                <property name="title" translatable="yes" context="shortcut window">Push change to 
right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;alt&gt;Left</property>
-                <property name="title" translatable="yes">Pull change from left</property>
+                <property name="title" translatable="yes" context="shortcut window">Pull change from 
left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;shift&gt;&lt;alt&gt;Right</property>
-                <property name="title" translatable="yes">Pull change from right</property>
+                <property name="title" translatable="yes" context="shortcut window">Pull change from 
right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;bracketleft</property>
-                <property name="title" translatable="yes">Copy change above left</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy change above 
left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;semicolon</property>
-                <property name="title" translatable="yes">Copy change below left</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy change below 
left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;bracketright</property>
-                <property name="title" translatable="yes">Copy change above right</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy change above 
right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;quoteright</property>
-                <property name="title" translatable="yes">Copy change below right</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy change below 
right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Delete</property>
-                <property name="title" translatable="yes">Delete change</property>
+                <property name="title" translatable="yes" context="shortcut window">Delete change</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Page_Up</property>
-                <property name="title" translatable="yes">Previous comparison pane</property>
+                <property name="title" translatable="yes" context="shortcut window">Previous comparison 
pane</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Page_Down</property>
-                <property name="title" translatable="yes">Next comparison pane</property>
+                <property name="title" translatable="yes" context="shortcut window">Next comparison 
pane</property>
               </object>
             </child>
           </object>
@@ -312,26 +312,26 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">file</property>
-            <property name="title" translatable="yes">Folder comparison</property>
+            <property name="title" translatable="yes" context="shortcut window">Folder comparison</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Left</property>
-                <property name="title" translatable="yes">Copy to left</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy to left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;alt&gt;Right</property>
-                <property name="title" translatable="yes">Copy to right</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy to right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">Delete</property>
-                <property name="title" translatable="yes">Delete change</property>
+                <property name="title" translatable="yes" context="shortcut window">Delete change</property>
               </object>
             </child>
           </object>
@@ -340,19 +340,19 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
             <property name="view">file</property>
-            <property name="title" translatable="yes">Version control comparison</property>
+            <property name="title" translatable="yes" context="shortcut window">Version control 
comparison</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;M</property>
-                <property name="title" translatable="yes">Commit to version control</property>
+                <property name="title" translatable="yes" context="shortcut window">Commit to version 
control</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
                 <property name="accelerator">F9</property>
-                <property name="title" translatable="yes">Show/hide console output</property>
+                <property name="title" translatable="yes" context="shortcut window">Show/hide console 
output</property>
               </object>
             </child>
           </object>


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