From 63edd4555b1326554d5161632c0014e310fefe6f Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 20 Jan 2014 03:04:52 -0500 Subject: [PATCH] Translate appdata file --- .gitignore | 1 + data/misc/Makefile.am | 8 ++++++-- data/misc/{hexchat.appdata.xml => hexchat.appdata.xml.in} | 4 ++-- po/POTFILES.in | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) rename data/misc/{hexchat.appdata.xml => hexchat.appdata.xml.in} (52%) 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.in similarity index 52% rename from data/misc/hexchat.appdata.xml rename to data/misc/hexchat.appdata.xml.in index cf43ac96..1356322c 100644 --- a/data/misc/hexchat.appdata.xml +++ b/data/misc/hexchat.appdata.xml.in @@ -3,8 +3,8 @@ 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.

+ <_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 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