[gnome-contacts] Mark app menu strings as translatable



commit 018c277f094a40cdf4b24d7d4d6737496ab680f4
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jan 24 16:21:53 2012 +0100

    Mark app menu strings as translatable

 po/POTFILES.in  |    1 +
 src/app-menu.ui |   12 +++++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index aa17eb4..197deb1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -13,3 +13,4 @@ src/contacts-types.vala
 src/contacts-utils.vala
 src/contacts-view.vala
 src/main.vala
+[type: gettext/glade]src/app-menu.ui
diff --git a/src/app-menu.ui b/src/app-menu.ui
index a57674d..c220d96 100644
--- a/src/app-menu.ui
+++ b/src/app-menu.ui
@@ -1,11 +1,17 @@
 <interface>
   <menu id='app-menu'>
     <section>
-      <item label='_Change Address Book...' action='app.change_book'/>
+      <item action='app.change_book'>
+	  <attribute name='label' translatable='yes'>'_Change Address Book...'</attribute>
+      </item>
     </section>
     <section>
-      <item label='_About Contacts' action='app.about'/>
-      <item label='_Quit' action='app.quit' accel='<Primary>q'/>
+      <item action='app.about'>
+	  <attribute name='label' translatable='yes'>'_About Contacts'</attribute>
+      </item>
+      <item action='app.quit' accel='&lt;Primary>q'>
+	  <attribute name='label' translatable='yes'>'_Quit'</attribute>
+      </item>
     </section>
   </menu>
 </interface>



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