[shotwell/wip/autotools] Mark appdata for translation



commit 444a9056c38d1b906d4f3f453dd06880e31d0e6e
Author: Jens Georg <mail jensge org>
Date:   Wed Jun 29 22:09:33 2016 +0200

    Mark appdata for translation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730669
    
    Signed-off-by: Jens Georg <mail jensge org>

 misc/Makefile.am             |    4 +++
 misc/shotwell.appdata.xml    |   34 ------------------------
 misc/shotwell.appdata.xml.in |   59 ++++++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in               |    1 +
 4 files changed, 64 insertions(+), 34 deletions(-)
---
diff --git a/misc/Makefile.am b/misc/Makefile.am
index db7315a..3c6ebac 100644
--- a/misc/Makefile.am
+++ b/misc/Makefile.am
@@ -2,6 +2,7 @@ gsettings_SCHEMAS = \
        org.yorba.shotwell.gschema.xml \
        org.yorba.shotwell-extras.gschema.xml
 
+appdata_in_files = shotwell.appdata.xml.in
 appdata_XML = \
        shotwell.appdata.xml
 
@@ -9,6 +10,9 @@ desktopdir = $(datadir)/applications
 desktop_in_files = $(srcdir)/shotwell.desktop.in $(srcdir)/shotwell-viewer.desktop.in
 desktop_DATA = shotwell.desktop shotwell-viewer.desktop
 
+$(appdata_XML) : $(appdata_in_files)
+       $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
 $(desktop_in_files): $(srcdir)/shotwell.desktop.in.in $(srcdir)/shotwell-viewer.desktop.in.in
        $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
 
diff --git a/misc/shotwell.appdata.xml.in b/misc/shotwell.appdata.xml.in
new file mode 100644
index 0000000..896f6fa
--- /dev/null
+++ b/misc/shotwell.appdata.xml.in
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Software Freedom Conservancy Inc. -->
+<component type="desktop">
+  <id>shotwell.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>LGPL-2.1+</project_license>
+  <translation type="gettext">shotwell</translation>
+  <summary>Popular photo manager</summary>
+  <description>
+    <p>
+      Shotwell is an easy-to-use, fast photo organizer designed for the GNOME desktop.
+      It allows you to import photos from your camera or disk, organize them by date and subject
+      matter, even ratings.  It also offers basic photo editing, like crop, red-eye correction,
+      color adjustments, and straighten.  Shotwell's non-destructive photo editor does not alter
+      your master photos, making it easy to experiment and correct errors.
+    </p>
+    <p>
+      When ready, Shotwell can upload your photos to various web sites, such as Facebook, Flickr,
+      Picasa (Google Plus), and more.
+    </p>
+    <p>
+      Shotwell supports JPEG, PNG, TIFF, and a variety of RAW file formats.
+    </p>
+  </description>
+  <url type="homepage">https://wiki.gnome.org/Apps/Shotwell</url>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://shotwell-project.org/appdata/shotwell/harbor.png</image>
+      <caption><!-- Describe this screenshot in less than ~10 words --></caption>
+    </screenshot>
+    <screenshot>
+      <image>http://shotwell-project.org/appdata/shotwell/import-300x155.png</image>
+      <caption><!-- Describe this screenshot in less than ~10 words --></caption>
+    </screenshot>
+    <screenshot>
+      <image>http://shotwell-project.org/appdata/shotwell/organize-300x197.png</image>
+      <caption><!-- Describe this screenshot in less than ~10 words --></caption>
+    </screenshot>
+    <screenshot>
+      <image>http://shotwell-project.org/appdata/shotwell/edit-300x247.png</image>
+      <caption><!-- Describe this screenshot in less than ~10 words --></caption>
+    </screenshot>
+    <screenshot>
+      <image>http://shotwell-project.org/appdata/shotwell/publish-300x213.png</image>
+      <caption><!-- Describe this screenshot in less than ~10 words --></caption>
+    </screenshot>
+  </screenshots>
+  <update_contact>mail jensge org</update_contact>
+  <project_group>GNOME</project_group>
+
+  <developer_name>The Shotwell developers</developer_name>
+
+  <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell</url>
+
+  <!--GNOME Projects usually have no per-app donation page-->
+  <url type="donation">http://www.gnome.org/friends/</url>
+
+  <url type="help">http://shotwell-project.org/doc/html</url>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 64b4fc3..6d84f03 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+misc/shotwell.appdata.xml.in
 plugins/common/RESTSupport.vala
 plugins/common/Resources.vala
 plugins/shotwell-data-imports/FSpotDatabase.vala


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