[gnome-robots] Rely on intltool >=0.50 for gsettings translation
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots] Rely on intltool >=0.50 for gsettings translation
- Date: Sun, 6 Oct 2013 15:06:15 +0000 (UTC)
commit e89d958d42901b5bfaa490e5e5c18d2dc62d7df5
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 6 10:00:05 2013 -0500
Rely on intltool >=0.50 for gsettings translation
configure.ac | 2 +-
data/Makefile.am | 9 +--
data/org.gnome.robots.gschema.xml | 116 ++++++++++++++++++++++++++++
data/org.gnome.robots.gschema.xml.in | 140 ----------------------------------
po/POTFILES.in | 2 +-
5 files changed, 121 insertions(+), 148 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 556dc4e..07eeac9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################
-IT_PROG_INTLTOOL([0.35.0])
+IT_PROG_INTLTOOL([0.50])
AC_SUBST(GETTEXT_PACKAGE, gnome-robots)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext package name])
diff --git a/data/Makefile.am b/data/Makefile.am
index 96e586a..04d7543 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,8 +1,6 @@
SUBDIRS = icons
-gsettings_in_file = org.gnome.robots.gschema.xml.in
-gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
- INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.gnome.robots.gschema.xml
@GSETTINGS_RULES@
man_MANS = gnome-robots.6
@@ -89,11 +87,10 @@ EXTRA_DIST = $(cursor_files) \
$(theme_DATA) \
$(desktop_in_files) \
$(config_DATA) \
- $(gsettings_in_file) \
+ $(gsettings_SCHEMAS) \
$(man_MANS)
-CLEANFILES = $(desktop_DATA) $(gsettings_SCHEMAS)
-DISTCLEANFILES = $(gsettings_SCHEMAS)
+CLEANFILES = $(desktop_DATA)
check-local: $(appdata_DATA) $(desktop_DATA)
$(APPDATA_VALIDATE) $(appdata_DATA)
diff --git a/data/org.gnome.robots.gschema.xml b/data/org.gnome.robots.gschema.xml
new file mode 100644
index 0000000..3a2c37e
--- /dev/null
+++ b/data/org.gnome.robots.gschema.xml
@@ -0,0 +1,116 @@
+<schemalist>
+ <schema id="org.gnome.robots" path="/org/gnome/robots/" gettext-domain="gnome-games">
+ <key name="show-toolbar" type="b">
+ <default>true</default>
+ <summary>Show toolbar</summary>
+ <description>Show toolbar. A standard option for toolbars.</description>
+ </key>
+ <key name="theme" type="s">
+ <default>"robots"</default>
+ <summary>Robot image theme</summary>
+ <description>Robot image theme. The theme of the images to use for the robots.</description>
+ </key>
+ <key name="background-color" type="s">
+ <default>"#7590AE"</default>
+ <summary>Background color</summary>
+ <description>Background color. The hex specification of the background color.</description>
+ </key>
+ <key name="configuration" type="s">
+ <default>"classic_robots"</default>
+ <summary>Game type</summary>
+ <description>Game type. The name of the game variation to use.</description>
+ </key>
+ <key name="use-safe-moves" type="b">
+ <default>true</default>
+ <summary>Use safe moves</summary>
+ <description>Use safe moves. The safe moves option will help you to avoid being killed due to a
mistake. If you try to make a move that would lead to your death when there is a safe move available you will
not be allowed to proceed.</description>
+ </key>
+ <key name="use-super-safe-moves" type="b">
+ <default>true</default>
+ <summary>Use super safe moves</summary>
+ <description>Use super safe moves. The player is alerted when there is no safe move and the only
option is to teleport out.</description>
+ </key>
+ <key name="enable-sound" type="b">
+ <default>true</default>
+ <summary>Enable game sounds</summary>
+ <description>Enable game sounds. Play sounds for various events throughout the game.</description>
+ </key>
+ <key name="key00" type="i">
+ <default>65429</default>
+ <summary>Key to move NW</summary>
+ <description>The key used to move north-west.</description>
+ </key>
+ <key name="key01" type="i">
+ <default>65431</default>
+ <summary>Key to move N</summary>
+ <description>The key used to move north.</description>
+ </key>
+ <key name="key02" type="i">
+ <default>65434</default>
+ <summary>Key to move NE</summary>
+ <description>The key used to move north-east.</description>
+ </key>
+
+ <key name="key03" type="i">
+ <default>65430</default>
+ <summary>Key to move W</summary>
+ <description>The key used to move west.</description>
+ </key>
+ <key name="key04" type="i">
+ <default>65437</default>
+ <summary>Key to hold</summary>
+ <description>The key used to hold still.</description>
+ </key>
+ <key name="key05" type="i">
+ <default>65432</default>
+ <summary>Key to move E</summary>
+ <description>The key used to move east.</description>
+ </key>
+ <key name="key06" type="i">
+ <default>65436</default>
+ <summary>Key to move SW</summary>
+ <description>The key used to move south-west.</description>
+ </key>
+ <key name="key07" type="i">
+ <default>65433</default>
+ <summary>Key to move S</summary>
+ <description>The key used to move south.</description>
+ </key>
+ <key name="key08" type="i">
+ <default>65435</default>
+ <summary>Key to move SE</summary>
+ <description>The key used to move south-east.</description>
+ </key>
+ <key name="key09" type="i">
+ <default>65451</default>
+ <summary>Key to teleport</summary>
+ <description>The key used to teleport safely (if possible).</description>
+ </key>
+ <key name="key10" type="i">
+ <default>65450</default>
+ <summary>Key to teleport randomly</summary>
+ <description>The key used to teleport randomly.</description>
+ </key>
+ <key name="key11" type="i">
+ <default>65421</default>
+ <summary>Key to wait</summary>
+ <description>The key used to wait.</description>
+ </key>
+ <key name="window-width" type="i">
+ <default>720</default>
+ <summary>Width of the window in pixels</summary>
+ </key>
+ <key name="window-height" type="i">
+ <default>566</default>
+ <summary>Height of the window in pixels</summary>
+ </key>
+ <key name="window-is-maximized" type="b">
+ <default>false</default>
+ <summary>true if the window is maximized</summary>
+ </key>
+ <key name="window-is-fullscreen" type="b">
+ <default>false</default>
+ <summary>true if the window is fullscren</summary>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 06aed6c..4c3ec4d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,7 +2,7 @@
# Please keep this file in alphabetical order.
[encoding: UTF-8]
data/gnobots2.desktop.in
-data/org.gnome.robots.gschema.xml.in
+data/org.gnome.robots.gschema.xml
src/game.c
src/games-controls.c
src/games-scores-dialog.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]