aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mustieles <daniel.mustieles@gmail.com>2013-10-16 16:55:50 +0800
committerDaniel Mustieles <daniel.mustieles@gmail.com>2013-10-16 16:55:50 +0800
commit207b37adbcb2b0ab096deacd7eee67fdbb5cdf59 (patch)
tree99c6a512a71cce3ce657ebc4d6a1e9e04843a76b
parentc539516015558f3d60367db0f4381790672c7bb3 (diff)
downloadgsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar.gz
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar.bz2
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar.lz
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar.xz
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.tar.zst
gsoc2013-empathy-207b37adbcb2b0ab096deacd7eee67fdbb5cdf59.zip
Make Appdata file translatable
-rw-r--r--data/Makefile.am11
-rw-r--r--data/empathy.appdata.xml18
-rw-r--r--po/POTFILES.in1
3 files changed, 9 insertions, 21 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a7bada5bf..14b8be7dc 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/data/empathy.appdata.xml b/data/empathy.appdata.xml
deleted file mode 100644
index 52b18ece5..000000000
--- a/data/empathy.appdata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application>
- <id type="desktop">empathy.desktop</id>
- <licence>CC0</licence>
- <description>
- <p>
- Empathy is the official instant messaging application of the GNOME desktop environment.  Empathy can connect to AIM, MSN, Jabber (including Facebook and Google Talk), IRC, and many other messaging networks. You can chat with text, make audio and video calls, or even transfer files, depending on what your contact’s chat application allows.
- </p>
- <p>
- Empathy provides integrated messaging for the GNOME desktop, so you’ll never miss a message.  You can respond to your contacts without even having to open Empathy!
- </p>
- </description>
- <url type="homepage">https://wiki.gnome.org/Empathy</url>
- <screenshots>
- <screenshot type="default">https://wiki.gnome.org/Empathy?action=AttachFile&amp;do=get&amp;target=empathy.png</screenshot>
- </screenshots>
- <updatecontact>telepathy@lists.freedesktop.org</updatecontact>
-</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 431b4ed5b..d45cfc979 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