Mercurial > hg > egg-tcls
annotate config.quotedb.example @ 698:6ba9f961e463 default tip
quotedb: Bump version and copyright.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 18 Sep 2023 11:38:41 +0300 |
parents | 14d4d4300623 |
children |
rev | line source |
---|---|
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 ########################################################################## |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
2 # |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
3 # QuoteDB script configuration |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
4 # |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 ########################################################################## |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
7 ### |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
8 ### Bind commands for each database etc. |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
9 ### |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
10 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
11 # Bind !quote -command for table "quotedb" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
12 bind pub - !vitsi vitsi_cmd_pub |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
13 bind msg - !vitsi vitsi_cmd_msg |
547
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
14 proc vitsi_cmd_pub {unick uhost uhand uchan utext} { qdb_cmd "!vitsi" "quotedb" $unick $uhost $uhand $uchan $utext 1 } |
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
15 proc vitsi_cmd_msg {unick uhost uhand utext} { qdb_cmd "!vitsi" "quotedb" $unick $uhost $uhand "" $utext 0 } |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
16 set qdb_messages(quotedb_fmt_get) "@2@ (#@1@)" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
17 set qdb_messages(quotedb_urlprefix) "" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
18 set qdb_messages(quotedb_name) "Vitsi" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
19 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
20 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
21 # Bind !quote -command for table "kissa" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
22 bind pub - !kissa kissa_cmd_pub |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
23 bind msg - !kissa kissa_cmd_msg |
547
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
24 proc kissa_cmd_pub {unick uhost uhand uchan utext} { qdb_cmd "!kissa" "kissadb" $unick $uhost $uhand $uchan $utext 1 } |
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
25 proc kissa_cmd_msg {unick uhost uhand utext} { qdb_cmd "!kissa" "kissadb" $unick $uhost $uhand "" $utext 0 } |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
26 set qdb_messages(kissadb_fmt_get) "kissa @2@ (#@1@)" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
27 set qdb_messages(kissadb_urlprefix) "" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
28 set qdb_messages(kissadb_name) "Kissa" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
29 set qdb_messages(kissadb_stats) "Kissa-tilastot: @1@ kissajuttua, @2@ äänestettyä kissamaisuutta." |
669
3f5f9d0745a6
quotedb: Clean up example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
606
diff
changeset
|
30 set qdb_messages(kissadb_quote_does_not_exist) "Kissajuttua #@1@ ei ole olemassa." |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
31 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
32 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
33 bind pub - !spede spede_cmd_pub |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
34 bind msg - !spede spede_cmd_msg |
547
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
35 proc spede_cmd_pub {unick uhost uhand uchan utext} { qdb_cmd "!spede" "spededb" $unick $uhost $uhand $uchan $utext 1 } |
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
36 proc spede_cmd_msg {unick uhost uhand utext} { qdb_cmd "!spede" "spededb" $unick $uhost $uhand "" $utext 0 } |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
37 set qdb_messages(spededb_urlprefix) "https://tnsp.org/spede/img/" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
38 set qdb_messages(spededb_name) "Spede" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
39 set qdb_messages(spededb_stats) "Spede-tilastot: @1@ spedeä, @2@ äänestettyä spedeä." |
669
3f5f9d0745a6
quotedb: Clean up example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
606
diff
changeset
|
40 set qdb_messages(spededb_quote_does_not_exist) "Spedeä #@1@ ei ole olemassa." |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
41 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
42 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
43 bind pub - !mn mn_cmd_pub |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
44 bind msg - !mn mn_cmd_msg |
547
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
45 proc mn_cmd_pub {unick uhost uhand uchan utext} { qdb_cmd "!mn" "mndb" $unick $uhost $uhand $uchan $utext 1 } |
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
46 proc mn_cmd_msg {unick uhost uhand utext} { qdb_cmd "!mn" "mndb" $unick $uhost $uhand "" $utext 0 } |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
47 set qdb_messages(mndb_urlprefix) "https://tnsp.org/mndb/img/" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
48 set qdb_messages(mndb_name) "Nykäsismi" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
49 set qdb_messages(mndb_stats) "Nykäs-tilastot: @1@ nykäsismiä, @2@ äänestettyä." |
669
3f5f9d0745a6
quotedb: Clean up example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
606
diff
changeset
|
50 set qdb_messages(mndb_quote_does_not_exist) "Nykäsismiä #@1@ ei ole olemassa." |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
51 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
52 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
53 bind pub - !tuksu tuksu_cmd_pub |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
54 bind msg - !tuksu tuksu_cmd_msg |
547
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
55 proc tuksu_cmd_pub {unick uhost uhand uchan utext} { qdb_cmd "!tuksu" "tuksudb" $unick $uhost $uhand $uchan $utext 1 } |
717a1c84df4c
quotedb: Rename qdb_command() to qdb_cmd()
Matti Hamalainen <ccr@tnsp.org>
parents:
532
diff
changeset
|
56 proc tuksu_cmd_msg {unick uhost uhand utext} { qdb_cmd "!tuksu" "tuksudb" $unick $uhost $uhand "" $utext 0 } |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
57 set qdb_messages(tuksudb_urlprefix) "https://tnsp.org/tuksu/img/" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
58 set qdb_messages(tuksudb_name) "Tuksu" |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
59 set qdb_messages(tuksudb_stats) "Tuksu-tilastot: @1@ tuksuilua, @2@ äänestettyä." |
669
3f5f9d0745a6
quotedb: Clean up example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
606
diff
changeset
|
60 set qdb_messages(tuksudb_quote_does_not_exist) "Tuksuilua #@1@ ei ole olemassa." |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
61 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
62 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
63 ### |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
64 ### Settings |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
65 ### |
346
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
66 # Channels where quote functionality is enabled |
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
67 # set qdb_channels "#foobar;#baz" |
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
68 # You can use * to match substrings or everything |
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
69 set qdb_channels "*" |
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
70 |
329ceff76d0c
qdb: Add support for enabled channels.
Matti Hamalainen <ccr@tnsp.org>
parents:
283
diff
changeset
|
71 |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
72 # Path and filename of the SQLite database |
606
56f204df1323
quotedb: Rename SQLite3 database filename configuration variable.
Matti Hamalainen <ccr@tnsp.org>
parents:
550
diff
changeset
|
73 set qdb_db_file "quotedb.sqlite" |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
74 |
276 | 75 |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
76 # Verbosity (1 = be verbose, 0 = be quiet) |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
77 set qdb_verbose 0 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
78 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
79 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
80 # 1 = Enable logging of various script actions into bot's log |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
81 # 0 = Don't. |
550
85fe3bc36307
Rename *_logmsg settings to *_log_enable.
Matti Hamalainen <ccr@tnsp.org>
parents:
547
diff
changeset
|
82 set qdb_log_enable 1 |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
83 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
84 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
85 # What IRC "command" should we use to send messages: |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
86 # (Valid alternatives are "PRIVMSG" and "NOTICE") |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
87 set qdb_preferredmsg "PRIVMSG" |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
88 |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
89 |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
90 # Maximum time (in minutes) after quote addition |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
91 # when user is still allowed to DELETE a quote |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
92 set qdb_max_deltime 15 |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
93 |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
94 # Same, but for quote modification |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
95 set qdb_max_modtime 30 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
96 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
97 |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
98 # Limit how many matches should the "!<cmd> find" command |
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
99 # list at most in public searches |
261
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
100 set qdb_showmax_pub 3 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
101 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
102 # Same as above, but for private message search. |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
103 set qdb_showmax_priv 5 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
104 |
e82ae84408ca
quotedb: Move settings/config into separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
105 |
512
cc0efa677aa9
quotedb: Add comment to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
508
diff
changeset
|
106 # Limit min/max of !quote top <n> |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
107 set qdb_toplist_min 3 |
506
80f48fdc94fb
quotedb: Add new settings and update help.
Matti Hamalainen <ccr@tnsp.org>
parents:
485
diff
changeset
|
108 set qdb_toplist_max 5 |
80f48fdc94fb
quotedb: Add new settings and update help.
Matti Hamalainen <ccr@tnsp.org>
parents:
485
diff
changeset
|
109 |
512
cc0efa677aa9
quotedb: Add comment to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
508
diff
changeset
|
110 |
276 | 111 ### |
532
15bbd5b2bd73
quotedb: Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
520
diff
changeset
|
112 ### Message texts (informal, errors, etc.) |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
113 ### |
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
114 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
115 array set qdb_messages { |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
116 |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
117 "name" "Quote" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
118 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
119 "invalid_user" "Pyh." |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
120 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
121 "sql_error" "Virhe sörkittäessä @name@-tietokantaa. uliskaa." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
122 |
684
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
123 "fmt_get" "#@1@: @2@ (@3@/@4@, @5@)" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
124 |
684
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
125 "fmt_search" "#@1@: @2@ (@3@/@4@)" |
697
14d4d4300623
quotedb: When searching quotes, inform user if we found more matches than the max matches limit.
Matti Hamalainen <ccr@tnsp.org>
parents:
684
diff
changeset
|
126 "num_matches" "@name@-haku löysi @1@ tulosta joista max @2@ näytettiin." |
516
4995ee3a95db
quotedb: Adjust some messages.
Matti Hamalainen <ccr@tnsp.org>
parents:
513
diff
changeset
|
127 "no_matches" "@name@-haku ei tuottanut tuloksia." |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
128 |
684
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
129 "you_voted" "Äänestit @name@ #@1@ @2@, arvosana nyt @3@" |
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
130 "vote_updated" "@name@-äänesi #@1@ päivitetty @2@, arvosana nyt @3@" |
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
131 "vote_up" "+" |
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
132 "vote_down" "-" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
133 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
134 "add_success" "@name@-tietokantaa sörkitty (#@1@), kiitos." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
135 |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
136 "toplist_limit" "Top-listan määrän oltava @1@ - @2@." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
137 "fmt_toplist" "@1@. #@2@: @3@ (@4@, @5@)" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
138 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
139 "update_ok" "@name@ #@1@ päivitetty@2@." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
140 "update_too_old" "@name@ quote #@1@ vanhempi kuin @2@ minuuttia, ei voida päivittää." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
141 "update_override" " (owner/time override)" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
142 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
143 "quote_not_found" "@name@ #@1@ ei löydy, tai se ei kuulu käyttäjälle '@2@'." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
144 |
519
1cfa567f9500
quotedb: Improve statistics.
Matti Hamalainen <ccr@tnsp.org>
parents:
518
diff
changeset
|
145 "stats" "@name@-tilastot: @1@ quotea, @2@ annettua ääntä." |
1cfa567f9500
quotedb: Improve statistics.
Matti Hamalainen <ccr@tnsp.org>
parents:
518
diff
changeset
|
146 "stats2" "Top-@1@ lisääjät: @2@ | Viimeisimmät vuodet: @4@ | Tuottoisimmat vuodet: @6@" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
147 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
148 "help" "@cmd@ <id> \002|\002 add <teksti> \002|\002 update <id> <teksti> \002|\002 del <id> \002|\002 find <parametrit> \002|\002 vote \[<id> \[1 | -1\]\] \002|\002 top <n> \002|\002 stats" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
149 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
150 "help_add" "@cmd@ add <teksti>" |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
151 "help_update" "@cmd@ update <id> <teksti>" |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
152 "help_delete" "@cmd@ del <id>" |
684
5163d582e396
quotedb: Change voting a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
669
diff
changeset
|
153 "help_vote" "@cmd@ vote \[\[<id>\] \[+|-\]\]" |
520
0da68d583b38
quotedb: Improve help slightly.
Matti Hamalainen <ccr@tnsp.org>
parents:
519
diff
changeset
|
154 "help_find" "@cmd@ find [hakuparametrit] -- \[+\]sana | -sana | %käyttäjänimi" |
283
5b997bee1745
quotedb: Move various message texts to configuration file. Not everything yet.
Matti Hamalainen <ccr@tnsp.org>
parents:
276
diff
changeset
|
155 |
513
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
156 "quote_deleted" "@name@ #@1@ poistettu@2@." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
157 "quote_too_old" "@name@ quote #@1@ vanhempi kuin @2@ minuuttia, ei poisteta." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
158 "quote_does_not_exist" "Quotea #@1@ ei ole." |
8abb0e8d54a2
quotedb: Refactor qdb_msg and message handling in general.
Matti Hamalainen <ccr@tnsp.org>
parents:
512
diff
changeset
|
159 } |