[five-or-more] Mark appdata for translation



commit 28f4638f9fd50f4d921e9f8aea647ad255d29d8c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 09:35:45 2013 -0500

    Mark appdata for translation

 data/Makefile.am                                   |   10 +++++++---
 ...ore.appdata.xml => five-or-more.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 1e53bee..2c881c7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -26,17 +26,21 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = five-or-more.appdata.xml
+appdata_in_files = five-or-more.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 EXTRA_DIST =                   \
        $(theme_DATA)           \
-        $(appdata_DATA)                \
+       $(appdata_in_files)     \
        $(desktop_in_files)     \
        $(gsettings_SCHEMAS)    \
        $(man_MANS)     \
        $(ui_DATA)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 check-local: $(appdata_DATA) $(desktop_DATA)
        $(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/five-or-more.appdata.xml b/data/five-or-more.appdata.xml.in
similarity index 76%
rename from data/five-or-more.appdata.xml
rename to data/five-or-more.appdata.xml.in
index 262e1f4..081d4a2 100644
--- a/data/five-or-more.appdata.xml
+++ b/data/five-or-more.appdata.xml.in
@@ -3,15 +3,15 @@
  <id type="desktop">glines.desktop</id>
  <licence>CC0</licence>
  <description>
-  <p>
+  <_p>
    Five or More is the GNOME port of a once-popular game. Align five or more
    objects of the same color into a line to cause them to disappear and score
    points. More objects appear after every turn. Play as long as possible, until
    the board is completely full.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="602" 
height="440">https://wiki.gnome.org/Five%20or%20more?action=AttachFile&#x26;do=get&#x26;target=five-or-more.png</screenshot>
+  <_screenshot type="default" width="602" 
height="440">https://wiki.gnome.org/Five%20or%20more?action=AttachFile&#x26;do=get&#x26;target=five-or-more.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Five%20or%20more</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 26d1c9b..3efb67d 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/five-or-more.appdata.xml.in
 [type: gettext/glade]data/five-or-more-preferences.ui
 [type: gettext/glade]data/five-or-more.ui
 data/glines.desktop.in


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