Try to make appdata translateable

parent 84ed1875
......@@ -13,3 +13,6 @@ pygobject: 2.18.0 or higher
pycairo
pygtk
gst-python
appdata-tools (https://github.com/hughsie/appdata-tools))
intltool
......@@ -49,6 +49,9 @@ EXTRA_DIST += \
intltool-update.in \
TODO
DISTCHECK_CONFIGURE_FLAGS = \
--enable-appdata-check
locale-uninstalled:
if test -d po; then \
$(MAKE) -C po datadir=../$(top_builddir) install; \
......
#AppData
@APPDATA_XML_RULES@
@INTLTOOL_XML_RULE@
appdata_in_files = transmageddon.appdata.xml.in
appdata_XML = $(appdata_in_files:.xml.in=.xml)
dist_noinst_DATA = \
$(appdata_in_files)
EXTRA_DIST = $(appdata_in_files)
CLEANFILES = $(appdata_XML)
appdatadir = $(datadir)/transmageddon/appdata
appdata_DATA = transmageddon.xml
EXTRA_DIST = transmageddon.xml
......@@ -6,22 +6,22 @@
<name>Transmageddon Media Transcoder</name>
<summary>Easy to use audio and video transcoding application</summary>
<description>
<p>
<_p>
Transmageddon is an application for converting audio and video files between different formats. It allows you to either manually choose the formats you want to convert between or alternatively you can choose a predefined target and the selections will be made for you. Transmageddon supports a very wide range for formats and can also optionally function as a DVD ripping tool.
</p>
<p>Feature list:</p>
</_p>
<_p>Feature list:</_p>
<ul>
<li>Wide range of media codecs</li>
<li>Allows extracting audio or video streams separately</li>
<li>Alows ripping of DVD if needed software libraries are available</li>
<li>Supports named device presets</li>
<li>Lets you add language metadata if missing</li>
<li>Can change orientation of video if necesarry</li>
<li>Supports files with multiple audio streams</li>
<_li>Wide range of media codecs</_li>
<_li>Allows extracting audio or video streams separately</_li>
<_li>Alows ripping of DVD if needed software libraries are available</_li>
<_li>Supports named device presets</_li>
<_li>Lets you add language metadata if missing</_li>
<_li>Can change orientation of video if necesarry</_li>
<_li>Supports files with multiple audio streams</_li>
</ul>
<p>
<_p>
You might want to install this application if your need to convert media files between different formats due to for example having hardware that only supports a limited range of formats.
</p>
</_p>
</description>
<screenshots>
<screenshot type="default" width="800" height="575">http://www.linuxrising.org/screenshots/en_US/transmageddon-appdata.png</screenshot>
......
......@@ -52,7 +52,8 @@ GETTEXT_PACKAGE="transmageddon"
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
IT_PROG_INTLTOOL([0.40.0])
APPDATA_XML
CONFIGURED_PYTHONPATH=$PYTHONPATH
AC_SUBST(CONFIGURED_PYTHONPATH)
......@@ -62,7 +63,7 @@ AC_CONFIG_FILES([bin/transmageddon], [chmod +x bin/transmageddon])
dnl output stuff
AC_CONFIG_FILES([
Makefile
appdata/transmageddon.xml
appdata/transmageddon.appdata.xml
appdata/Makefile
bin/Makefile
common/Makefile
......
transmageddon.desktop.in.in
appdata/transmageddon.appdata.xml.in
src/about.py.in
src/dvdtrackchooser.py
src/presets.py
......
......@@ -60,7 +60,7 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/256x256/apps/transmageddon.png
%{_datadir}/icons/hicolor/32x32/apps/transmageddon.png
%{_datadir}/icons/hicolor/48x48/apps/transmageddon.png
%{_datadir}/transmageddon/appdata/transmageddon.xml
%{_datadir}/transmageddon/appdata/transmageddon.appdata.xml
%{_datadir}/applications/transmageddon.desktop
%{_datadir}/transmageddon/presets/*
%{_datadir}/transmageddon/profiles/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment