summaryrefslogtreecommitdiff
path: root/libmateweather/org.mate.weather.gschema.xml.in.in
blob: 43dcbbb762fdab0905f00b85370eb084f4faa61b (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
  <enum id="org.mate.weather.TemperatureUnit">
    <value nick="Invalid" value="0"/>
    <value nick="Default" value="1"/>
    <value nick="Kelvin" value="2"/>
    <value nick="Centigrade" value="3"/>
    <value nick="Fahrenheit" value="4"/>
  </enum>
  <enum id="org.mate.weather.SpeedUnit">
    <value nick="Invalid" value="0"/>
    <value nick="Default" value="1"/>
    <value nick="m/s" value="2"/>
    <value nick="km/h" value="3"/>
    <value nick="mph" value="4"/>
    <value nick="knots" value="5"/>
    <value nick="Beaufort scale" value="6"/>
  </enum>
  <enum id="org.mate.weather.PressureUnit">
    <value nick="Invalid" value="0"/>
    <value nick="Default" value="1"/>
    <value nick="kPa" value="2"/>
    <value nick="hPa" value="3"/>
    <value nick="mb" value="4"/>
    <value nick="mmHg" value="5"/>
    <value nick="inHg" value="6"/>
    <value nick="atm" value="7"/>
  </enum>
  <enum id="org.mate.weather.DistanceUnit">
    <value nick="Invalid" value="0"/>
    <value nick="Default" value="1"/>
    <value nick="meters" value="2"/>
    <value nick="km" value="3"/>
    <value nick="miles" value="4"/>
  </enum>
  <schema id="org.mate.weather">
    <key name="auto-update" type="b">
      <default>true</default>
      <_summary>Update the data automatically</_summary>
      <_description>Determines whether the applet automatically updates its weather statistics or not.</_description>
    </key>
    <key name="auto-update-interval" type="i">
      <default>1800</default>
      <_summary>Update interval</_summary>
      <_description>The interval, in seconds, between automatic updates.</_description>
    </key>
    <key name="enable-metric" type="b">
      <default>false</default>
      <_summary>Use metric units</_summary>
      <_description>Use metric units instead of english units.</_description>
    </key>
    <key name="distance-unit" enum="org.mate.weather.DistanceUnit">
      <default>'Default'</default>
      <_summary>Distance unit</_summary>
      <_description>The unit to use for visibility.</_description>
    </key>
    <key name="pressure-unit" enum="org.mate.weather.PressureUnit">
      <default>'Default'</default>
      <_summary>Pressure unit</_summary>
      <_description>The unit to use for pressure.</_description>
    </key>
    <key name="speed-unit" enum="org.mate.weather.SpeedUnit">
      <default>'Default'</default>
      <_summary>Speed unit</_summary>
      <_description>The unit to use for wind speed.</_description>
    </key>
    <key name="temperature-unit" enum="org.mate.weather.TemperatureUnit">
      <default>'Default'</default>
      <_summary>Temperature unit</_summary>
      <_description>The unit to use for temperature.</_description>
    </key>
    <key name="enable-detailed-forecast" type="b">
      <default>false</default>
      <_summary>Not used anymore</_summary>
    </key>
    <key name="enable-radar-map" type="b">
      <default>false</default>
      <_summary>Display radar map</_summary>
      <_description>Fetch a radar map on each update.</_description>
    </key>
    <key name="location0" type="s">
      <!-- TRANSLATORS: Change this to the default location name, used
      when you first start the Weather Applet. This is the common
      localised name that corresponds to the location code
      (DEFAULT_CODE) you will put on the next message. For example, for
      the Greek locale, we set this to "Athens", the capital city and we
      write it in Greek. It's important to translate this name. If you
      do not require a DEFAULT_LOCATION, set this to
      "DEFAULT_LOCATION". -->
      <_default l10n="messages">'DEFAULT_LOCATION'</_default>
      <_summary>Weather location information</_summary>
      <_description>Weather location information.</_description>
    </key>
    <key name="location1" type="s">
      <!-- TRANSLATORS: Change this to the code of your default location
      that corresponds to the DEFAULT_LOCATION name you put above. This
      is normally a four-letter (ICAO) code and can be found in https://github.com/mate-desktop/libmateweather/blob/master/data/Locations.xml.in.
      NB. The web page is over 1.7MB in size. Pick a default location
      like a capital city so that it would be ok for more of your users.
      For example, for Greek, we use "LGAV" for the capital city, Athens.
      If you do not require a DEFAULT_CODE, set this to "DEFAULT_CODE". -->
      <_default l10n="messages">'DEFAULT_CODE'</_default>
      <_summary>Nearby city</_summary>
      <_description>Nearby major zone, such as a capital city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in</_description>
    </key>
    <key name="location2" type="s">
      <!-- TRANSLATORS: Change this to the zone of your default location
      that corresponds to the DEFAULT_LOCATION and DEFAULT_CODE you put
      above. Normally, US and Canada locations have zones while the rest
      do not. Check
      https://github.com/mate-desktop/libmateweather/blob/master/data/Locations.xml.in
      as any zone you put here must also be present in the Locations.xml
      file. If your default location does not have a zone, set this to
      "DEFAULT_ZONE". -->
      <_default l10n="messages">'DEFAULT_ZONE'</_default>
      <_summary>Zone location</_summary>
      <_description>A unique zone for the city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in</_description>
    </key>
    <key name="location3" type="s">
      <!-- TRANSLATORS: Change this to the radar of your default location
      that corresponds to the DEFAULT_LOCATION and DEFAULT_CODE you put
      above. Normally, US and Canada locations have radar names while the
      rest do not. Check
      https://github.com/mate-desktop/libmateweather/blob/master/data/Locations.xml.in
      as any radar you put here must also be present in the Locations.xml
      file. If your default location does not have a radar, set this to
      " " (or space).
      If you do not have a default location, set this to DEFAULT_RADAR. -->
      <_default l10n="messages">'DEFAULT_RADAR'</_default>
      <_summary>Radar location</_summary>
      <_description>A three-digit-long code for retrieving radar maps from weather.com, found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in</_description>
    </key>
    <key name="location4" type="s">
      <_default l10n="messages">'DEFAULT_LOCATION'</_default>
      <_summary>Weather for a city</_summary>
      <_description>The city that mateweather displays information for.</_description>
    </key>
    <key name="coordinates" type="s">
      <!-- TRANSLATORS: Change this to the coordinates of your default
      location that corresponds to the DEFAULT_LOCATION and DEFAULT_CODE
      you put above. Check
      https://github.com/mate-desktop/libmateweather/blob/master/data/Locations.xml.in
      as any coordinates you put here must also be present in the
      Locations.xml file. If your default location does not have known
      coordinates, set this to " " (or space). If you do not have a
      default location, set this to DEFAULT_COORDINATES. -->
      <_default l10n="messages">'DEFAULT_COORDINATES'</_default>
      <_summary>Location coordinates</_summary>
      <_description>Latitude and longitude of your location expressed in DD-MM-SS[NS] DD-MM-SS[EW].</_description>
    </key>
    <key name="use-custom-radar-url" type="b">
      <default>false</default>
      <_summary>Use custom url for the radar map</_summary>
      <_description>If true, then retrieve a radar map from a location specified by the "radar" key.</_description>
    </key>
    <key name="radar" type="s">
      <default>''</default>
      <_summary>Url for the radar map</_summary>
      <_description>The custom url from where to retrieve a radar map.</_description>
    </key>
  </schema>
</schemalist>