[gtranslator] Add an AppData file



commit a34d8779afc5cb1ead8ae538f604080eada59db3
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 25 15:11:08 2013 +0100

    Add an AppData file
    
    See http://people.freedesktop.org/~hughsient/appdata/ for details.

 data/Makefile.am                |    7 +++++++
 data/gtranslator.appdata.xml.in |   24 ++++++++++++++++++++++++
 po/POTFILES.in                  |    1 +
 3 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index af7f28a..cbaa8d8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,6 +4,11 @@ SUBDIRS = \
        desktop \
        pixmaps
 
+ INTLTOOL_XML_NOMERGE_RULE@
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gtranslator.appdata.xml.in
+
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gtranslator.pc
 
@@ -20,12 +25,14 @@ gsettings_SCHEMAS = org.gnome.gtranslator.gschema.xml
 
 @GSETTINGS_RULES@
 
+
 EXTRA_DIST =                                   \
        $(ui_DATA)                              \
        org.gnome.gtranslator.gschema.xml.in    \
        gtranslator.pc.in
 
 CLEANFILES =                   \
+       gtranslator.appdata.xml \
        $(gsettings_SCHEMAS)    \
        $(pkgconfig_DATA)
 
diff --git a/data/gtranslator.appdata.xml.in b/data/gtranslator.appdata.xml.in
new file mode 100644
index 0000000..aab6864
--- /dev/null
+++ b/data/gtranslator.appdata.xml.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">gtranslator.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      Gtranslator is an enhanced gettext po file editor for the GNOME desktop
+      environment.
+      It handles all forms of gettext po files and includes very useful features
+      like find/replace, translation memory, different translator profiles,
+      messages table (for having an overview of the translations/messages in the
+      po file), easy navigation and editing of translation messages and comments
+      of the translation where accurate.
+    </_p>
+    <_p>
+      Gtranslator includes also a plugin system with many interesting plugins like alternate language, 
insert tags, open tran, integration with subversion and a source code viewer.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot 
type="default">https://git.gnome.org/browse/gtranslator/plain/help/C/figures/gtranslator_interface.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://projects.gnome.org/gtranslator/</url>
+  <updatecontact>leftmostcat gmail com</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b82e9ce..289d96e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
 [encoding: UTF-8]
+data/gtranslator.appdata.xml.in
 data/desktop/gtranslator.desktop.in.in
 data/org.gnome.gtranslator.gschema.xml.in.in
 data/po.lang


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]