[quadrapassel] appdata: mark for translation



commit e29bf78a1d81315aa3974c8c3863a09b30d1057f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 6 09:45:48 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...sel.appdata.xml => quadrapassel.appdata.xml.in} |   10 +++++-----
 po/POTFILES.in                                     |    1 +
 3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 293a9f1..2f18555 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,18 +20,22 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = quadrapassel.appdata.xml
+appdata_in_files = quadrapassel.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 man_MANS = quadrapassel.6
 
 EXTRA_DIST = \
-       $(appdata_DATA) \
+       $(appdata_in_files) \
        $(gsettings_SCHEMAS) \
        $(sounds_DATA) \
        $(desktop_in_files) \
        $(man_MANS)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
        $(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/quadrapassel.appdata.xml b/data/quadrapassel.appdata.xml.in
similarity index 83%
rename from data/quadrapassel.appdata.xml
rename to data/quadrapassel.appdata.xml.in
index e022c45..d6707b1 100644
--- a/data/quadrapassel.appdata.xml
+++ b/data/quadrapassel.appdata.xml.in
@@ -3,22 +3,22 @@
  <id type="desktop">quadrapassel.desktop</id>
  <licence>CC0</licence>
  <description>
-  <p>
+  <_p>
    Quadrapassel is a derivitive of the classic Russian falling-block game.
    Reposition and rotate the blocks as they fall, and attempt to fit them
    together. When you form a complete horizontal row of blocks, the row will
    disappear and you score points. The game is over when the blocks get stacked
    too high. As your score gets higher, you level up and the blocks fall faster.
-  </p>
-  <p>
+  </_p>
+  <_p>
    If you're looking for a challenge, Quadrapassel allows you to increase the
    initial speed of the blocks, or begin the game with partial blocks on some
    of the rows. Or, instead of allowing the blocks to fall randomly, it can
    select blocks that will be hard for you to place.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="502" 
height="540">https://wiki.gnome.org/Apps/Quadrapassel?action=AttachFile&#x26;do=get&#x26;target=quadrapassel.png</screenshot>
+  <_screenshot type="default" width="502" 
height="540">https://wiki.gnome.org/Apps/Quadrapassel?action=AttachFile&#x26;do=get&#x26;target=quadrapassel.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Apps/Quadrapassel</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 445845f..42b1204 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
 data/org.gnome.quadrapassel.gschema.xml
+data/quadrapassel.appdata.xml.in
 data/quadrapassel.desktop.in
 src/game.vala
 src/game-view.vala


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