From 2ff6f2ac3cc7ab01a9c67b67a9818c995f5b5ee7 Mon Sep 17 00:00:00 2001 From: Daniel Mustieles Date: Wed, 16 Oct 2013 10:54:51 +0200 Subject: Make Appdata file translatable --- data/Makefile.am | 11 ++++++++--- data/empathy.appdata.xml | 18 ------------------ data/empathy.appdata.xml.in | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 data/empathy.appdata.xml create mode 100644 data/empathy.appdata.xml.in (limited to 'data') 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 @@ - - - empathy.desktop - CC0 - -

- 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. -

-

- 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! -

-
- https://wiki.gnome.org/Empathy - - https://wiki.gnome.org/Empathy?action=AttachFile&do=get&target=empathy.png - - telepathy@lists.freedesktop.org -
diff --git a/data/empathy.appdata.xml.in b/data/empathy.appdata.xml.in new file mode 100644 index 000000000..0d655f40d --- /dev/null +++ b/data/empathy.appdata.xml.in @@ -0,0 +1,18 @@ + + + empathy.desktop + CC0 + + <_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> + 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! + + + https://wiki.gnome.org/Empathy + + https://wiki.gnome.org/Empathy?action=AttachFile&do=get&target=empathy.png + + telepathy@lists.freedesktop.org + -- cgit v1.2.1