Mercurial > hg > egg-tcls
annotate config.weather.example @ 550:85fe3bc36307
Rename *_logmsg settings to *_log_enable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 08 Jul 2020 22:55:56 +0300 |
parents | a513b98f2a37 |
children | df8b3710e120 |
rev | line source |
---|---|
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 ########################################################################## |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
2 # |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
3 # Weather script configuration |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
4 # |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 ########################################################################## |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
7 ### |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
8 ### Bind commands |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
9 ### |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
10 bind pub - !sää weather_cmd_pub |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
11 bind pub - !saa weather_cmd_pub |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
12 bind msg - !sää weather_cmd_msg |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
13 bind msg - !saa weather_cmd_msg |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
14 |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
15 bind pub - !sää weather_cmd_pub |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
16 bind pub - !saa weather_cmd_pub |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
17 bind msg - !sää weather_cmd_msg |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
18 bind msg - !saa weather_cmd_msg |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
19 |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
20 |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
21 ### |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
22 ### Settings |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
23 ### |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
24 # Channels where weather functionality is enabled |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
25 # set weather_channels "#foobar;#baz" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
26 # You can use * to match substrings or everything |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
27 set weather_channels "*" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
28 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
29 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
30 # Default location if none given and none set by user. |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
31 # Multiple can be specified as "foo;bar;etc" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
32 set weather_default_locations "raahe lapaluoto;pattijoki" |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
33 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
34 # Weather data file, must match the one in fetch_weather.pl's config |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
35 set weather_datafile "/home/niinuska/bot/weather.data" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
36 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
37 # Alias data file |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
38 set weather_aliasfile "/home/niinuska/bot/weather.alias" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
39 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
40 # How often to check the weather data file for updates (in minutes) |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
41 set weather_check_period 1 |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
42 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
43 # Max number of results to be listed |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
44 set weather_max_results 3 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
45 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
46 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
47 # 1 = Enable logging of various script actions into bot's log |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
48 # 0 = Don't. |
550
85fe3bc36307
Rename *_logmsg settings to *_log_enable.
Matti Hamalainen <ccr@tnsp.org>
parents:
543
diff
changeset
|
49 set weather_log_enable 1 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
50 |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
51 |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
52 # What IRC "command" should we use to send messages: |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
53 # (Valid alternatives are "PRIVMSG" and "NOTICE") |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
54 set weather_preferredmsg "PRIVMSG" |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
55 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
56 |
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
57 ### |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
58 ### Message texts (informal, errors, etc.) |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
59 ### |
430
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
60 set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_lng@,18z )"] |
418
e904b453a06a
weather: Show weather station coordinates and Google Maps link in the station list search.
Matti Hamalainen <ccr@tnsp.org>
parents:
285
diff
changeset
|
61 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
62 |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
63 # Array/list of wind directions (8 in total) |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
64 set weather_msg_wind_directions [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
65 lappend weather_msg_wind_directions "pohjoinen (N)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
66 lappend weather_msg_wind_directions "koillinen (NE)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
67 lappend weather_msg_wind_directions "itä (E)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
68 lappend weather_msg_wind_directions "kaakko (SE)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
69 lappend weather_msg_wind_directions "etelä (S)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
70 lappend weather_msg_wind_directions "lounas (SW)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
71 lappend weather_msg_wind_directions "länsi (W)" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
72 lappend weather_msg_wind_directions "luode (NW)" |
490
0d6dfcc1c957
weather: Add translation of weather direction angle.
Matti Hamalainen <ccr@tnsp.org>
parents:
489
diff
changeset
|
73 |
418
e904b453a06a
weather: Show weather station coordinates and Google Maps link in the station list search.
Matti Hamalainen <ccr@tnsp.org>
parents:
285
diff
changeset
|
74 |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
75 # Array/list of FMI cloudiness value descriptions |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
76 # (9 values ranging from "clear" to "cloudy") |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
77 set weather_msg_cloudiness [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
78 lappend weather_msg_cloudiness "selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
79 lappend weather_msg_cloudiness "melkein selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
80 lappend weather_msg_cloudiness "verrattain selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
81 lappend weather_msg_cloudiness "verrattain selkeää" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
82 lappend weather_msg_cloudiness "puolipilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
83 lappend weather_msg_cloudiness "verrattain pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
84 lappend weather_msg_cloudiness "verrattain pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
85 lappend weather_msg_cloudiness "melkein pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
86 lappend weather_msg_cloudiness "pilvistä" |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
87 |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
88 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
89 # Array/list of Tiehallinto precipitation value descriptions |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
90 set weather_msg_precipitation [list] |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
91 lappend weather_msg_precipitation "poutaa" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
92 lappend weather_msg_precipitation "heikkoa sadetta" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
93 lappend weather_msg_precipitation "kohtalaista sadetta" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
94 lappend weather_msg_precipitation "voimakasta sadetta" |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
95 lappend weather_msg_precipitation "heikkoa lumisadetta/räntää" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
96 lappend weather_msg_precipitation "kohtalaista lumisadetta/räntää" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
97 lappend weather_msg_precipitation "voimakasta lumisadetta/räntää" |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
98 |
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
99 |
501
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
100 # Array/list containing optional parts of the result message for one |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
101 # one measurement station. Every array element except the first one |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
102 # are optional and will only be appended to result string IF the |
7c4cef80f826
weather: Add some comments to the example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
498
diff
changeset
|
103 # named @token@ value is "set" e.g. not empty or in some cases invalid. |
498
01f226d6a992
weather: Split some of the message arrays/list items to separate lines for clarity and ease of editing.
Matti Hamalainen <ccr@tnsp.org>
parents:
492
diff
changeset
|
104 set weather_msg_result [list] |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
105 lappend weather_msg_result "\002@station@\002, @ctime@: \002@temp@°C\002" |
491
f5c023538e2a
fetch_weather, weather: Remove certain "data translation" from fetch_weather and move that into weather.tcl.
Matti Hamalainen <ccr@tnsp.org>
parents:
490
diff
changeset
|
106 lappend weather_msg_result ", tien pinta @road_surface_temp@°C" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
107 lappend weather_msg_result ", kosteus \002@humidity@\002%" |
285
259f093c9503
weather: Make some more messages configurable.
Matti Hamalainen <ccr@tnsp.org>
parents:
274
diff
changeset
|
108 lappend weather_msg_result ", tuuli \002@wind_speed@\002 m/s" |
533
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
109 #lappend weather_msg_result " (suunta @wind_direction@ - @wind_direction_deg@°)" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
110 lappend weather_msg_result " - @wind_direction@" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
111 lappend weather_msg_result ", \002@cloudiness@\002 (@cloudiness_val@)" |
195db79c82a8
weather: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
501
diff
changeset
|
112 lappend weather_msg_result ", näkyvyys @visibility@ km" |
420 | 113 lappend weather_msg_result "." |
274 | 114 |
115 | |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
116 array set weather_messages { |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
117 |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
118 "usage_single" "@cmd@ \[paikka\]" |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
119 "usage_full" {"usage_single" "usage_stations" "usage_def_set" "usage_nearest" "usage_alias" "usage_unalias" "usage_list" } |
274 | 120 |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
121 "list_nearest" $weather_msg_list_station |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
122 "nearest_stations" "Lähimmät mittausasemat (@1@, @2@): @3@" |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
123 "usage_nearest" "@cmd@ lähin <lat>\[, \]<long> -- näyttää annettuja koordinaatteja lähimpänä olevat mittausasemat" |
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
124 "nearest_invalid" "@cmd@ lähin <lat>\[, \]<long> -- näyttää annettuja koordinaatteja lähimpänä olevat mittausasemat" |
430
8efbb045d44d
weather: Implement searching for nearest of measurement stations based on given lat/long coordinates.
Matti Hamalainen <ccr@tnsp.org>
parents:
420
diff
changeset
|
125 |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
126 "temp_min" "Min: @1@" |
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
127 "temp_max" "Max: @1@" |
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
128 "temp_minmax" "Min: @1@\nMax: @2@" |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
129 |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
130 "def_set_to" "Vakio-havaintoasemiksi asetettu: \002@1@\002." |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
131 "def_value" "Käyttäjän \002@1@\002 vakio-havaintoasemat ovat: \002@2@\002." |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
132 "def_not_set" "Vakio-havaintoasemia ei asetettu käyttäjälle \002@1@\002." |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
133 "usage_def_set" "@cmd@ vakio <paikka>\[;<paikka2>\] -- asettaa vakiohavaintoaseman\n@cmd@ vakio -- näyttää nykyisen vakiohavaintoaseman jos asetettu" |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
134 |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
135 "alias_set" "Luotiin alias \002@1@\002 = \002@2@\002." |
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
136 "alias_updated" "Päivitettiin alias \002@1@\002 = \002@2@ -> @3@\002." |
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
137 "alias_unset" "Poistettiin alias \002@1@ = @2@\002." |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
138 "alias_item" "\002'@1@' = '@2@'\002" |
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
139 "alias_list" "Aliakset: @1@" |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
140 "alias_list_sep" ", " |
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
141 "alias_not_exist" "Aliasta '@1@' ei ole olemassa." |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
142 "usage_alias" "@cmd@ alias <alias> = <nimi> -- lisää alias-nimen, esim. alias perse = turku" |
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
143 "usage_unalias" "@cmd@ unalias <alias> -- poistaa aliaksen" |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
144 "usage_list" "@cmd@ list -- listaa määritellyt aliakset" |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
145 |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
146 "user_not_known" "Tuntematon käyttäjä." |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
147 "no_access" "Ei oikeuksia muuttaa asetuksia." |
273
38a5bce4b078
weather: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
148 |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
149 "stations_list" "Mittausasemat: @1@" |
543
a513b98f2a37
weather: Improve alias handling and do some work on stations listing.
Matti Hamalainen <ccr@tnsp.org>
parents:
540
diff
changeset
|
150 "stations_no_matches" "Ei osumia." |
540
3174701325c0
weather: Fixes to the help.
Matti Hamalainen <ccr@tnsp.org>
parents:
538
diff
changeset
|
151 "usage_stations" "@cmd@ asemat <patterni> -- listaa mittausasemat joiden nimi matsaa patternin kanssa" |
538
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
152 |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
153 "no_results" "\002@1@\002: Ei mittaustietoja." |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
154 "no_data_for_location" "\002@1@\002: Paikkakunnan tietoja ei saatu." |
f07c972e269a
weather: Refactor much of the messages system to match the quotedb one.
Matti Hamalainen <ccr@tnsp.org>
parents:
533
diff
changeset
|
155 } |