<schemalist>
  <schema id="org.gnome.Reversi.Lib">
    <key name="automatic-night-mode" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/automatic-night-mode' -->
      <summary>A flag to follow system night light</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/automatic-night-mode' -->
      <description>Use GNOME night light setting to activate night-mode.</description>
    </key>
    <key name="window-width" type="i">
      <!-- see AdaptativeWindow.width-request at data/ui/adaptative-window.ui:22
      <range min="350"/> FIXME -->
      <default>540</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/window-width' -->
      <summary>The width of the window</summary>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/window-width' -->
      <description>The width of the main window in pixels.</description>
    </key>
    <key name="window-height" type="i">
      <!-- see AdaptativeWindow.height-request at data/ui/adaptative-window.ui:21
      <range min="284"/> FIXME -->
      <default>500</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/window-height' -->
      <summary>The height of the window</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/window-height' -->
      <description>The height of the main window in pixels.</description>
    </key>
    <key name="window-is-maximized" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/window-is-maximized' -->
      <summary>A flag to enable maximized mode</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/window-is-maximized' -->
      <description>If “true”, the main window starts in maximized mode.</description>
    </key>
  </schema>

  <enum id="org.gnome.Reversi.GameType">
    <value value="0" nick="classic"/>
    <value value="1" nick="reverse"/>
  </enum>
  <enum id="org.gnome.Reversi.Color">
    <value value="0" nick="dark"/>
    <value value="1" nick="light"/>
  </enum>

  <schema id="org.gnome.Reversi" path="/org/gnome/iagno/" gettext-domain="iagno">
    <key name="alternate-who-starts" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/alternate-who-starts' -->
      <summary>A flag to alternate who starts</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/alternate-who-starts' -->
      <description>If “true”, when playing against AI, the “color” settings is toggled after every new game request, making the next game being started with inverted roles (previous Dark player playing Light). Ignored for two-player games.</description>
    </key>
    <key name="color" enum="org.gnome.Reversi.Color">
      <default>'dark'</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/color' -->
      <summary>Color to play as</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/color' -->
      <description>Whether to play as Dark or Light. Ignored for two-player games.</description>
    </key>
    <key name="computer-level" type="i">
      <default>1</default>
      <range min="1" max="3" />
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/computer-level' -->
      <summary>Computer’s AI level</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/computer-level' -->
      <description>From 1, the easiest, to 3, the hardest.</description>
    </key>
    <key name="highlight-playable-tiles" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/highlight-playable-tiles' -->
      <summary>A flag to highlight playable tiles</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/highlight-playable-tiles' -->
      <description>If “true”, the tiles where you can play are highlighted.</description>
    </key>
    <key name="highlight-turnable-tiles" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/highlight-turnable-tiles'; these are not the playable tiles, but the one that could be captured by a play -->
      <summary>A flag to highlight capturable tiles</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/highlight-turnable-tiles'; the player moves mouse cursor and sees what he can capture by playing there -->
      <description>If “true”, the tiles that will be captured to the opponent by a play are highlighted.</description>
    </key>
    <key name="num-players" type="i">
      <default>1</default>
      <range min="1" max="2" />
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/num-players' -->
      <summary>Whether to play against the computer or another human.</summary>
      <!-- TODO add description? -->
    </key>
    <key name="random-start-position" type="b">
      <default>false</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/random-start-position' -->
      <summary>A flag to randomize start position</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/random-start-position' -->
      <description>Reversi can be played with two different initial positions (and their symmetries). If “true”, the game will randomly start with one or the other position; if “false”, only the most common initial position is used. You can force the game to use the alternative position by using the “--alternative-start” argument on the command-line; also, if either “--usual-start” or “--random-start” is given instead on the command-line, this flag will be ignored.</description>
    </key>
    <key name="sound" type="b">
      <default>true</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/sound' -->
      <summary>Sound</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/sound' -->
      <description>Whether or not to play event sounds.</description>
    </key>
    <key name="theme" type="s">
      <default>'default'</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/theme' -->
      <summary>Theme</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/theme'; TODO the themes names are translated in the UI, but not in the settings; not sure what to do for now -->
      <description>Filename of the theme used, or “default”. Are provided “adwaita.theme”, “high_contrast.theme” and “sun_and_star.theme”.</description>
    </key>
    <key name="type" enum="org.gnome.Reversi.GameType">
      <default>'classic'</default>
      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/iagno/type' -->
      <summary>Name of the game</summary>
      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/iagno/type' -->
      <description>The name of the game that will be played. It could be “classic” (the usual game, where you try to have more pieces), or “reverse” (the opposite game, where you try to have less pieces).</description>
    </key>
  </schema>
</schemalist>
