[gnome-robots] appdata: mark for translation



commit 87352c474c3654d8a1added3bd9f2df80c4dbd68
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 6 10:01:55 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...ots.appdata.xml => gnome-robots.appdata.xml.in} |   16 ++++++++--------
 po/POTFILES.in                                     |    1 +
 3 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 04d7543..5bf025b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -55,7 +55,9 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-robots.appdata.xml
+appdata_in_files = gnome-robots.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 install-data-local:
        -$(mkinstalldirs) $(DESTDIR)$(scoredir)
@@ -81,7 +83,7 @@ uninstall-local:
            done
 
 EXTRA_DIST = $(cursor_files) \
-            $(appdata_DATA) \
+            $(appdata_in_files) \
              $(pixmap_DATA) \
              $(sounds_DATA) \
              $(theme_DATA) \
@@ -90,7 +92,9 @@ EXTRA_DIST = $(cursor_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/gnome-robots.appdata.xml b/data/gnome-robots.appdata.xml.in
similarity index 80%
rename from data/gnome-robots.appdata.xml
rename to data/gnome-robots.appdata.xml.in
index f521fb4..4d261cc 100644
--- a/data/gnome-robots.appdata.xml
+++ b/data/gnome-robots.appdata.xml.in
@@ -2,27 +2,27 @@
 <application>
  <id type="desktop">gnobots2.desktop</id>
  <licence>CC0</licence>
- <name>GNOME Robots</name>
+ <_name>GNOME Robots</_name>
  <description>
-  <p>
+  <_p>
    It is the distant future – the year 2000. Evil robots are trying to kill you.
    Avoid the robots or face certain death.
-  </p>
-  <p>
+  </_p>
+  <_p>
    Fortunately, the robots are extremely stupid and will always move directly
    towards you. Trick them into colliding into each other, resulting in their
    destruction, or into the junk piles that result. You can defend yourself by
    moving the junk piles, or escape to safety with your handy teleportation
    device.
-  </p>
-  <p>
+  </_p>
+  <_p>
    Your supply of safe teleports is limited, and once you run out, teleportation
    could land you right next to a robot, who will kill you. Survive for as long
    as possible!
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="722" 
height="606">https://wiki.gnome.org/Robots?action=AttachFile&#x26;do=get&#x26;target=robots.png</screenshot>
+  <_screenshot type="default" width="722" 
height="606">https://wiki.gnome.org/Robots?action=AttachFile&#x26;do=get&#x26;target=robots.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Robots</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4c3ec4d..ac40ee9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
 data/gnobots2.desktop.in
+data/gnome-robots.appdata.xml.in
 data/org.gnome.robots.gschema.xml
 src/game.c
 src/games-controls.c


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