[gnome-klotski] appdata: mark for translation



commit cf59ba595918d6a52b3f59a048fe58ef398d6d40
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 13:57:39 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...ki.appdata.xml => gnome-klotski.appdata.xml.in} |    8 ++++----
 po/POTFILES.in                                     |    1 +
 3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 7d26253..45b1ded 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,16 +15,20 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-klotski.appdata.xml
+appdata_in_files = gnome-klotski.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 EXTRA_DIST = \
-       $(appdata_DATA)         \
+       $(appdata_in_files)     \
        $(gsettings_SCHEMAS)    \
        $(desktop_in_files)     \
        $(man_MANS)             \
        $(pixmap_DATA)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
        $(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/gnome-klotski.appdata.xml b/data/gnome-klotski.appdata.xml.in
similarity index 73%
rename from data/gnome-klotski.appdata.xml
rename to data/gnome-klotski.appdata.xml.in
index bfce488..091f412 100644
--- a/data/gnome-klotski.appdata.xml
+++ b/data/gnome-klotski.appdata.xml.in
@@ -2,17 +2,17 @@
 <application>
  <id type="desktop">gnotski.desktop</id>
  <licence>CC0</licence>
- <name>GNOME Klotski</name>
+ <_name>GNOME Klotski</_name>
  <description>
-  <p>
+  <_p>
    GNOME Klotski is a set of block sliding puzzles. The objective is to move the
    patterned block to the area bordered by green markers. To do so, you'll need
    to slide other blocks out of the way. Complete each puzzle in as few moves as
    possible!
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="602" 
height="440">https://wiki.gnome.org/Klotski?action=AttachFile&#x26;do=get&#x26;target=klotski.png</screenshot>
+  <_screenshot type="default" width="602" 
height="440">https://wiki.gnome.org/Klotski?action=AttachFile&#x26;do=get&#x26;target=klotski.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Klotski</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d8c59ad..8ba808b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
+data/gnome-klotski.appdata.xml.in
 data/gnotski.desktop.in
 data/org.gnome.klotski.gschema.xml
 src/gnome-klotski.vala


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