]>
Commit | Line | Data |
---|---|---|
57caa9ac | 1 | /** |
2 | * responses.h | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public License | |
6 | * as published by the Free Software Foundation; either version 2 | |
7 | * of the License, or (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
17 | * USA. | |
18 | * | |
35d3e3d1 | 19 | * $Id$ |
57caa9ac | 20 | */ |
21 | ||
22 | #ifndef __RESPONSES_H | |
35d3e3d1 | 23 | #define __RESPONSES_H "$Id$" |
57caa9ac | 24 | |
25 | namespace gnuworld | |
26 | { | |
1d54d2a1 | 27 | namespace cf |
57caa9ac | 28 | { |
1d54d2a1 | 29 | namespace language |
30 | { | |
3935adc0 | 31 | /* ADDFLAG */ |
32 | const int one_flag_per_addflag = 1; | |
33 | const int no_such_user = 2; | |
4c59f7a3 | 34 | const int owner_add_owner_only = 3; |
3935adc0 | 35 | const int user_man_add_owner_only = 4; |
36 | const int cant_add_flag_diff_group = 5; | |
37 | const int cant_add_block_flag = 6; | |
38 | const int cant_add_serveradmin_flag = 7; | |
39 | const int user_already_has_flag = 8; | |
40 | const int added_flag_to_user = 9; | |
4c59f7a3 | 41 | const int norm_user_add_owner_only = 155; |
3935adc0 | 42 | |
91c63299 | 43 | /* ADDHOST */ |
fa3ba3b3 | 44 | const int cant_add_host_an_owner = 186; |
45 | const int cant_add_host_manager = 187; | |
91c63299 | 46 | const int cant_add_host_diff_group = 10; |
47 | const int already_has_hostmask = 11; | |
48 | const int failed_adding_hostmask = 12; | |
49 | const int adding_hostmask_to_user = 13; | |
34cf18fe | 50 | const int removed_default_hostmask = 170; |
91c63299 | 51 | |
52 | /* ADDNOTE */ | |
53 | const int invalid_channel_name = 14; | |
54 | const int note_recorded = 15; | |
55 | ||
56 | /* ADDUSER */ | |
57 | const int user_already_exists = 16; | |
58 | const int created_user_w_host = 17; | |
59 | const int created_user_wo_host = 18; | |
60 | const int error_creating_user = 19; | |
61 | ||
62 | /* ALERT */ | |
63 | const int alert_already_set = 20; | |
64 | const int alert_flag_added = 21; | |
65 | ||
66 | /* BLOCK */ | |
67 | const int channel_blocking_disabled = 22; | |
68 | const int channel_already_blocked = 23; | |
69 | const int channel_has_been_blocked = 24; | |
20c3e550 | 70 | const int aborting_manual_fix = 178; |
71 | const int aborting_auto_fix = 179; | |
91c63299 | 72 | |
e0282ee9 | 73 | /* CANFIX */ |
74 | const int canfix_op_accounts = 197; | |
75 | const int canfix_rank_score_acc_header = 198; | |
76 | const int can_fix_not_enough_points = 199; | |
77 | const int canfix_manual_fix_disabled = 204; | |
78 | ||
fb67ce17 | 79 | /* CHANFIX */ |
91c63299 | 80 | const int manual_fix_disabled = 25; |
81 | const int not_enough_servers = 26; | |
82 | const int no_such_channel = 27; | |
91c63299 | 83 | const int registered_channel = 29; |
84 | const int no_scores_for_chan = 30; | |
85 | const int already_being_man_fixed = 31; | |
86 | const int highscore_channel = 32; | |
87 | const int channel_being_auto_fixed = 33; | |
88 | const int channel_blocked = 34; | |
89 | const int channel_has_notes = 35; | |
90 | const int manual_chanfix_ack = 36; | |
ff696c26 | 91 | const int temporarily_blocked_override = 189; |
e0282ee9 | 92 | const int score_not_high_enough = 196; |
93 | const int not_enough_servers_non_oper = 200; | |
972e228a | 94 | const int channel_being_auto_fixed_noper = 201; |
e0282ee9 | 95 | const int channel_blocked_non_oper = 202; |
f5b9e7e0 | 96 | const int channel_temp_blocked = 211; |
91c63299 | 97 | |
98 | /* CHECK */ | |
99 | const int check_results = 37; | |
100 | ||
101 | /* DELFLAG */ | |
102 | const int one_flag_per_delflag = 38; | |
4c59f7a3 | 103 | const int only_owner_del_owner_flag = 39; |
91c63299 | 104 | const int only_owner_del_user_flag = 40; |
105 | const int cant_delete_flag_diff_group = 41; | |
106 | const int cant_remove_block_flag = 42; | |
107 | const int cant_remove_server_flag = 43; | |
108 | const int user_does_not_have_flag = 44; | |
109 | const int deleted_flag = 45; | |
4c59f7a3 | 110 | const int only_owner_del_norm_flag = 156; |
91c63299 | 111 | |
112 | /* DELHOST */ | |
fa3ba3b3 | 113 | const int cant_del_host_an_owner = 184; |
114 | const int cant_del_host_manager = 185; | |
91c63299 | 115 | const int cant_del_host_diff_group = 46; |
116 | const int user_doesnt_have_host = 47; | |
117 | const int failed_deleting_host = 48; | |
118 | const int deleted_hostmask = 49; | |
119 | ||
120 | /* DELNOTE */ | |
121 | const int no_entry_in_db = 50; | |
122 | const int chan_has_no_notes = 51; | |
123 | const int error_checking_noteid = 52; | |
124 | const int no_note_with_id = 53; | |
125 | const int no_note_id_for_chan = 54; | |
126 | const int note_not_added_by_you = 55; | |
127 | const int note_not_manually_added = 56; | |
128 | const int note_deleted = 57; | |
129 | ||
130 | /* DELUSER */ | |
131 | const int cant_delete_an_owner = 58; | |
132 | const int cant_delete_manager = 59; | |
133 | const int cant_delete_from_diff_group = 60; | |
134 | const int deleted_user = 61; | |
135 | const int error_deleting_user = 62; | |
136 | ||
137 | /* HISTORY */ | |
138 | const int chan_no_manual_fixes = 63; | |
139 | const int error_occured_notes = 64; | |
140 | const int chan_manually_fix = 65; | |
91c63299 | 141 | const int end_of_list = 67; |
fb67ce17 | 142 | |
91cad274 | 143 | /* INFO */ |
144 | const int no_info_for_chan = 68; | |
145 | const int information_on = 69; | |
146 | const int info_chan_blocked = 70; | |
147 | const int info_chan_being_fixed = 71; | |
148 | const int info_chan_being_autofixed = 72; | |
149 | const int info_notes_count = 73; | |
150 | const int end_of_information = 74; | |
151 | const int info_chan_alerted = 75; | |
152 | const int info_notes = 76; | |
ff696c26 | 153 | const int temporarily_blocked = 188; |
97018285 | 154 | const int info_fix_started = 192; |
155 | const int info_fix_waiting = 193; | |
f5b9e7e0 | 156 | const int info_chan_temp_blocked = 214; |
87fb1731 | 157 | |
91cad274 | 158 | /* INVITE */ |
159 | const int cant_find_channel = 77; | |
160 | const int chanfix_not_in_chan = 78; | |
161 | const int already_in_channel = 79; | |
18d3ee1a | 162 | |
163 | /* LASTCOM */ | |
164 | const int lastcom_too_far_back = 208; | |
165 | const int lastcom_listing_messages = 209; | |
166 | const int end_of_log = 210; | |
fec4bf6d | 167 | |
168 | /* LISTBLOCKED */ | |
169 | const int listblocks_blocked_chans = 190; | |
170 | const int listblocked_total_blocked = 191; | |
91cad274 | 171 | |
82f09291 | 172 | /* LISTHOSTS */ |
173 | const int cant_view_hosts_diff_group = 163; | |
174 | const int host_list_header = 164; | |
175 | const int host_list_footer = 165; | |
176 | ||
91cad274 | 177 | /* OPLIST */ |
178 | const int top_unique_op_accounts = 80; | |
179 | const int found_unique_op_accounts = 81; | |
180 | const int rank_score_acc_header = 82; | |
972e228a | 181 | const int end_of_oplist = 207; |
91cad274 | 182 | |
183 | /* OPNICKS */ | |
184 | const int opped_clients_on = 83; | |
185 | const int one_opped_client = 84; | |
186 | const int opped_clients = 85; | |
187 | ||
188 | /* REHASH */ | |
189 | const int reloaded_help = 86; | |
190 | const int reloaded_conf = 87; | |
191 | ||
192 | /* RELOAD */ | |
193 | const int reloading_client = 88; | |
194 | ||
e0282ee9 | 195 | /* REQUESTOP */ |
196 | const int requestop_ack = 205; | |
197 | const int requestop_must_wait = 206; | |
198 | ||
91cad274 | 199 | /* SCORE */ |
08fa5818 | 200 | const int score_for_channel_nick = 89; |
201 | const int score_for_channel_account = 158; | |
91cad274 | 202 | const int compact_no_such_nick = 90; |
203 | const int no_such_nick = 91; | |
e55f8dad | 204 | const int compact_no_score_for_account = 156; |
205 | const int no_score_for_account = 157; | |
91cad274 | 206 | const int score_none = 92; |
207 | const int top_scores_for_chan = 93; | |
208 | const int top_scores_for_ops = 94; | |
209 | const int top_scores_for_nonops = 95; | |
e55f8dad | 210 | const int no_score_for_nick = 166; |
211 | const int compact_no_score_for_nick = 167; | |
91cad274 | 212 | |
530374e1 | 213 | /* SET */ |
214 | const int num_server_syntax = 96; | |
215 | const int num_servers_set = 97; | |
216 | const int enabled_autofix = 98; | |
217 | const int disabled_autofix = 99; | |
218 | const int enable_autofix_syntax = 100; | |
219 | const int enabled_manual_chanfix = 101; | |
220 | const int disabled_manual_chanfix = 102; | |
221 | const int enable_chanfix_syntax = 103; | |
222 | const int enabled_chan_blocking = 104; | |
223 | const int disabled_chan_blocking = 105; | |
224 | const int enable_chan_blocking_syntax = 106; | |
225 | const int setting_doesnt_exist = 107; | |
226 | ||
227 | /* SETGROUP */ | |
228 | const int user_already_in_group = 108; | |
229 | const int set_group_for_user = 109; | |
230 | ||
231 | /* SHUTDOWN */ | |
232 | const int shutting_down = 110; | |
b6fa3609 | 233 | const int update_in_progress = 173; |
530374e1 | 234 | |
608302fe | 235 | /* SIMULATE */ |
236 | const int manual_simulate_complete = 221; | |
237 | const int manual_simulate_starting = 224; | |
238 | const int manual_simulate_estimate = 225; | |
239 | ||
530374e1 | 240 | /* STATUS */ |
241 | const int status_uptime = 111; | |
242 | const int status_auto_fixing = 112; | |
243 | const int status_manual_fixing = 113; | |
244 | const int status_chan_blocking = 114; | |
245 | const int status_servers_amount = 115; | |
246 | const int status_splitmode_enabled = 116; | |
247 | const int status_splitmode_disabled = 117; | |
29ea4a76 | 248 | const int status_channel_service_linked = 171; |
249 | const int status_channel_service_not_linked = 172; | |
c169a3ca | 250 | const int status_total_channels = 174; |
251 | const int status_total_channels_with_extra = 175; | |
530374e1 | 252 | |
253 | /* SUSPEND */ | |
fa3ba3b3 | 254 | const int cant_suspend_an_owner = 180; |
255 | const int cant_suspend_manager = 181; | |
530374e1 | 256 | const int cant_suspend_diff_group = 118; |
257 | const int user_already_suspended = 119; | |
258 | const int user_suspended = 120; | |
d4397486 | 259 | const int user_cant_suspend_self = 159; |
530374e1 | 260 | |
261 | /* UNALERT */ | |
262 | const int no_alert_set = 121; | |
263 | const int alert_removed = 122; | |
264 | ||
265 | /* UNBLOCK */ | |
266 | const int channel_not_blocked = 123; | |
267 | const int channel_unblocked = 124; | |
268 | ||
269 | /* UNSUSPEND */ | |
fa3ba3b3 | 270 | const int cant_unsuspend_an_owner = 182; |
271 | const int cant_unsuspend_manager = 183; | |
530374e1 | 272 | const int cant_unsuspend_diff_group = 125; |
273 | const int user_not_suspended = 126; | |
274 | const int user_unsuspended = 127; | |
275 | ||
f139599d | 276 | /* USERSCORES */ |
277 | const int userscores_header = 194; | |
278 | const int userscores_noscore = 195; | |
279 | ||
fb67ce17 | 280 | /* USET */ |
530374e1 | 281 | const int lang_set_to = 128; |
282 | const int send_notices = 129; | |
283 | const int send_privmsgs = 130; | |
284 | const int uset_notice_on_off = 131; | |
75b1ada6 | 285 | |
286 | /* WHOFLAG */ | |
287 | const int one_flag_per_whoflag = 226; | |
530374e1 | 288 | |
289 | /* WHOGROUP */ | |
290 | const int whogroup_your_group = 134; | |
291 | const int users_with_group = 135; | |
292 | const int number_of_users = 136; | |
d6cf4fc1 C |
293 | const int whogroup_list_groups = 168; |
294 | const int number_of_groups = 169; | |
530374e1 | 295 | |
296 | /* WHOIS */ | |
297 | const int list_of_all_users = 137; | |
298 | const int user_flags_group = 138; | |
f813bdeb | 299 | const int whois_suspended = 140; |
530374e1 | 300 | const int whois_group = 142; |
301 | const int whois_flags_none = 143; | |
302 | const int whois_flags = 144; | |
f813bdeb | 303 | const int whois_lang = 155; |
4ed0862b C |
304 | const int whois_modif = 160; |
305 | const int whois_needoper_yes = 161; | |
306 | const int whois_needoper_no = 162; | |
c169a3ca | 307 | const int whois_lastused = 176; |
308 | const int whois_lastused_never = 177; | |
33e62393 | 309 | |
310 | /* chanfix.cc */ | |
530374e1 | 311 | const int no_commands_during_burst = 145; |
312 | const int unknown_command = 146; | |
313 | const int access_suspended = 147; | |
314 | const int host_not_matching = 148; | |
315 | const int need_to_auth = 149; | |
316 | const int requires_flag = 150; | |
317 | const int requires_flags = 151; | |
59e47d45 | 318 | const int requires_auth_and_flag = 152; |
319 | const int requires_auth_and_flags = 153; | |
320 | const int syntax = 154; | |
972e228a | 321 | const int no_commands_during_burst_noper = 203; |
608302fe | 322 | const int sim_opping = 222; |
323 | const int sim_modes_removed = 223; | |
e0282ee9 | 324 | |
1d54d2a1 | 325 | } // namespace language |
326 | } // namespace cf | |
327 | } // namespace gnuworld | |
57caa9ac | 328 | |
35d3e3d1 | 329 | #endif /* __RESPONSES_H */ |