[gnome-mines] appdata: mark for translation
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] appdata: mark for translation
- Date: Sat, 5 Oct 2013 20:48:17 +0000 (UTC)
commit 849e723e26bcca5c6d9a68bac1eb86d48b8e6f23
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 5 15:23:21 2013 -0500
appdata: mark for translation
data/Makefile.am | 10 +++++++---
...ines.appdata.xml => gnome-mines.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 d956aee..d713e78 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,16 +16,20 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-mines.appdata.xml
+appdata_in_files = gnome-mines.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
EXTRA_DIST = \
- $(appdata_DATA) \
+ $(appdata_in_files) \
$(gsettings_SCHEMAS) \
$(desktop_in_files) \
$(man_MANS) \
$(pixmap_DATA)
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = \
+ $(appdata_DATA) \
+ $(desktop_DATA)
check-local: $(appdata_DATA) $(desktop_DATA)
$(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/gnome-mines.appdata.xml b/data/gnome-mines.appdata.xml.in
similarity index 78%
rename from data/gnome-mines.appdata.xml
rename to data/gnome-mines.appdata.xml.in
index 9eb26ff..429d427 100644
--- a/data/gnome-mines.appdata.xml
+++ b/data/gnome-mines.appdata.xml.in
@@ -2,22 +2,22 @@
<application>
<id type="desktop">gnomine.desktop</id>
<licence>CC0</licence>
- <name>GNOME Mines</name>
+ <_name>GNOME Mines</_name>
<description>
- <p>
+ <_p>
GNOME Mines is a puzzle game where you search for hidden mines. Flag the
spaces with mines as quickly as possible to make the board a safer place. You
win the game when you've flagged every mine on the board. Be careful not to
trigger one, or the game is over!
- </p>
- <p>
+ </_p>
+ <_p>
You can select the size of the field you want to play on at the start of the
game. If you get stuck, you can ask for a hint: there's a time penalty, but
that's better than hitting a mine!
- </p>
+ </_p>
</description>
<screenshots>
- <screenshot type="default" width="659"
height="578">https://wiki.gnome.org/Mines?action=AttachFile&do=get&target=mines.png</screenshot>
+ <_screenshot type="default" width="659"
height="578">https://wiki.gnome.org/Mines?action=AttachFile&do=get&target=mines.png</_screenshot>
</screenshots>
<url type="homepage">https://wiki.gnome.org/Mines</url>
<updatecontact>games_list_at_gnome.org</updatecontact>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 21e5ae5..81c7b4d 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-mines.appdata.xml.in
data/gnomine.desktop.in
data/org.gnome.mines.gschema.xml
src/gnome-mines.vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]