[frogr] Use the right (double) quotes for attributes in the menu definition files.



commit c2dedaa88b57a7459bd3516c542df3187904fbe0
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Thu Nov 29 00:30:39 2012 +0100

    Use the right (double) quotes for attributes in the menu definition files.
    
    Using the single quotes would prevent intltool to properly find i18n
    strings, rendering the application menu and menu bar not translatable.

 data/gtkbuilder/frogr-app-menu.xml |   26 ++++----
 data/gtkbuilder/frogr-menu-bar.xml |  108 ++++++++++++++++++------------------
 2 files changed, 67 insertions(+), 67 deletions(-)
---
diff --git a/data/gtkbuilder/frogr-app-menu.xml b/data/gtkbuilder/frogr-app-menu.xml
index 2c7e585..71ce9f6 100644
--- a/data/gtkbuilder/frogr-app-menu.xml
+++ b/data/gtkbuilder/frogr-app-menu.xml
@@ -3,31 +3,31 @@
   <menu id="app-menu">
     <section>
       <item>
-        <attribute name='label' translatable='yes'>Aut_horize Accountâ</attribute>
-        <attribute name='action'>app.authorize</attribute>
-        <attribute name='accel'>&lt;Primary&gt;&lt;Shift&gt;a</attribute>
+        <attribute name="label" translatable="yes">Aut_horize Accountâ</attribute>
+        <attribute name="action">app.authorize</attribute>
+        <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;a</attribute>
       </item>
     </section>
     <section>
       <item>
-        <attribute name='label' translatable='yes'>_Preferencesâ</attribute>
-        <attribute name='action'>app.preferences</attribute>
+        <attribute name="label" translatable="yes">_Preferencesâ</attribute>
+        <attribute name="action">app.preferences</attribute>
       </item>
     </section>
     <section>
       <item>
-        <attribute name='label' translatable='yes'>_Help</attribute>
-        <attribute name='action'>app.help</attribute>
-        <attribute name='accel'>F1</attribute>
+        <attribute name="label" translatable="yes">_Help</attribute>
+        <attribute name="action">app.help</attribute>
+        <attribute name="accel">F1</attribute>
       </item>
       <item>
-        <attribute name='label' translatable='yes'>_About</attribute>
-        <attribute name='action'>app.about</attribute>
+        <attribute name="label" translatable="yes">_About</attribute>
+        <attribute name="action">app.about</attribute>
       </item>
       <item>
-        <attribute name='label' translatable='yes'>_Quit</attribute>
-        <attribute name='action'>app.quit</attribute>
-        <attribute name='accel'>&lt;Primary&gt;q</attribute>
+        <attribute name="label" translatable="yes">_Quit</attribute>
+        <attribute name="action">app.quit</attribute>
+        <attribute name="accel">&lt;Primary&gt;q</attribute>
       </item>
     </section>
   </menu>
diff --git a/data/gtkbuilder/frogr-menu-bar.xml b/data/gtkbuilder/frogr-menu-bar.xml
index c8470ea..e52676c 100644
--- a/data/gtkbuilder/frogr-menu-bar.xml
+++ b/data/gtkbuilder/frogr-menu-bar.xml
@@ -2,120 +2,120 @@
 <interface>
   <menu id="menu-bar">
     <submenu>
-      <attribute name='label' translatable='yes'>_File</attribute>
+      <attribute name="label" translatable="yes">_File</attribute>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>_Openâ</attribute>
-          <attribute name='action'>win.open-project</attribute>
-          <attribute name='accel'>&lt;Primary&gt;o</attribute>
+          <attribute name="label" translatable="yes">_Openâ</attribute>
+          <attribute name="action">win.open-project</attribute>
+          <attribute name="accel">&lt;Primary&gt;o</attribute>
         </item>
         <item>
-          <attribute name='label' translatable='yes'>_Save</attribute>
-          <attribute name='action'>win.save-project</attribute>
-          <attribute name='accel'>&lt;Primary&gt;s</attribute>
+          <attribute name="label" translatable="yes">_Save</attribute>
+          <attribute name="action">win.save-project</attribute>
+          <attribute name="accel">&lt;Primary&gt;s</attribute>
         </item>
         <item>
-          <attribute name='label' translatable='yes'>Save _Asâ</attribute>
-          <attribute name='action'>win.save-project-as</attribute>
-          <attribute name='accel'>&lt;Primary&gt;&lt;Shift&gt;s</attribute>
+          <attribute name="label" translatable="yes">Save _Asâ</attribute>
+          <attribute name="action">win.save-project-as</attribute>
+          <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;s</attribute>
         </item>
       </section>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>A_dd Picturesâ</attribute>
-          <attribute name='action'>win.add-pictures</attribute>
-          <attribute name='accel'>&lt;Primary&gt;l</attribute>
+          <attribute name="label" translatable="yes">A_dd Picturesâ</attribute>
+          <attribute name="action">win.add-pictures</attribute>
+          <attribute name="accel">&lt;Primary&gt;l</attribute>
         </item>
         <item>
-          <attribute name='label' translatable='yes'>_Remove Pictures</attribute>
-          <attribute name='action'>win.remove-pictures</attribute>
-          <attribute name='accel'>Delete</attribute>
+          <attribute name="label" translatable="yes">_Remove Pictures</attribute>
+          <attribute name="action">win.remove-pictures</attribute>
+          <attribute name="accel">Delete</attribute>
         </item>
       </section>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>_Upload All</attribute>
-          <attribute name='action'>win.upload-all</attribute>
-          <attribute name='accel'>&lt;Primary&gt;u</attribute>
+          <attribute name="label" translatable="yes">_Upload All</attribute>
+          <attribute name="action">win.upload-all</attribute>
+          <attribute name="accel">&lt;Primary&gt;u</attribute>
         </item>
       </section>
     </submenu>
     <submenu>
-      <attribute name='label' translatable='yes'>_Edit</attribute>
+      <attribute name="label" translatable="yes">_Edit</attribute>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>_Edit Detailsâ</attribute>
-          <attribute name='action'>win.edit-details</attribute>
-          <attribute name='accel'>&lt;Primary&gt;d</attribute>
+          <attribute name="label" translatable="yes">_Edit Detailsâ</attribute>
+          <attribute name="action">win.edit-details</attribute>
+          <attribute name="accel">&lt;Primary&gt;d</attribute>
         </item>
         <item>
-          <attribute name='label' translatable='yes'>Add _Tagsâ</attribute>
-          <attribute name='action'>win.add-tags</attribute>
-          <attribute name='accel'>&lt;Primary&gt;t</attribute>
+          <attribute name="label" translatable="yes">Add _Tagsâ</attribute>
+          <attribute name="action">win.add-tags</attribute>
+          <attribute name="accel">&lt;Primary&gt;t</attribute>
         </item>
         <item>
-          <attribute name='label' translatable='yes'>Add to _Groupâ</attribute>
-          <attribute name='action'>win.add-to-group</attribute>
-          <attribute name='accel'>&lt;Primary&gt;g</attribute>
+          <attribute name="label" translatable="yes">Add to _Groupâ</attribute>
+          <attribute name="action">win.add-to-group</attribute>
+          <attribute name="accel">&lt;Primary&gt;g</attribute>
         </item>
         <submenu>
-          <attribute name='label' translatable='yes'>Add to _Photoset</attribute>
+          <attribute name="label" translatable="yes">Add to _Photoset</attribute>
           <section>
             <item>
-              <attribute name='label' translatable='yes'>_Add to Existing Photosetâ</attribute>
-              <attribute name='action'>win.add-to-set</attribute>
-              <attribute name='accel'>&lt;Primary&gt;p</attribute>
+              <attribute name="label" translatable="yes">_Add to Existing Photosetâ</attribute>
+              <attribute name="action">win.add-to-set</attribute>
+              <attribute name="accel">&lt;Primary&gt;p</attribute>
             </item>
             <item>
-              <attribute name='label' translatable='yes'>_Create New Photosetâ</attribute>
-              <attribute name='action'>win.add-to-new-set</attribute>
-              <attribute name='accel'>&lt;Primary&gt;&lt;Shift&gt;p</attribute>
+              <attribute name="label" translatable="yes">_Create New Photosetâ</attribute>
+              <attribute name="action">win.add-to-new-set</attribute>
+              <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;p</attribute>
             </item>
           </section>
         </submenu>
       </section>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>_Open in External Viewer</attribute>
-          <attribute name='action'>win.open-in-external-viewer</attribute>
-          <attribute name='accel'>&lt;Primary&gt;v</attribute>
+          <attribute name="label" translatable="yes">_Open in External Viewer</attribute>
+          <attribute name="action">win.open-in-external-viewer</attribute>
+          <attribute name="accel">&lt;Primary&gt;v</attribute>
         </item>
       </section>
     </submenu>
     <submenu>
-      <attribute name='label' translatable='yes'>_View</attribute>
+      <attribute name="label" translatable="yes">_View</attribute>
       <section>
         <submenu>
-          <attribute name='label' translatable='yes'>_Sort Pictures</attribute>
+          <attribute name="label" translatable="yes">_Sort Pictures</attribute>
           <section>
             <item>
-              <attribute name='label' translatable='yes'>As _Loaded</attribute>
-              <attribute name='action'>win.sort-by</attribute>
-              <attribute name='target'>as-loaded</attribute>
+              <attribute name="label" translatable="yes">As _Loaded</attribute>
+              <attribute name="action">win.sort-by</attribute>
+              <attribute name="target">as-loaded</attribute>
             </item>
             <item>
-              <attribute name='label' translatable='yes'>By _Date Taken</attribute>
-              <attribute name='action'>win.sort-by</attribute>
-              <attribute name='target'>date-taken</attribute>
+              <attribute name="label" translatable="yes">By _Date Taken</attribute>
+              <attribute name="action">win.sort-by</attribute>
+              <attribute name="target">date-taken</attribute>
             </item>
             <item>
-              <attribute name='label' translatable='yes'>By _Title</attribute>
-              <attribute name='action'>win.sort-by</attribute>
-              <attribute name='target'>title</attribute>
+              <attribute name="label" translatable="yes">By _Title</attribute>
+              <attribute name="action">win.sort-by</attribute>
+              <attribute name="target">title</attribute>
             </item>
           </section>
           <section>
             <item>
-              <attribute name='label' translatable='yes'>_Reversed Order</attribute>
-              <attribute name='action'>win.sort-in-reverse-order</attribute>
+              <attribute name="label" translatable="yes">_Reversed Order</attribute>
+              <attribute name="action">win.sort-in-reverse-order</attribute>
             </item>
           </section>
         </submenu>
       </section>
       <section>
         <item>
-          <attribute name='label' translatable='yes'>Enable _Tooltips</attribute>
-          <attribute name='action'>win.enable-tooltips</attribute>
+          <attribute name="label" translatable="yes">Enable _Tooltips</attribute>
+          <attribute name="action">win.enable-tooltips</attribute>
         </item>
       </section>
     </submenu>



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