~hiberis/intltool/bug-904647

« back to all changes in this revision

Viewing changes to tests/cases/gsettings.gschema.xml

  • Committer: Danilo Segan
  • Date: 2012-01-27 17:40:40 UTC
  • mfrom: (726.1.2 bug-922685)
  • Revision ID: danilo@canonical.com-20120127174040-t80ny0f3qwn9x85g
Bug #922685: Keep and normalize paragraphs in gsettings extraction. Strip starting/ending whitespace.  Patch by Ryan Lortie.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <key name="dpi" type="i">
5
5
      <default>96</default>
6
6
      <summary context="Dots Per Inch">DPI</summary>
7
 
      <description>The resolution used for converting font sizes to pixel sizes, in dots per inch.</description>
 
7
      <description>
 
8
        The resolution used for converting font sizes to pixel sizes, in
 
9
        dots per inch.
 
10
      </description>
 
11
    </key>
 
12
    <key name="translated-default" type="s">
 
13
      <default l10n='messages'>
 
14
        'space   preserved   properly'
 
15
      </default>
 
16
    </key>
 
17
    <key name="complicated" type="i">
 
18
      <default>0</default>
 
19
      <summary>
 
20
        This is a complicated key.
 
21
      </summary>
 
22
      <description context='GSettings description'>
 
23
        This key is very complicated.  You should not attempt to
 
24
        understand it.
 
25
 
 
26
        There was this one guy who attempted to make sense of it once.
 
27
        We don't know what happened to him.
 
28
      </description>
8
29
    </key>
9
30
    <key name="clocktype" type="i">
10
31
      <!-- Translators: translate to either 12 or 24 to define the default
11
32
           clock format. -->
12
33
      <default l10n="messages" context="clock-format">24</default>
13
34
      <summary>Time format</summary>
14
 
      <description context="Time format gsettings description">How many hours can you tell apart?</description>
 
35
      <description context="Time format gsettings description">
 
36
        How many hours can you tell apart?
 
37
      </description>
 
38
    </key>
 
39
    <key name="newline-normalization" type="i">
 
40
      <default>0</default>
 
41
      <summary>
 
42
        This is a key with multiple newlines.
 
43
      </summary>
 
44
      <description context='GSettings description'>
 
45
        Paragraph one.
 
46
 
 
47
 
 
48
 
 
49
 
 
50
        Paragraph two.  There was never anyone who
 
51
        tried to make sense out of this.
 
52
      </description>
15
53
    </key>
16
54
  </schema>
17
55
</schemalist>