[four-in-a-row] appdata: mark for translation



commit a5a9d23a52e7a9147ab9b4c385cb787f2bc07e75
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 10:01:17 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...ow.appdata.xml => four-in-a-row.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 c90b4a8..2737d72 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -31,19 +31,23 @@ desktop_DATA     = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = four-in-a-row.appdata.xml
+appdata_in_files = four-in-a-row.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 man_MANS     = four-in-a-row.6
 
 EXTRA_DIST = $(pixmap_DATA) \
              $(sounds_DATA) \
              $(velena_DATA) \
-            $(appdata_DATA) \
+            $(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/four-in-a-row.appdata.xml b/data/four-in-a-row.appdata.xml.in
similarity index 78%
rename from data/four-in-a-row.appdata.xml
rename to data/four-in-a-row.appdata.xml.in
index 93a6a5d..80d3091 100644
--- a/data/four-in-a-row.appdata.xml
+++ b/data/four-in-a-row.appdata.xml.in
@@ -3,19 +3,19 @@
  <id type="desktop">gnect.desktop</id>
  <licence>CC0</licence>
  <description>
-  <p>
+  <_p>
    A family classic, the objective of Four-in-a-row is to build a line of four
    of your marbles while trying to stop your opponent (human or computer) from
    building a line of his or her own. A line can be horizontal, vertical or
    diagonal. The first player to connect four in a row is the winner!
-  </p>
-  <p>
+  </_p>
+  <_p>
    Four-in-a-row features multiple difficulty levels. If you're having trouble,
    you can always ask for a hint.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="352" 
height="430">https://wiki.gnome.org/Four-in-a-row?action=AttachFile&#x26;do=get&#x26;target=four-in-a-row.png</screenshot>
+  <_screenshot type="default" width="352" 
height="430">https://wiki.gnome.org/Four-in-a-row?action=AttachFile&#x26;do=get&#x26;target=four-in-a-row.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Four-in-a-row</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 6d2b0f0..c35590b 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/four-in-a-row.appdata.xml.in
 data/gnect.desktop.in
 data/org.gnome.four-in-a-row.gschema.xml
 src/games-controls.c


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