From 63edd4555b1326554d5161632c0014e310fefe6f Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 20 Jan 2014 03:04:52 -0500 Subject: Translate appdata file --- .gitignore | 1 + data/misc/Makefile.am | 8 ++++++-- data/misc/hexchat.appdata.xml | 15 --------------- data/misc/hexchat.appdata.xml.in | 15 +++++++++++++++ po/POTFILES.in | 1 + 5 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 data/misc/hexchat.appdata.xml create mode 100644 data/misc/hexchat.appdata.xml.in diff --git a/.gitignore b/.gitignore index c3a54c65..adaf4090 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ po/POTFILES po/remove-potcdate.sed po/stamp-* data/pkgconfig/hexchat-plugin.pc +data/misc/hexchat.appdata.xml src/common/dbus/example src/common/dbus/marshallers.h src/common/dbus/org.hexchat.service.service diff --git a/data/misc/Makefile.am b/data/misc/Makefile.am index ef14c01e..1dcdb4cd 100644 --- a/data/misc/Makefile.am +++ b/data/misc/Makefile.am @@ -1,9 +1,10 @@ util_DATA = hexchat.desktop utildir = $(datadir)/applications -appdata_DATA = hexchat.appdata.xml +appdata_in_files = hexchat.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) appdatadir = $(datadir)/appdata - +@INTLTOOL_XML_RULE@ if WITH_TM util_DATA += htm.desktop @@ -21,3 +22,6 @@ uninstall-hook: $(UPDATE_MIME_DATABASE); $(UPDATE_DESKTOP_DATABASE); endif + +CLEANFILES = $(appdata_DATA) + diff --git a/data/misc/hexchat.appdata.xml b/data/misc/hexchat.appdata.xml deleted file mode 100644 index cf43ac96..00000000 --- a/data/misc/hexchat.appdata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - hexchat.desktop - CC0 - -

HexChat is an easy to use yet extensible IRC Client. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.

-

HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.

-
- http://hexchat.github.io - - http://i.imgur.com/XBbQKXf.png - - tingping_at_fedoraproject.org -
- diff --git a/data/misc/hexchat.appdata.xml.in b/data/misc/hexchat.appdata.xml.in new file mode 100644 index 00000000..1356322c --- /dev/null +++ b/data/misc/hexchat.appdata.xml.in @@ -0,0 +1,15 @@ + + + hexchat.desktop + CC0 + + <_p>HexChat is an easy to use yet extensible IRC Client. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files. + <_p>HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts. + + http://hexchat.github.io + + http://i.imgur.com/XBbQKXf.png + + tingping_at_fedoraproject.org + + diff --git a/po/POTFILES.in b/po/POTFILES.in index 98230eca..3a66b823 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,4 @@ +data/misc/hexchat.appdata.xml.in src/common/cfgfiles.c src/common/dcc.c src/common/hexchat.c -- cgit 1.4.1