[meld/piotrdrag/missing-translations] Mark missing strings for translation



commit 9a5bf73d6671fe02efb6df574ab20b097a3b9b65
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Apr 14 14:28:31 2019 +0200

    Mark missing strings for translation

 meld/resources/gtk/menus.ui           | 22 +++++++++++-----------
 meld/resources/ui/appwindow.ui        | 12 ++++++------
 meld/resources/ui/dirdiff-actions.ui  |  6 +++---
 meld/resources/ui/dirdiff-menus.ui    | 10 +++++-----
 meld/resources/ui/filediff-actions.ui |  8 ++++----
 meld/resources/ui/filediff-menus.ui   | 22 +++++++++++-----------
 po/POTFILES.in                        |  4 ++++
 7 files changed, 44 insertions(+), 40 deletions(-)
---
diff --git a/meld/resources/gtk/menus.ui b/meld/resources/gtk/menus.ui
index b04f9b60..79059b9a 100644
--- a/meld/resources/gtk/menus.ui
+++ b/meld/resources/gtk/menus.ui
@@ -64,7 +64,7 @@
             <attribute name="action">view.vc-console-visible</attribute>
           </item>
           <item>
-            <attribute name="label">Lock scrolling</attribute>
+            <attribute name="label" translatable="yes">Lock scrolling</attribute>
             <attribute name="action">view.lock-scrolling</attribute>
           </item>
         </section>
@@ -74,26 +74,26 @@
         <section>
           <attribute name="id">merge-section</attribute>
           <item>
-            <attribute name="label">Merge All from Left</attribute>
+            <attribute name="label" translatable="yes">Merge All from Left</attribute>
             <attribute name="action">view.merge-all-left</attribute>
           </item>
           <item>
-            <attribute name="label">Merge All from Reft</attribute>
+            <attribute name="label" translatable="yes">Merge All from Reft</attribute>
             <attribute name="action">view.merge-all-right</attribute>
           </item>
           <item>
-            <attribute name="label">Merge All</attribute>
+            <attribute name="label" translatable="yes">Merge All</attribute>
             <attribute name="action">view.merge-all</attribute>
           </item>
         </section>
         <section>
           <attribute name="id">synchronisation-section</attribute>
           <item>
-            <attribute name="label">Add Synchronization Point</attribute>
+            <attribute name="label" translatable="yes">Add Synchronization Point</attribute>
             <attribute name="action">view.add-sync-point</attribute>
           </item>
           <item>
-            <attribute name="label">Clear Synchronization Points</attribute>
+            <attribute name="label" translatable="yes">Clear Synchronization Points</attribute>
             <attribute name="action">view.clear-sync-point</attribute>
           </item>
         </section>
@@ -164,26 +164,26 @@
     <section>
       <attribute name="id">status-section</attribute>
       <item>
-        <attribute name="label">Modified</attribute>
+        <attribute name="label" translatable="yes">Modified</attribute>
         <attribute name="action">view.vc-status-modified</attribute>
       </item>
       <item>
-        <attribute name="label">Normal</attribute>
+        <attribute name="label" translatable="yes">Normal</attribute>
         <attribute name="action">view.vc-status-normal</attribute>
       </item>
       <item>
-        <attribute name="label">Unversioned</attribute>
+        <attribute name="label" translatable="yes">Unversioned</attribute>
         <attribute name="action">view.vc-status-unknown</attribute>
       </item>
       <item>
-        <attribute name="label">Ignored</attribute>
+        <attribute name="label" translatable="yes">Ignored</attribute>
         <attribute name="action">view.vc-status-ignored</attribute>
       </item>
     </section>
     <section>
       <attribute name="id">view-section</attribute>
       <item>
-        <attribute name="label">Flatten folders</attribute>
+        <attribute name="label" translatable="yes">Flatten folders</attribute>
         <attribute name="action">view.vc-flatten</attribute>
       </item>
     </section>
diff --git a/meld/resources/ui/appwindow.ui b/meld/resources/ui/appwindow.ui
index 49ee5d65..4adc26f7 100644
--- a/meld/resources/ui/appwindow.ui
+++ b/meld/resources/ui/appwindow.ui
@@ -27,7 +27,7 @@
               <object class="GtkButton">
                 <property name="action-name">win.new-tab</property>
                 <property name="visible">true</property>
-                <property name="tooltip-text">Start a new comparison</property>
+                <property name="tooltip-text" translatable="yes">Start a new comparison</property>
                 <property name="focus_on_click">False</property>
                 <child>
                   <object class="GtkImage">
@@ -43,7 +43,7 @@
             <child>
               <object class="GtkMenuButton" id="recent_menu_button">
                 <property name="visible">true</property>
-                <property name="tooltip-text">Open a recent comparison</property>
+                <property name="tooltip-text" translatable="yes">Open a recent comparison</property>
                 <property name="use_popover">True</property>
                 <property name="popover">recent_popover</property>
                 <child>
@@ -71,7 +71,7 @@
               <object class="GtkButton">
                 <property name="visible">True</property>
                 <property name="action-name">view.previous-change</property>
-                <property name="tooltip-text">Go to the previous change</property>
+                <property name="tooltip-text" translatable="yes">Go to the previous change</property>
                 <property name="focus_on_click">False</property>
                 <style>
                   <class name="image-button"/>
@@ -91,7 +91,7 @@
               <object class="GtkButton">
                 <property name="visible">True</property>
                 <property name="action-name">view.next-change</property>
-                <property name="tooltip-text">Go to the next change</property>
+                <property name="tooltip-text" translatable="yes">Go to the next change</property>
                 <property name="focus_on_click">False</property>
                 <style>
                   <class name="image-button"/>
@@ -121,7 +121,7 @@
               <object class="GtkButton">
                 <property name="visible">True</property>
                 <property name="action-name">view.file-previous-conflict</property>
-                <property name="tooltip-text">Go to the previous conflict</property>
+                <property name="tooltip-text" translatable="yes">Go to the previous conflict</property>
                 <property name="focus_on_click">False</property>
                 <style>
                   <class name="image-button"/>
@@ -141,7 +141,7 @@
               <object class="GtkButton">
                 <property name="visible">True</property>
                 <property name="action-name">view.file-next-conflict</property>
-                <property name="tooltip-text">Go to the next conflict</property>
+                <property name="tooltip-text" translatable="yes">Go to the next conflict</property>
                 <property name="focus_on_click">False</property>
                 <style>
                   <class name="image-button"/>
diff --git a/meld/resources/ui/dirdiff-actions.ui b/meld/resources/ui/dirdiff-actions.ui
index a9088d20..42028fb8 100644
--- a/meld/resources/ui/dirdiff-actions.ui
+++ b/meld/resources/ui/dirdiff-actions.ui
@@ -17,7 +17,7 @@
             <property name="visible">True</property>
             <property name="action-name">view.folder-copy-left</property>
             <property name="use-action-appearance">False</property>
-            <property name="tooltip-text">Copy to left</property>
+            <property name="tooltip-text" translatable="yes">Copy to left</property>
             <property name="focus_on_click">False</property>
             <style>
               <class name="image-button"/>
@@ -39,7 +39,7 @@
             <property name="visible">True</property>
             <property name="action-name">view.folder-copy-right</property>
             <property name="use-action-appearance">False</property>
-            <property name="tooltip-text">Copy to right</property>
+            <property name="tooltip-text" translatable="yes">Copy to right</property>
             <property name="focus_on_click">False</property>
             <style>
               <class name="image-button"/>
@@ -63,7 +63,7 @@
         <property name="visible">True</property>
         <property name="action-name">view.folder-delete</property>
         <property name="use-action-appearance">False</property>
-        <property name="tooltip-text">Delete selected</property>
+        <property name="tooltip-text" translatable="yes">Delete selected</property>
         <property name="focus_on_click">False</property>
         <style>
           <class name="image-button"/>
diff --git a/meld/resources/ui/dirdiff-menus.ui b/meld/resources/ui/dirdiff-menus.ui
index 73e2c360..ae6c71fb 100644
--- a/meld/resources/ui/dirdiff-menus.ui
+++ b/meld/resources/ui/dirdiff-menus.ui
@@ -4,29 +4,29 @@
     <section>
       <attribute name="id">compare-section</attribute>
       <item>
-        <attribute name="label">_Compare selected files</attribute>
+        <attribute name="label" translatable="yes">_Compare selected files</attribute>
         <attribute name="action">view.folder-compare</attribute>
       </item>
     </section>
     <section>
       <attribute name="id">actions-section</attribute>
       <item>
-        <attribute name="label">Copy to _left</attribute>
+        <attribute name="label" translatable="yes">Copy to _left</attribute>
         <attribute name="action">view.folder-copy-left</attribute>
       </item>
       <item>
-        <attribute name="label">Copy to _right</attribute>
+        <attribute name="label" translatable="yes">Copy to _right</attribute>
         <attribute name="action">view.folder-copy-right</attribute>
       </item>
       <item>
-        <attribute name="label">_Delete selected</attribute>
+        <attribute name="label" translatable="yes">_Delete selected</attribute>
         <attribute name="action">view.folder-delete</attribute>
       </item>
     </section>
     <section>
       <attribute name="id">utility-section</attribute>
       <item>
-        <attribute name="label">_Open Externally</attribute>
+        <attribute name="label" translatable="yes">_Open Externally</attribute>
         <attribute name="action">view.open-external</attribute>
       </item>
     </section>
diff --git a/meld/resources/ui/filediff-actions.ui b/meld/resources/ui/filediff-actions.ui
index 668401a3..375a1173 100644
--- a/meld/resources/ui/filediff-actions.ui
+++ b/meld/resources/ui/filediff-actions.ui
@@ -17,7 +17,7 @@
             <property name="visible">True</property>
             <property name="action-name">view.file-push-left</property>
             <property name="use-action-appearance">False</property>
-            <property name="tooltip-text">Push current change to the left</property>
+            <property name="tooltip-text" translatable="yes">Push current change to the left</property>
             <property name="focus_on_click">False</property>
             <style>
               <class name="image-button"/>
@@ -39,7 +39,7 @@
             <property name="visible">True</property>
             <property name="action-name">view.file-push-right</property>
             <property name="use-action-appearance">False</property>
-            <property name="tooltip-text">Push current change to the right</property>
+            <property name="tooltip-text" translatable="yes">Push current change to the right</property>
             <property name="focus_on_click">False</property>
             <style>
               <class name="image-button"/>
@@ -62,7 +62,7 @@
       <object class="GtkMenuButton" id="copy_action_button">
         <property name="visible">true</property>
         <property name="focus_on_click">False</property>
-        <property name="tooltip-text">Copy chunks</property>
+        <property name="tooltip-text" translatable="yes">Copy chunks</property>
         <property name="use_popover">True</property>
         <style>
           <class name="image-button"/>
@@ -84,7 +84,7 @@
         <property name="visible">True</property>
         <property name="action-name">view.file-delete</property>
         <property name="use-action-appearance">False</property>
-        <property name="tooltip-text">Delete change</property>
+        <property name="tooltip-text" translatable="yes">Delete change</property>
         <property name="focus_on_click">False</property>
         <style>
           <class name="image-button"/>
diff --git a/meld/resources/ui/filediff-menus.ui b/meld/resources/ui/filediff-menus.ui
index 61c44518..0d37a2c3 100644
--- a/meld/resources/ui/filediff-menus.ui
+++ b/meld/resources/ui/filediff-menus.ui
@@ -4,19 +4,19 @@
     <section>
       <attribute name="id">status-section</attribute>
       <item>
-        <attribute name="label">Copy change above the left chunk</attribute>
+        <attribute name="label" translatable="yes">Copy change above the left chunk</attribute>
         <attribute name="action">view.file-copy-left-up</attribute>
       </item>
       <item>
-        <attribute name="label">Copy change below the left chunk</attribute>
+        <attribute name="label" translatable="yes">Copy change below the left chunk</attribute>
         <attribute name="action">view.file-copy-left-down</attribute>
       </item>
       <item>
-        <attribute name="label">Copy change above the right chunk</attribute>
+        <attribute name="label" translatable="yes">Copy change above the right chunk</attribute>
         <attribute name="action">view.file-copy-right-up</attribute>
       </item>
       <item>
-        <attribute name="label">Copy change below the right chunk</attribute>
+        <attribute name="label" translatable="yes">Copy change below the right chunk</attribute>
         <attribute name="action">view.file-copy-right-down</attribute>
       </item>
     </section>
@@ -25,37 +25,37 @@
     <section>
       <attribute name="id">undo-section</attribute>
       <item>
-        <attribute name="label">_Undo</attribute>
+        <attribute name="label" translatable="yes">_Undo</attribute>
         <attribute name="action">view.undo</attribute>
       </item>
       <item>
-        <attribute name="label">_Redo</attribute>
+        <attribute name="label" translatable="yes">_Redo</attribute>
         <attribute name="action">view.redo</attribute>
       </item>
     </section>
     <section>
       <attribute name="id">text-section</attribute>
       <item>
-        <attribute name="label">Cu_t</attribute>
+        <attribute name="label" translatable="yes">Cu_t</attribute>
         <attribute name="action">view.cut</attribute>
       </item>
       <item>
-        <attribute name="label">_Copy</attribute>
+        <attribute name="label" translatable="yes">_Copy</attribute>
         <attribute name="action">view.copy</attribute>
       </item>
       <item>
-        <attribute name="label">_Paste</attribute>
+        <attribute name="label" translatable="yes">_Paste</attribute>
         <attribute name="action">view.paste</attribute>
       </item>
     </section>
     <section>
       <attribute name="id">syncpoint-section</attribute>
       <item>
-        <attribute name="label">Add Synchronization Point</attribute>
+        <attribute name="label" translatable="yes">Add Synchronization Point</attribute>
         <attribute name="action">view.add-sync-point</attribute>
       </item>
       <item>
-        <attribute name="label">Clear Synchronization Points</attribute>
+        <attribute name="label" translatable="yes">Clear Synchronization Points</attribute>
         <attribute name="action">view.clear-sync-point</attribute>
       </item>
     </section>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index dae6ddc5..83c5a543 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -11,8 +11,12 @@ data/org.gnome.meld.gschema.xml
 [type: gettext/glade]meld/resources/ui/appwindow.ui
 [type: gettext/glade]meld/resources/ui/column-list.ui
 [type: gettext/glade]meld/resources/ui/commit-dialog.ui
+[type: gettext/glade]meld/resources/ui/dirdiff-actions.ui
+[type: gettext/glade]meld/resources/ui/dirdiff-menus.ui
 [type: gettext/glade]meld/resources/ui/dirdiff.ui
 [type: gettext/glade]meld/resources/ui/encoding-selector.ui
+[type: gettext/glade]meld/resources/ui/filediff-actions.ui
+[type: gettext/glade]meld/resources/ui/filediff-menus.ui
 [type: gettext/glade]meld/resources/ui/filediff.ui
 [type: gettext/glade]meld/resources/ui/filter-list.ui
 [type: gettext/glade]meld/resources/ui/findbar.ui


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