[empathy] Make Appdata file translatable
- From: Daniel Mustieles García <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Make Appdata file translatable
- Date: Wed, 16 Oct 2013 08:55:14 +0000 (UTC)
commit 2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Wed Oct 16 10:54:51 2013 +0200
Make Appdata file translatable
data/Makefile.am | 11 ++++++++---
...{empathy.appdata.xml => empathy.appdata.xml.in} | 8 ++++----
po/POTFILES.in | 1 +
3 files changed, 13 insertions(+), 7 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/data/empathy.appdata.xml b/data/empathy.appdata.xml.in
similarity index 96%
rename from data/empathy.appdata.xml
rename to data/empathy.appdata.xml.in
index 52b18ec..0d655f4 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 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]