[gnome-software] Translate the AppData file



commit 6d5bd1487555ee5dc6132794aac8d56db4a29840
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 24 14:50:20 2013 +0100

    Translate the AppData file

 data/Makefile.am                                   |   10 +++++++---
 ...e.appdata.xml => gnome-software.appdata.xml.in} |    2 +-
 po/POTFILES.in                                     |    1 +
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index e0a4e18..5152ee6 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,9 +18,10 @@ dist_resources_DATA =                                        \
        stars3.png                                      \
        stars4.png          
 
-
+ INTLTOOL_XML_NOMERGE_RULE@
 appdatadir = $(datadir)/appdata
-appdata_files = gnome-software.appdata.xml
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gnome-software.appdata.xml.in
 
 install-sample-data:
        wget -O fedora-20.xml.gz http://people.freedesktop.org/~hughsient/temp/fedora-20.xml.gz; \
@@ -35,9 +36,12 @@ install-sample-data:
        cd -
 
 EXTRA_DIST =                                           \
-       $(appdata_files)                                \
+       $(appdata_in_files)                             \
        featured.ini.in
 
+CLEANFILES =                                           \
+       gnome-software.appdata.xml
+
 MAINTAINERCLEANFILES =                                 \
        *~                                              \
        Makefile.in
diff --git a/data/gnome-software.appdata.xml b/data/gnome-software.appdata.xml.in
similarity index 98%
rename from data/gnome-software.appdata.xml
rename to data/gnome-software.appdata.xml.in
index fb60dea..78821fc 100644
--- a/data/gnome-software.appdata.xml
+++ b/data/gnome-software.appdata.xml.in
@@ -9,7 +9,7 @@
       extensions.
       It also allows you to update your system using an offline update.
     </p>
-    <p>Goals</p>
+    <p>Goals:</p>
     <ul>
     <li>View installed applications</li>
     <li>Remove installed applications</li>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5271f19..66d5fe6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/gnome-software.appdata.xml.in
 [type: gettext/glade]src/app-menu.ui
 [type: gettext/glade]src/app-tile.ui
 src/gnome-software.desktop.in


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