gnome-chess/data/org.gnome.Chess.gschema.xml
Bilal Elmoussaoui 9b910aa520 app-id: unify the app-id
Use org.gnome.Chess as the app-id and follow the new freedesktop standards for appdata/desktop/icons files names
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
2019-01-09 14:20:33 +01:00

122 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<enum id="org.gnome.Chess.MoveFormat">
<value value="0" nick="human"/>
<value value="1" nick="san"/>
<value value="2" nick="fan"/>
<value value="3" nick="lan"/>
</enum>
<enum id="org.gnome.Chess.PlayAs">
<value value="0" nick="white"/>
<value value="1" nick="black"/>
<value value="2" nick="alternate"/>
</enum>
<enum id="org.gnome.Chess.BoardSide">
<value value="0" nick="white"/>
<value value="1" nick="black"/>
<value value="2" nick="human"/>
<value value="3" nick="current"/>
</enum>
<enum id="org.gnome.Chess.Difficulty">
<value value="0" nick="easy"/>
<value value="1" nick="normal"/>
<value value="2" nick="hard"/>
</enum>
<enum id="org.gnome.Chess.ClockType">
<value value="0" nick="simple"/>
<value value="1" nick="fischer"/>
<value value="2" nick="bronstein"/>
</enum>
<schema id="org.gnome.Chess" path="/org/gnome/Chess/" gettext-domain="gnome-chess">
<key name="width" type="i">
<default>700</default>
<summary>The width of the window</summary>
<description>The width of the main window in pixels.</description>
</key>
<key name="height" type="i">
<default>550</default>
<summary>The height of the window</summary>
<description>The height of the main window in pixels.</description>
</key>
<key name="maximized" type="b">
<default>false</default>
<summary>A flag to enable maximized mode</summary>
<description>A flag to enable maximized mode</description>
</key>
<key name="piece-theme" type="s">
<default>'simple'</default>
<summary>The piece theme to use</summary>
<description>The piece theme to use</description>
</key>
<key name="show-move-hints" type="b">
<default>true</default>
<summary>A flag to enable move hints</summary>
<description>A flag to enable move hints</description>
</key>
<key name="show-numbering" type="b">
<default>false</default>
<summary>A flag to enable board numbering</summary>
<description>A flag to enable board numbering</description>
</key>
<key name="save-directory" type="s">
<default>''</default>
<summary>The directory to open the save game dialog in</summary>
<description>The directory to open the save game dialog in</description>
</key>
<key name="load-directory" type="s">
<default>''</default>
<summary>The directory to open the load game dialog in</summary>
<description>The directory to open the load game dialog in</description>
</key>
<key name="move-format" enum="org.gnome.Chess.MoveFormat">
<default>'human'</default>
<summary>The format to display moves in</summary>
<description>The format to display moves in</description>
</key>
<key name="board-side" enum="org.gnome.Chess.BoardSide">
<default>'human'</default>
<summary>The side of the board that is in the foreground</summary>
<description>The side of the board that is in the foreground</description>
</key>
<key name="duration" type="i">
<default>0</default>
<summary>The duration of a game in seconds (0 for no limit)</summary>
<description>The duration of a game in seconds (0 for no limit)</description>
</key>
<key name="clock-type" enum="org.gnome.Chess.ClockType">
<default>'simple'</default>
<summary>The type of clock (simple/fischer/bronstein)</summary>
<description>The type of clock (simple/fischer/bronstein)</description>
</key>
<key name="timer-increment" type="i">
<default>1</default>
<summary>The timer increment set corresponding to clock type (1 second minimum)</summary>
<description>The timer increment set corresponding to clock type (1 second minimum)</description>
</key>
<key name="play-as" enum="org.gnome.Chess.PlayAs">
<default>'white'</default>
<summary>The board side to play as</summary>
<description>The board side to play as</description>
</key>
<key name="last-played-as" enum="org.gnome.Chess.PlayAs">
<default>'white'</default>
<summary>The last side the player played as</summary>
<description>This is needed when play-as is set to alternate. This should only be set to black or white.</description>
</key>
<key name="opponent" type="s">
<default>''</default>
<summary>The opponent player</summary>
<description>Can be 'human' (play against another human player), '' (use the first available chess engine) or the name of a specific engine to play against</description>
</key>
<key name="difficulty" enum="org.gnome.Chess.Difficulty">
<default>'easy'</default>
<summary>Difficulty of the opponent chess engine</summary>
<description>Difficulty of the opponent chess engine</description>
</key>
</schema>
</schemalist>