[eog] Add context to strings in the shortcut window



commit 8e0bb0c85fe932d241a01e67f0de5881b2a22f92
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Feb 1 18:17:07 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=761408

 data/help-overlay.ui |   72 +++++++++++++++++++++++++-------------------------
 1 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/data/help-overlay.ui b/data/help-overlay.ui
index 1074769..f21ed0b 100644
--- a/data/help-overlay.ui
+++ b/data/help-overlay.ui
@@ -11,75 +11,75 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</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">1</property>
                 <property name="accelerator">&lt;ctrl&gt;O</property>
-                <property name="title" translatable="yes">Open an image file</property>
+                <property name="title" translatable="yes" context="shortcut window">Open an image 
file</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;S</property>
-                <property name="title" translatable="yes">Save the image</property>
+                <property name="title" translatable="yes" context="shortcut window">Save the image</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;shift&gt;&lt;ctrl&gt;S</property>
-                <property name="title" translatable="yes">Save the image with a new file name</property>
+                <property name="title" translatable="yes" context="shortcut window">Save the image with a 
new file name</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;P</property>
-                <property name="title" translatable="yes">Print the current image</property>
+                <property name="title" translatable="yes" context="shortcut window">Print the current 
image</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;W</property>
-                <property name="title" translatable="yes">Close the current window</property>
+                <property name="title" translatable="yes" context="shortcut window">Close the current 
window</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;Q</property>
-                <property name="title" translatable="yes">Close all windows</property>
+                <property name="title" translatable="yes" context="shortcut window">Close all 
windows</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;F8</property>
-                <property name="title" translatable="yes">Set the image as desktop background</property>
+                <property name="title" translatable="yes" context="shortcut window">Set the image as desktop 
background</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;F9</property>
-                <property name="title" translatable="yes">Show/Hide the sidebar</property>
+                <property name="title" translatable="yes" context="shortcut window">Show/Hide the 
sidebar</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;alt&gt;Return</property>
-                <property name="title" translatable="yes">Show image properties dialog</property>
+                <property name="title" translatable="yes" context="shortcut window">Show image properties 
dialog</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">F1</property>
-                <property name="title" translatable="yes">Open the application manual</property>
+                <property name="title" translatable="yes" context="shortcut window">Open the application 
manual</property>
               </object>
             </child>
           </object>
@@ -87,18 +87,18 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
-            <property name="title" translatable="yes">Zoom</property>
+            <property name="title" translatable="yes" context="shortcut window">Zoom</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</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">1</property>
-                <property name="title" translatable="yes">Zoom out</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom out</property>
                 <property name="shortcut-type">gesture-pinch</property>
               </object>
             </child>
@@ -106,28 +106,28 @@
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">plus</property>
-                <property name="title" translatable="yes">Zoom in</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom in</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">minus</property>
-                <property name="title" translatable="yes">Zoom out</property>
+                <property name="title" translatable="yes" context="shortcut window">Zoom out</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">1</property>
-                <property name="title" translatable="yes">Actual size</property>
+                <property name="title" translatable="yes" context="shortcut window">Actual size</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">F</property>
-                <property name="title" translatable="yes">Best fit</property>
+                <property name="title" translatable="yes" context="shortcut window">Best fit</property>
               </object>
             </child>
           </object>
@@ -135,18 +135,18 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
-            <property name="title" translatable="yes">Browsing Images</property>
+            <property name="title" translatable="yes" context="shortcut window">Browsing Images</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="title" translatable="yes">Go to the previous image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the previous image 
in the folder</property>
                 <property name="shortcut-type">gesture-two-finger-swipe-left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="title" translatable="yes">Go to the previous image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the previous image 
in the folder</property>
                 <property name="shortcut-type">gesture-two-finger-swipe-right</property>
               </object>
             </child>
@@ -154,42 +154,42 @@
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">Left</property>
-                <property name="title" translatable="yes">Go to the previous image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the previous image 
in the folder</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">Right</property>
-                <property name="title" translatable="yes">Go to the next image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the next image in 
the folder</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">Home</property>
-                <property name="title" translatable="yes">Go to the first image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the first image in 
the folder</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">End</property>
-                <property name="title" translatable="yes">Go to the last image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the last image in 
the folder</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;M</property>
-                <property name="title" translatable="yes">Go to a random image in the folder</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to a random image in 
the folder</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">F9</property>
-                <property name="title" translatable="yes">Show/Hide the image gallery</property>
+                <property name="title" translatable="yes" context="shortcut window">Show/Hide the image 
gallery</property>
               </object>
             </child>
           </object>
@@ -197,18 +197,18 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
-            <property name="title" translatable="yes">Rotation</property>
+            <property name="title" translatable="yes" context="shortcut window">Rotation</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="title" translatable="yes">Rotate clockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate 
clockwise</property>
                 <property name="shortcut-type">gesture-rotate-clockwise</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="title" translatable="yes">Rotate counterclockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate 
counterclockwise</property>
                 <property name="shortcut-type">gesture-rotate-counterclockwise</property>
               </object>
             </child>
@@ -216,14 +216,14 @@
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;ctrl&gt;R</property>
-                <property name="title" translatable="yes">Rotate clockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate 
clockwise</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;shift&gt;&lt;ctrl&gt;R</property>
-                <property name="title" translatable="yes">Rotate counter-clockwise</property>
+                <property name="title" translatable="yes" context="shortcut window">Rotate 
counter-clockwise</property>
               </object>
             </child>
           </object>
@@ -231,26 +231,26 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
-            <property name="title" translatable="yes">Fullscreen</property>
+            <property name="title" translatable="yes" context="shortcut window">Fullscreen</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">F11</property>
-                <property name="title" translatable="yes">Enter/Leave fullscreen</property>
+                <property name="title" translatable="yes" context="shortcut window">Enter/Leave 
fullscreen</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">F5</property>
-                <property name="title" translatable="yes">Start/Stop slideshow</property>
+                <property name="title" translatable="yes" context="shortcut window">Start/Stop 
slideshow</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">P</property>
-                <property name="title" translatable="yes">Pause slideshow</property>
+                <property name="title" translatable="yes" context="shortcut window">Pause 
slideshow</property>
               </object>
             </child>
           </object>


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