summaryrefslogtreecommitdiff
path: root/tests/cases/gsettings.gschema.xml
blob: ade93218160fd8b80ae06d4f4e14d9c9ab8e3278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!-- This is an example gsettings schema file. -->
<schemalist>
  <schema id="org.gnome.font-rendering" path="/desktop/gnome/font_rendering/">
    <key name="dpi" type="i">
      <default>96</default>
      <summary context="Dots Per Inch">DPI</summary>
      <description>
        The resolution used for converting font sizes to pixel sizes, in
        dots per inch.
      </description>
    </key>
    <key name="translated-default" type="s">
      <default l10n='messages'>
        'space   preserved   properly'
      </default>
    </key>
    <key name="complicated" type="i">
      <default>0</default>
      <summary>
        This is a complicated key.
      </summary>
      <description context='GSettings description'>
        This key is very complicated.  You should not attempt to
        understand it.

        There was this one guy who attempted to make sense of it once.
        We don't know what happened to him.
      </description>
    </key>
    <key name="clocktype" type="i">
      <!-- Translators: translate to either 12 or 24 to define the default
           clock format. -->
      <default l10n="messages" context="clock-format">24</default>
      <summary>Time format</summary>
      <description context="Time format gsettings description">
        How many hours can you tell apart?
      </description>
    </key>
    <key name="newline-normalization" type="i">
      <default>0</default>
      <summary>
        This is a key with multiple newlines.
      </summary>
      <description context='GSettings description'>
        Paragraph one.




        Paragraph two.  There was never anyone who
        tried to make sense out of this.
      </description>
    </key>
  </schema>
</schemalist>