[gnome-mahjongg] appdata: mark for translation



commit dba7713a50750ec456a97f81faa72220bd3608f8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 15:05:46 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...g.appdata.xml => gnome-mahjongg.appdata.xml.in} |   12 ++++++------
 po/POTFILES.in                                     |    1 +
 3 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 5362480..8a5af95 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -25,10 +25,12 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-mahjongg.appdata.xml
+appdata_in_files = gnome-mahjongg.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 EXTRA_DIST = \
-       $(appdata_DATA)         \
+       $(appdata_in_files)     \
        $(desktop_in_files)     \
        $(theme_DATA)           \
        $(gsettings_SCHEMAS)    \
@@ -36,7 +38,9 @@ EXTRA_DIST = \
        $(map_DATA)             \
        translatable_game_names.h
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
        $(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/gnome-mahjongg.appdata.xml b/data/gnome-mahjongg.appdata.xml.in
similarity index 80%
rename from data/gnome-mahjongg.appdata.xml
rename to data/gnome-mahjongg.appdata.xml.in
index 0184237..2452140 100644
--- a/data/gnome-mahjongg.appdata.xml
+++ b/data/gnome-mahjongg.appdata.xml.in
@@ -2,24 +2,24 @@
 <application>
  <id type="desktop">mahjongg.desktop</id>
  <licence>CC0</licence>
- <name>GNOME Mahjongg</name>
+ <_name>GNOME Mahjongg</_name>
  <description>
-  <p>
+  <_p>
    A solitaire version of the classic Eastern tile game. Tiles are stacked on
    the board at the start of the game. The goal is to remove all the tiles in
    as little time as possible. Select two matching tiles and they will disappear
    from the board, but you can only select a tile if there is an empty space to
    its left or right at the same level. Be careful: tiles that look alike
    may actually be slightly different.
-  </p>
-  <p>
+  </_p>
+  <_p>
    GNOME Mahjongg features a variety of starting layouts, some easy and some
    difficult. If you get stuck, you can ask for a hint, but this adds a large
    time penalty.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="708" 
height="484">https://wiki.gnome.org/Mahjongg?action=AttachFile&#x26;do=get&#x26;target=mahjongg.png</screenshot>
+  <_screenshot type="default" width="708" 
height="484">https://wiki.gnome.org/Mahjongg?action=AttachFile&#x26;do=get&#x26;target=mahjongg.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Mahjongg</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b42f8ae..0c2d7c7 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-mahjongg.appdata.xml.in
 data/mahjongg.desktop.in
 data/org.gnome.gnome-mahjongg.gschema.xml
 data/translatable_game_names.h


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