[gnome-chess] appdata: mark for translation



commit d2d2dfb3cee6db4ca417d54dca318ef7f203d0b8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Sep 26 09:02:01 2013 -0500

    appdata: mark for translation

 data/Makefile.am                                   |   12 +++++++++---
 ...hess.appdata.xml => gnome-chess.appdata.xml.in} |   12 ++++++------
 po/POTFILES.in                                     |    1 +
 3 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index f3f5e86..c2089cb 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,7 +6,9 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-dist_appdata_DATA = gnome-chess.appdata.xml
+appdata_in_files = gnome-chess.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+ INTLTOOL_XML_RULE@
 
 uidir = $(pkgdatadir)
 dist_ui_DATA = \
@@ -22,9 +24,13 @@ dist_sysconf_DATA = chess-engines.conf
 
 dist_man_MANS = gnome-chess.6
 
-EXTRA_DIST = $(gsettings_SCHEMAS)
+EXTRA_DIST = \
+       $(appdata_in_files) \
+       $(gsettings_SCHEMAS)
 
-CLEANFILES = glchess.desktop
+CLEANFILES = \
+       $(appdata_DATA) \
+       glchess.desktop
 
 DISTCLEANFILES = glchess.desktop.in
 
diff --git a/data/gnome-chess.appdata.xml b/data/gnome-chess.appdata.xml.in
similarity index 78%
rename from data/gnome-chess.appdata.xml
rename to data/gnome-chess.appdata.xml.in
index 19a6e33..9a1954e 100644
--- a/data/gnome-chess.appdata.xml
+++ b/data/gnome-chess.appdata.xml.in
@@ -2,20 +2,20 @@
 <application>
  <id type="desktop">glchess.desktop</id>
  <licence>CC0</licence>
- <name>GNOME Chess</name>
+ <_name>GNOME Chess</_name>
  <description>
-  <p>
+  <_p>
    GNOME Chess is a simple chess game. You can play against your computer at
    three different difficulty levels, or against a friend at your computer.
-  </p>
-  <p>
+  </_p>
+  <_p>
   Computer chess enthusiasts will appreciate GNOME Chess's compatibility with
   nearly all modern computer chess engines, and its ability to detect several
   popular engines automatically if installed.
-  </p>
+  </_p>
  </description>
  <screenshots>
-  <screenshot type="default" width="702" 
height="590">https://people.gnome.org/~mcatanzaro/gnome-chess.png</screenshot>
+  <_screenshot type="default" width="702" 
height="590">https://people.gnome.org/~mcatanzaro/gnome-chess.png</_screenshot>
  </screenshots>
  <url type="homepage">https://wiki.gnome.org/Apps/Chess</url>
  <updatecontact>mcatanzaro_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 37eb18e..0a1b702 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
 data/glchess.desktop.in.in
+data/gnome-chess.appdata.xml.in
 [type: gettext/glade]data/gnome-chess.ui
 [type: gettext/glade]data/menu.ui
 data/org.gnome.gnome-chess.gschema.xml


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