[evince] Add context to strings in the shortcut window



commit 57677bbd4bc905b72ab9e3802881eb7931307767
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Feb 1 18:19:30 2016 +0100

    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=761409

 shell/help-overlay.ui |   62 ++++++++++++++++++++++++------------------------
 1 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/shell/help-overlay.ui b/shell/help-overlay.ui
index b8f3088..0218fa8 100644
--- a/shell/help-overlay.ui
+++ b/shell/help-overlay.ui
@@ -10,46 +10,46 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Opening, closing, saving and printing</property>
+            <property name="title" translatable="yes" context="shortcut window">Opening, closing, saving and 
printing</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Open a document</property>
+                <property name="title" translatable="yes" context="shortcut window">Open a 
document</property>
                 <property name="accelerator">&lt;Primary&gt;O</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Open a copy of the current document</property>
+                <property name="title" translatable="yes" context="shortcut window">Open a copy of the 
current document</property>
                 <property name="accelerator">&lt;Primary&gt;N</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Save a copy of the current document</property>
+                <property name="title" translatable="yes" context="shortcut window">Save a copy of the 
current document</property>
                 <property name="accelerator">&lt;Primary&gt;S</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Print the current document</property>
+                <property name="title" translatable="yes" context="shortcut window">Print the current 
document</property>
                 <property name="accelerator">&lt;Primary&gt;P</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Close the current document window</property>
+                <property name="title" translatable="yes" context="shortcut window">Close the current 
document window</property>
                 <property name="accelerator">&lt;Primary&gt;W</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Reload the document</property>
+                <property name="title" translatable="yes" context="shortcut window">Reload the 
document</property>
                 <property name="accelerator">&lt;Primary&gt;R</property>
               </object>
             </child>
@@ -58,18 +58,18 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Selecting and copying text</property>
+            <property name="title" translatable="yes" context="shortcut window">Selecting and copying 
text</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Copy highlighted text</property>
+                <property name="title" translatable="yes" context="shortcut window">Copy highlighted 
text</property>
                 <property name="accelerator">&lt;Primary&gt;C</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Select all the text in a document</property>
+                <property name="title" translatable="yes" context="shortcut window">Select all the text in a 
document</property>
                 <property name="accelerator">&lt;Primary&gt;A</property>
               </object>
             </child>
@@ -78,46 +78,46 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Moving around the document</property>
+            <property name="title" translatable="yes" context="shortcut window">Moving around the 
document</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Move up/down a page</property>
+                <property name="title" translatable="yes" context="shortcut window">Move up/down a 
page</property>
                 <property name="accelerator">Left Up Down Right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Move up/down a page several lines at a 
time</property>
+                <property name="title" translatable="yes" context="shortcut window">Move up/down a page 
several lines at a time</property>
                 <property name="accelerator">Page_Up Page_Down</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to page number</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to page 
number</property>
                 <property name="accelerator">&lt;Primary&gt;L</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to the beginning/end of a page</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the beginning/end 
of a page</property>
                 <property name="accelerator">Home End</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to the beginning of the document</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the beginning of 
the document</property>
                 <property name="accelerator">&lt;Primary&gt;Home</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to the end of the document</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the end of the 
document</property>
                 <property name="accelerator">&lt;Primary&gt;End</property>
               </object>
             </child>
@@ -126,25 +126,25 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Finding text</property>
+            <property name="title" translatable="yes" context="shortcut window">Finding text</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Show the search bar</property>
+                <property name="title" translatable="yes" context="shortcut window">Show the search 
bar</property>
                 <property name="accelerator">&lt;Primary&gt;F</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to the next search result</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the next search 
result</property>
                 <property name="accelerator">&lt;Primary&gt;G</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to the previous search result</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the previous 
search result</property>
                 <property name="accelerator">&lt;Primary&gt;&lt;shift&gt;G</property>
               </object>
             </child>
@@ -153,32 +153,32 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Rotating and zooming</property>
+            <property name="title" translatable="yes" context="shortcut window">Rotating and 
zooming</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Rotate the page 90 degrees 
counter-clockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate the page 90 
degrees counter-clockwise</property>
                 <property name="accelerator">&lt;Primary&gt;Left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Rotate the page 90 degrees clockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate the page 90 
degrees clockwise</property>
                 <property name="accelerator">&lt;Primary&gt;Right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Zoom in</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom in</property>
                 <property name="accelerator">&lt;Primary&gt;plus</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Zoom out</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom out</property>
                 <property name="accelerator">&lt;Primary&gt;minus</property>
               </object>
             </child>
@@ -187,32 +187,32 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
-            <property name="title" translatable="yes">Touchpad gestures</property>
+            <property name="title" translatable="yes" context="shortcut window">Touchpad gestures</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Zoom in</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom in</property>
                 <property name="shortcut-type">gesture-pinch</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Zoom in</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom in</property>
                 <property name="shortcut-type">gesture-stretch</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to next page</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to next 
page</property>
                 <property name="shortcut-type">gesture-two-finger-swipe-right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="title" translatable="yes">Go to previous page</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to previous 
page</property>
                 <property name="shortcut-type">gesture-two-finger-swipe-left</property>
               </object>
             </child>


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