summaryrefslogtreecommitdiff
path: root/schemas/org.gnome.GWeather.gschema.xml
blob: 96d7d7073932a381789ed435402389e61ebede63 (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
<schemalist gettext-domain="libgweather-3.0">
  <schema id="org.gnome.GWeather" path="/org/gnome/GWeather/">
    <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, or empty
	for disabling radar maps.
      </description>
    </key>
    <key name="temperature-unit" enum="org.gnome.GWeather.GWeatherTemperatureUnit">
      <!-- TRANSLATORS: pick a temperature unit that should be used by default in your
      locale; values must be quoted -->
      <default l10n="messages">'fahrenheit'</default>
      <summary>Temperature unit</summary>
      <description>
	The unit of temperature used for showing weather. Valid values are 'kelvin',
	'centigrade' and 'fahrenheit'.
      </description>
    </key>
    <key name="distance-unit" enum="org.gnome.GWeather.GWeatherDistanceUnit">
      <!-- TRANSLATORS: pick a default distance unit for your locale, see key description
      for valid values -->
      <default l10n="messages">'miles'</default>
      <summary>Distance unit</summary>
      <description>
	The unit of distance used for showing weather (for example for visibility or for
	distance of important events). Valid values are 'meters', 'km' and 'miles'.
      </description>
    </key>
    <key name="speed-unit" enum="org.gnome.GWeather.GWeatherSpeedUnit">
      <!-- TRANSLATORS: pick a default speed unit for your locale, see key description
      for valid values -->
      <default l10n="messages">'knots'</default>
      <summary>Speed unit</summary>
      <description>
	The unit of speed used for showing weather (for example for wind speed). Valid
	values are 'ms' (meters per second), 'kph' (kilometers per hour), 'mph' (miles
	per hour), 'knots' and 'bft' (Beaufort scale).
      </description>
    </key>
    <key name="pressure-unit" enum="org.gnome.GWeather.GWeatherPressureUnit">
      <!-- TRANSLATORS: pick a default pressure unit for your locale, see key description
      for valid values -->
      <default l10n="messages">'inch-hg'</default>
      <summary>Pressure unit</summary>
      <description>
	The unit of pressure used for showing weather. Valid values are 'kpa' (kilopascal),
	'hpa' (hectopascal), 'mb' (millibar, mathematically equivalent to 1 hPa but shown
	differently), 'mm-hg' (millimiters of mercury), 'inch-hg' (inches of mercury), 'atm'
	(atmospheres).
      </description>
    </key>
    <key name="default-location" type="(ssm(dd))">
      <!-- TRANSLATORS: pick a default location to use in the weather applet. This should
      usually be the largest city or the capital of your country. If you're not picking
      a <location> in the database, don't forget to set name and coordinates. -->
      <default>('', 'KNYC', nothing)</default>
      <summary>Default location</summary>
      <description>
	The default location for the weather applet. The first field is the name that will
	be shown. If empty, it will be taken from the locations database.
	The second field is the METAR code for the default weather station. It must not be
	empty and must correspond to a &lt;code&gt; tag in the Locations.xml file.
	The third field is a tuple of (latitude, longitude), to override the value taken
	from the database. This is only used for sunrise and moon phase calculations, not
	for weather forecast.
      </description>
    </key>
  </schema>
</schemalist>