[gnome-nibbles] appdata: mark for translation



commit 94d13092f90a9662180c5978f86e5cafd2a00c2d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 6 09:32:49 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   10 +++++++---
 ...es.appdata.xml => gnome-nibbles.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 f74c146..c653acf 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,18 +20,22 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-nibbles.appdata.xml
+appdata_in_files = gnome-nibbles.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
 
 man_MANS = gnome-nibbles.6
 
 EXTRA_DIST = \
-       $(appdata_DATA) \
+       $(appdata_in_files) \
        $(desktop_in_files) \
        $(sounds_DATA) \
        $(gsettings_SCHEMAS) \
        $(man_MANS)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+       $(appdata_DATA) \
+       $(desktop_DATA)
 
 install-exec-hook:
        -if test "$(setgid)" = "true"; then \
diff --git a/data/gnome-nibbles.appdata.xml b/data/gnome-nibbles.appdata.xml.in
similarity index 81%
rename from data/gnome-nibbles.appdata.xml
rename to data/gnome-nibbles.appdata.xml.in
index a1fc052..97a39b5 100644
--- a/data/gnome-nibbles.appdata.xml
+++ b/data/gnome-nibbles.appdata.xml.in
@@ -2,27 +2,27 @@
 <application>
  <id type="desktop">gnibbles.desktop</id>
  <licence>CC0</licence>
- <name>GNOME Nibbles</name>
+ <_name>GNOME Nibbles</_name>
  <description>
-  <p>
+  <_p>
    Control a worm in its quest to eat bonuses and become longer. Outmanuever
    enemy worms while eating doughnuts and ice cream to increase your length.
    Each worm has ten lives and loses one by running into a wall, another worm,
    or itself. The enemy worms are after the same bonuses that you are, so be
    careful: if they become too large, you won't have much room to manuever.
-  </p>
-  <p>
+  </_p>
+  <_p>
    The adventure progresses through 26 maps of increasing difficulty. The early
    levels are mostly open with a few walls, but later on, cramped spaces and
    teleporters make things more interesting.
-  </p>
-  <p>
+  </_p>
+  <_p>
    Play on your own against up to five enemy worms, or share your keyboard to
    let one or more friends join the fun.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="652" 
height="560">https://wiki.gnome.org/Nibbles?action=AttachFile&#x26;do=get&#x26;target=nibbles.png</screenshot>
+  <_screenshot type="default" width="652" 
height="560">https://wiki.gnome.org/Nibbles?action=AttachFile&#x26;do=get&#x26;target=nibbles.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Nibbles</url>
  <updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 26ff15b..6f2dc20 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
 data/gnibbles.desktop.in
+data/gnome-nibbles.appdata.xml.in
 data/org.gnome.nibbles.gschema.xml
 src/board.c
 src/games-controls.c


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