[swell-foop] appdata: mark for translation



commit 882ee4acc560fd4fa7a40b7358f40d0e9a638830
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 6 10:12:18 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |    7 +++++--
 ...-foop.appdata.xml => swell-foop.appdata.xml.in} |   10 +++++-----
 po/POTFILES.in                                     |    1 +
 3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index cde426b..40aa326 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,15 +13,18 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = swell-foop.appdata.xml
+appdata_in_files = swell-foop.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 EXTRA_DIST = \
-    $(appdata_DATA) \
+    $(appdata_in_files) \
     $(swell_DATA) \
     $(gsettings_SCHEMAS) \
     $(desktop_in_files)
 
 CLEANFILES = \
+       $(appdata_DATA) \
        $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
diff --git a/data/swell-foop.appdata.xml b/data/swell-foop.appdata.xml.in
similarity index 80%
rename from data/swell-foop.appdata.xml
rename to data/swell-foop.appdata.xml.in
index 76518f2..b10c1dd 100644
--- a/data/swell-foop.appdata.xml
+++ b/data/swell-foop.appdata.xml.in
@@ -3,20 +3,20 @@
  <id type="desktop">swell-foop.desktop</id>
  <licence>CC0</licence>
  <description>
-  <p>
+  <_p>
    Remove as many squares as possible from the board. Click on a group of
    squares of the same color to make them all disappear in one fell swoop,
    causing other squares to fall into place. It is not possible to remove a
    single square at a time. You get far more points for clearing a larger group
    of squares, and also for clearing the entire board.
-  </p>
-  <p>
+  </_p>
+  <_p>
    Swell Foop is always very quick to play, but you can make it somewhat longer
    by changing the board size.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="752" 
height="584">https://wiki.gnome.org/Swell%20Foop?action=AttachFile&#x26;do=get&#x26;target=swell-foop.png</screenshot>
+  <_screenshot type="default" width="752" 
height="584">https://wiki.gnome.org/Swell%20Foop?action=AttachFile&#x26;do=get&#x26;target=swell-foop.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Swell%20Foop</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3aa2f1a..b8042af 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,6 +3,7 @@
 [encoding: UTF-8]
 data/org.gnome.swell-foop.gschema.xml
 [type: gettext/glade]data/preferences.ui
+data/swell-foop.appdata.xml.in
 data/swell-foop.desktop.in
 src/game.vala
 src/game-view.vala


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