aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mustieles <daniel.mustieles@gmail.com>2013-10-16 16:54:51 +0800
committerDaniel Mustieles <daniel.mustieles@gmail.com>2013-10-16 16:54:51 +0800
commit2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7 (patch)
treeaa91ecf8e7c4c5777a5db05d5b3d7b08f203bbcf
parentf365eedf91e7cbb50fedf00b81b7ad5720fdbf70 (diff)
downloadgsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar.gz
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar.bz2
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar.lz
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar.xz
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.tar.zst
gsoc2013-empathy-2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7.zip
Make Appdata file translatable
-rw-r--r--data/Makefile.am11
-rw-r--r--data/empathy.appdata.xml.in (renamed from data/empathy.appdata.xml)8
-rw-r--r--po/POTFILES.in1
3 files changed, 13 insertions, 7 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.in
index 52b18ece5..0d655f40d 100644
--- a/data/empathy.appdata.xml
+++ b/data/empathy.appdata.xml.in
@@ -3,12 +3,12 @@
<id type="desktop">empathy.desktop</id>
<licence>CC0</licence>
<description>
- <p>
+ <_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>
+ </_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>
+ </_p>
</description>
<url type="homepage">https://wiki.gnome.org/Empathy</url>
<screenshots>
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