[lightsoff] appdata: mark for translation



commit 6bc1b4de98ec3947568770923921eba75c1c68b3
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 14:49:03 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...htsoff.appdata.xml => lightsoff.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 4d08c34..120ae8b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,12 +18,16 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = lightsoff.appdata.xml
+appdata_in_files = lightsoff.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 EXTRA_DIST = \
-       $(appdata_DATA) \
+       $(appdata_in_files) \
        $(lightsoff_DATA) \
        $(gsettings_SCHEMAS) \
        $(desktop_in_files)
diff --git a/data/lightsoff.appdata.xml b/data/lightsoff.appdata.xml.in
similarity index 74%
rename from data/lightsoff.appdata.xml
rename to data/lightsoff.appdata.xml.in
index c0c98a2..be2bc16 100644
--- a/data/lightsoff.appdata.xml
+++ b/data/lightsoff.appdata.xml.in
@@ -3,14 +3,14 @@
  <id type="desktop">lightsoff.desktop</id>
  <licence>CC0</licence>
  <description>
-  <p>
+  <_p>
    Lights Off is a collection of light switch puzzlies. Clicking on a light
    toggles it either on or off, but also toggles all the surrounding lights,
    too. Your objective is simple: turn off all the lights!
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="381" 
height="543">https://wiki.gnome.org/Lightsoff?action=AttachFile&#x26;do=get&#x26;target=lightsoff-screenshot.png</screenshot>
+  <_screenshot type="default" width="381" 
height="543">https://wiki.gnome.org/Lightsoff?action=AttachFile&#x26;do=get&#x26;target=lightsoff-screenshot.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Lightsoff</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2b45998..b764593 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/lightsoff.appdata.xml.in
 data/lightsoff.desktop.in
 data/org.gnome.lightsoff.gschema.xml
 src/board-view.vala


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