[gnome-tetravex] appdata: mark for translation
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] appdata: mark for translation
- Date: Sun, 6 Oct 2013 15:46:29 +0000 (UTC)
commit d60efc5d6a2d6919290eea994b254fe4223dc3ef
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 6 10:43:26 2013 -0500
appdata: mark for translation
data/Makefile.am | 10 +++++++---
...x.appdata.xml => gnome-tetravex.appdata.xml.in} | 12 ++++++------
po/POTFILES.in | 1 +
3 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1d1ed96..3fe56a3 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,7 +9,9 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-tetravex.appdata.xml
+appdata_in_files = gnome-tetravex.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
gsettings_SCHEMAS = org.gnome.tetravex.gschema.xml
@GSETTINGS_RULES@
@@ -17,13 +19,15 @@ gsettings_SCHEMAS = org.gnome.tetravex.gschema.xml
man_MANS = gnome-tetravex.6
EXTRA_DIST = \
- $(appdata_DATA) \
+ $(appdata_in_files) \
$(desktop_in_files) \
$(ui_DATA) \
$(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-tetravex.appdata.xml b/data/gnome-tetravex.appdata.xml.in
similarity index 74%
rename from data/gnome-tetravex.appdata.xml
rename to data/gnome-tetravex.appdata.xml.in
index 115638a..61ea9d2 100644
--- a/data/gnome-tetravex.appdata.xml
+++ b/data/gnome-tetravex.appdata.xml.in
@@ -2,20 +2,20 @@
<application>
<id type="desktop">gnome-tetravex.desktop</id>
<licence>CC0</licence>
- <name>GNOME Tetravex</name>
+ <_name>GNOME Tetravex</_name>
<description>
- <p>
+ <_p>
Each square piece has a number on each side. Position the pieces on the left
side of the board so that the same numbers are next to each other. If the
numbers don't match, you can't put the piece there. Move quickly: you're
being timed!
- </p>
- <p>
+ </_p>
+ <_p>
You can make the game easier or harder by changing the size of the board.
- </p>
+ </_p>
</description>
<screenshots>
- <screenshot type="default" width="602"
height="440">https://wiki.gnome.org/Tetravex?action=AttachFile&do=get&target=tetravex.png</screenshot>
+ <_screenshot type="default" width="602"
height="440">https://wiki.gnome.org/Tetravex?action=AttachFile&do=get&target=tetravex.png</_screenshot>
</screenshots>
<url type="homepage">https://wiki.gnome.org/Tetravex</url>
<updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 668fbe5..d6f12c4 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/gnome-tetravex.appdata.xml.in
data/gnome-tetravex.desktop.in
[type: gettext/glade]data/gnome-tetravex.ui
data/org.gnome.tetravex.gschema.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]