<?xml version="1.0"?>
<!--
  Copyright (C) 2015-2026 Free Software Foundation, Inc.

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.

  Written by Daiki Ueno.
-->
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
           xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
           version="2.0">

  <!-- Documentation of the GSettings XML file format:
       https://docs.gtk.org/gio/class.Settings.html
  -->

  <its:translateRule selector="/schemalist" translate="no"/>

  <its:translateRule selector="//summary | //description" translate="yes"/>

  <its:translateRule selector="//default[@l10n]" translate="yes"/>
  <gt:contextRule selector="//default[@context]" contextPointer="@context"/>
  <gt:escapeRule selector="//default/@context" escape="no"/>

  <gt:preserveSpaceRule selector="//default" space="trim"/>

  <!-- This rule is redundant since gettext 0.23.  -->
  <gt:escapeRule selector="/schemalist" escape="no"/>
</its:rules>
