[iagno] appdata: mark for translation



commit 427f18cc73c9a7acd4fa0f3ae16edb645bbaf1e4
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 10:14:53 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                 |   10 +++++++---
 data/{iagno.appdata.xml => iagno.appdata.xml.in} |    6 +++---
 po/POTFILES.in                                   |    1 +
 3 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1303335..2d72668 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -25,7 +25,9 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_files = iagno.appdata.xml
+appdata_in_files = iagno.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 gsettings_SCHEMAS = org.gnome.iagno.gschema.xml
 @GSETTINGS_RULES@
@@ -36,12 +38,14 @@ EXTRA_DIST = \
        $(ui_DATA) \
        $(theme_DATA) \
        $(sounds_DATA) \
-       $(appdata_files) \
+       $(appdata_in_files) \
        $(desktop_in_files) \
        $(gsettings_SCHEMAS) \
        $(man_MANS)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
        $(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/iagno.appdata.xml b/data/iagno.appdata.xml.in
similarity index 81%
rename from data/iagno.appdata.xml
rename to data/iagno.appdata.xml.in
index 19b98e4..c1579b8 100644
--- a/data/iagno.appdata.xml
+++ b/data/iagno.appdata.xml.in
@@ -3,17 +3,17 @@
   <id type="desktop">iagno.desktop</id>
   <licence>CC0</licence>
   <description>
-    <p>
+    <_p>
       Iagno is a computer version of the game Reversi, more popularly called
       Othello. Iagno is a two player strategy game similar to Go. The board is 8
       by 8 with tiles that are black on one side and white on the other side.
       The object of Iagno is to flip as many of your opponent's tiles to your
       color as possible without your opponent flipping your tiles. This is done
       by trapping your opponent's tiles between two tiles of your own color.
-    </p>
+    </_p>
   </description>
   <screenshots>
-    <screenshot type="default" width="602" 
height="438">https://wiki.gnome.org/Apps/Iagno?action=AttachFile&#x26;do=get&#x26;target=iagno.png</screenshot>
+    <_screenshot type="default" width="602" 
height="438">https://wiki.gnome.org/Apps/Iagno?action=AttachFile&#x26;do=get&#x26;target=iagno.png</_screenshot>
   </screenshots>
   <url type="homepage">https://wiki.gnome.org/Apps/Iagno</url>
   <updatecontact>games-list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ec6698c..e5f9ed9 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/iagno.appdata.xml.in
 data/iagno.desktop.in
 [type: gettext/glade]data/iagno.ui
 data/org.gnome.iagno.gschema.xml


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