[empathy/gnome-3-10] Make Appdata file translatable



commit 207b37adbcb2b0ab096deacd7eee67fdbb5cdf59
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Wed Oct 16 10:55:50 2013 +0200

    Make Appdata file translatable

 data/Makefile.am         |   11 ++++++++---
 data/empathy.appdata.xml |   18 ------------------
 po/POTFILES.in           |    1 +
 3 files changed, 9 insertions(+), 21 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index a7bada5..14b8be7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -61,10 +61,12 @@ css_DATA = \
        $(NULL)
 
 appdatadir = $(datadir)/appdata
-appdata_files = empathy.appdata.xml
+appdata_in_files = empathy.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 EXTRA_DIST =                           \
-       $(appdata_files) \
+       $(appdata_in_files)             \
        $(convert_DATA)                 \
        $(desktop_in_files)             \
        $(desktop_DATA)                 \
@@ -73,8 +75,11 @@ EXTRA_DIST =                                 \
        $(clientfile_DATA)              \
        $(servicefile_in_files)         \
        $(gsettings_SCHEMAS)            \
-       $(css_DATA)             \
+       $(css_DATA)                     \
        $(NULL)
+CLEANFILES = \
+       $(appdata_DATA)
+
 
 DISTCLEANFILES =               \
        $(desktop_DATA)         \
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 431b4ed..d45cfc9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file sorted alphabetically.
 
 data/empathy.desktop.in.in
+data/empathy.appdata.xml.in
 [type: gettext/gsettings]data/org.gnome.Empathy.gschema.xml
 
 libempathy/empathy-ft-handler.c


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