]>
Commit | Line | Data |
---|---|---|
b263aa79 | 1 | #include "../chanserv.h" |
c86edd1d Q |
2 | |
3 | cslang *cslanguages[MAXLANG]; | |
4 | unsigned int cslangcount; | |
5 | ||
6 | sstring *csmessages[MAXLANG][MAXMESSAGES]; | |
7 | ||
8 | char *defaultmessages[MAXMESSAGES] = { | |
9 | /* 0 */ "Channel %s is protected by %s.", | |
dd258305 | 10 | /* 1 */ "Unknown command %s. Type SHOWCOMMANDS for a list of available commands.", |
11 | /* 2 */ "To prevent sensitive information being accidentally send to malicious users\non other networks, when using the %s command, you must use\n/msg %s@%s.", | |
5ba379dc | 12 | /* 3 */ "%s is only available to authed users. Try AUTH to authenticate with your\naccount, or HELLO to create an account.", |
13 | /* 4 */ "%s is not available once you have authed.", | |
dd258305 | 14 | /* 5 */ "The following commands are available to you.\nFor more information on a specific command, type HELP <command>:", |
c86edd1d Q |
15 | /* 6 */ "End of list.", |
16 | /* 7 */ "Done.", | |
dd258305 | 17 | /* 8 */ "You didn't provide enough parameters for %s.", |
c86edd1d Q |
18 | /* 9 */ "Channel %s is unknown or suspended.", |
19 | /* 10 */ "You do not have sufficient access on %s to use %s.", | |
20 | /* 11 */ "Current channel flags for %s: %s", | |
21 | /* 12 */ "Current forced modes on %s: %s", | |
22 | /* 13 */ "You do not have sufficient privileges to use %s.", | |
dd258305 | 23 | /* 14 */ "Can't find user %s.", |
c86edd1d Q |
24 | /* 15 */ "User %s is not authed.", |
25 | /* 16 */ "Known users on %s:", | |
26 | /* 17 */ "Username Flags", | |
3a744b8f | 27 | /* 18 */ "Username Flags Last join Last changed ", |
c86edd1d Q |
28 | /* 19 */ "No known users found on %s.", |
29 | /* 20 */ "Flags for %s on %s: %s", | |
30 | /* 21 */ "User %s is not known on %s.", | |
31 | /* 22 */ "Invalid or disallowed flag specified.", | |
32 | /* 23 */ "%s is authed as %s.", | |
33 | /* 24 */ "Network Staff : Helper", | |
34 | /* 25 */ "Network Staff : IRC Operator", | |
35 | /* 26 */ "Network Staff : IRC Administrator", | |
36 | /* 27 */ "Network Staff : Developer", | |
37 | /* 28 */ "%s is known on the following channels:", | |
38 | /* 29 */ "Channel Flags", | |
39 | /* 30 */ "%s is not known on any channels.", | |
40 | /* 31 */ "Current autolimit setting on %s: %d", | |
41 | /* 32 */ "Bans on %s will be removed after: %s", | |
42 | /* 33 */ "Bans on %s will not be automatically removed.", | |
43 | /* 34 */ "%s is not a valid channel name.", | |
44 | /* 35 */ "%s is already registered.", | |
45 | /* 36 */ "User flags for %s: %s", | |
46 | /* 37 */ "Welcome message for %s: %s", | |
47 | /* 38 */ "Default info line: %s", | |
48 | /* 39 */ "Info line on %s: %s", | |
49 | /* 40 */ "%s is a protected helper or oper nick. Please use a different nickname.", | |
50 | /* 41 */ "I created a fakeuser %s to prevent your nick being stolen.", | |
51 | /* 42 */ "Sorry, your nick %s is not protected.", | |
52 | /* 43 */ "%s is authed as %s. Cannot reclaim nick.", | |
53 | /* 44 */ "Username or password incorrect.", | |
54 | /* 45 */ "You are now logged in as %s.", | |
1482fb78 | 55 | /* 46 */ "User %s created successfully.\nInformation about how to access and use your new account will be sent to your email address, %s.\nIf you do not see an email soon be sure to check your spam folder.", |
d768a213 | 56 | /* 47 */ "A user with that name already exists. If you have said HELLO before, use AUTH to\nlogin, or REQUESTPASSWORD if you have forgotten the password. Otherwise,\nplease change your nick and try again.", |
c86edd1d Q |
57 | /* 48 */ "You're already on %s.", |
58 | /* 49 */ "You're not on %s.", | |
59 | /* 50 */ "You're already opped on %s.", | |
60 | /* 51 */ "%s is not on %s.", | |
61 | /* 52 */ "%s is already opped on %s.", | |
62 | /* 53 */ "Channel settings prevent %s being opped on %s.", | |
63 | /* 54 */ "You're not opped on %s.", | |
64 | /* 55 */ "You're already voiced on %s.", | |
65 | /* 56 */ "You're not voiced on %s.", | |
66 | /* 57 */ "%s is already voiced on %s.", | |
4b9ff923 | 67 | /* 58 */ "Registered bans on %s:\nID Hostmask Expires Set by Reason", |
c86edd1d Q |
68 | /* 59 */ "No bans on %s.", |
69 | /* 60 */ "Removed channel ban %s from %s.", | |
70 | /* 61 */ "You need the master flag to remove registered ban %s from %s.", | |
71 | /* 62 */ "Removed registered ban %s from %s.", | |
72 | /* 63 */ "Channel settings prevent %s being voiced on %s.", | |
73 | /* 64 */ "Sorry, no help available for %s.", | |
5ba379dc | 74 | /* 65 */ "-Information for user %s (using account %s):", |
75 | /* 66 */ "-Information for account %s:", | |
c86edd1d Q |
76 | /* 67 */ "Account users : %s", |
77 | /* 68 */ "Last auth : %s", | |
78 | /* 69 */ "Last user@host : %s", | |
79 | /* 70 */ "User ID : %d", | |
80 | /* 71 */ "Info : %s", | |
81 | /* 72 */ "Staff comment : %s", | |
82 | /* 73 */ "User flags : %s", | |
83 | /* 74 */ "User created : %s", | |
4b9ff923 | 84 | /* 75 */ "Known on the following channels:\nChannel Flags", |
c86edd1d Q |
85 | /* 76 */ "Email address : %s", |
86 | /* 77 */ "Email last set : %s", | |
87 | /* 78 */ "Staff comment for %s: %s.", | |
88 | /* 79 */ "No staff comment for %s.", | |
89 | /* 80 */ "%s: Your account has been deleted or suspended.", | |
4002da60 | 90 | /* 81 */ "Account %s has been deleted.", |
b7ae0f2c | 91 | /* 82 */ "Sorry, no accounts have that email address.", |
c86edd1d Q |
92 | /* 83 */ "Sorry, but you have already requested a password. You will have to wait atleast %.1f hours, before requesting again.", |
93 | /* 84 */ "Mail queued for delivery", | |
94 | /* 85 */ "Sorry, but passwords do not match", | |
95 | /* 86 */ "Sorry, but new password is to short", | |
96 | /* 87 */ "Ok, password changed", | |
cabd7271 | 97 | /* 88 */ "Duration too long or invalid: %s", |
c86edd1d Q |
98 | /* 89 */ "Ok, email changed to \"%s\"", |
99 | /* 90 */ "Sorry, but first and second email addresses don't match", | |
100 | /* 91 */ "%s is not a valid email address", | |
101 | /* 92 */ "Email (%s) too short", | |
102 | /* 93 */ "\"%s\" is not your email address", | |
103 | /* 94 */ "Email (%s) must contain at least one at sign (@)", | |
104 | /* 95 */ "Email (%s) can't end with an at sign (@)", | |
105 | /* 96 */ "Email (%s) contains invalid characters", | |
106 | /* 97 */ "Channel %s is not suspended.", | |
107 | /* 98 */ "Channel %s is already suspended.", | |
108 | /* 99 */ "Channel type: %s", | |
109 | /* 100*/ "%s: unknown channel type", | |
110 | /* 101*/ "Original founder: %s", | |
111 | /* 102*/ "Added by: %s", | |
112 | /* 103*/ "%s is already known on %s.", | |
113 | /* 104*/ "Not removing channel owner %s from %s.", | |
114 | /* 105*/ "Not removing channel master %s from %s.", | |
115 | /* 106*/ "Can't find ban %s on %s.", | |
116 | /* 107*/ "Your language is currently set to: %s.", | |
117 | /* 108*/ "The following languages are currently known:", | |
118 | /* 109*/ "Unknown language code: %s.", | |
119 | /* 110*/ "Language : %s", | |
120 | /* 111*/ "Channel type for %s is: %s", | |
121 | /* 112*/ "Statistics for %s:", | |
122 | /* 113*/ "Date added: %s", | |
123 | /* 114*/ "Since %s: maximum size %d, %d joins (%.1f joins/day).", | |
124 | /* 115*/ "Last active: %s", | |
125 | /* 116*/ "Your Q account is suspended.", | |
126 | /* 117*/ "Reason: %s", | |
127 | /* 118*/ "Expires: %s", | |
128 | /* 119*/ "Too many users AUTH'd to this account.", | |
129 | /* 120*/ "Duration must be between 1d and 1M.", | |
130 | /* 121*/ "Disconnecting %s (authed as %s)", | |
131 | /* 122*/ "User is already suspended.", | |
132 | /* 123*/ "User %s is not suspended.", | |
133 | /* 124*/ "Username: Suspended: Email: Last user@host:", | |
134 | /* 125*/ "Found over %d %s, truncating list.", | |
135 | /* 126*/ "Found %u %s%s.", | |
136 | /* 127*/ "Attention: Your Q account has been suspended. You are being disconnected.", | |
137 | /* 128*/ "Username: Flags: Suspended: Email: Last user@host:", | |
c1e6c982 CP |
138 | /* 129*/ "Username: Suspend type: Suspended by: Date suspended: Expires: Reason:", |
139 | /* 130*/ "Channel: Suspended by: Date suspended: Reason:", | |
e3805f60 P |
140 | /* 131*/ "You cannot request ownership of %s as there is a channel %s present.", |
141 | /* 132*/ "You have been granted ownership of %s.", | |
6b2ca929 | 142 | /* 133*/ "#: User: Authed: Disconnected: Reason:", |
e3805f60 | 143 | /* 134*/ "Current modes on %s: %s", |
96e1f81d | 144 | /* 135*/ "Domain: Users: Flags:", |
5ba379dc | 145 | /* 136*/ "Sorry, no more accounts are allowed from this email domain.", |
e3805f60 | 146 | /* 137*/ "Password too weak - You need to avoid repeating characters, and have different character types (e.g. 1 number and 1 letter)", |
5a4ec14f | 147 | /* 138*/ "User %s is not a master on %s - you must promote user to master status first.", |
148 | /* 139*/ "User %s is already an owner on %s.", | |
2ca43b1b | 149 | /* 140*/ "WARNING: This command will give COMPLETE control over %s to %s,\nincluding the ability to remove you as owner. If you are sure you want to\ndo this, type: GIVEOWNER %s #%s %s", |
5ba379dc | 150 | /* 141*/ "Hash value incorrect, try again.", |
45770ae6 | 151 | /* 142*/ "Showing %s for last %s.", |
dc9548f4 | 152 | /* 143*/ "Change your nickname to something with none of the following characters: `~^[]{}|_\\", |
b7a95f03 | 153 | /* 144*/ "Invalid digest algorithm.", |
3fbc2554 | 154 | /* 145*/ "Challenge has either not been requested or has expired.", |
2ca43b1b | 155 | /* 146*/ "For security reasons it is not possible to give the owner flag to other users\nusing CHANLEV. Use GIVEOWNER if you really wanted to do this.", |
3fbc2554 CP |
156 | /* 147*/ "You must specify at least one valid flag to add.", |
157 | /* 148*/ "New ban is already contained within existing ban: %s", | |
158 | /* 149*/ "New ban would replace at least one existing ban (%s), use UNBANMASK %s first if you want to set this ban.", | |
159 | /* 150*/ "A temporary ban with this mask already exists, replacing it.", | |
160 | /* 151*/ "That permanent ban already exists.", | |
5ba379dc | 161 | /* 152*/ "That ban is already set with a longer duration.", |
162 | /* 153*/ "Replaced existing ban which was set with a shorter duration.", | |
705542fa | 163 | /* 154*/ "Channel has too many user entries, aborting.", |
5ba379dc | 164 | /* 155*/ "No more bans are allowed on that channel.", |
336765cd | 165 | /* 156*/ "Warning: not removing registered ban %s from %s.", |
bd87ef68 | 166 | /* 157*/ "Sorry, the registration service is unavailable to you at this time. Please try again later.", /* a deliberately vague message */ |
96e1f81d CP |
167 | /* 158*/ "Too many accounts exist from this email address.", |
168 | /* 159*/ "That email address has been blocked.", | |
a03c04b3 CP |
169 | /* 160*/ "For more information, type HELP %s.", |
170 | /* 161*/ "Cannot send password for that account.", | |
e2792f61 | 171 | /* 162*/ "The new email address is the same as current one.", |
fdedb559 | 172 | /* 163*/ "Supplied autolimit is invalid: %s", |
30a66d6c CP |
173 | /* 164*/ "This account has recently been modified. It will be unlocked on %s.", |
174 | /* 165*/ "That account is not locked.", | |
175 | /* 166*/ "Your old account settings have been restored, please check your email.", | |
176 | /* 167*/ "Bad reset code.", | |
3da2567a | 177 | /* 168*/ "WARNING: the selected algorithm is legacy functionality and is likely to be removed in the near future.", |
97390b65 CP |
178 | /* 169*/ "Total: %d (owner: %d, master: %d, op: %d, voice: %d, known: %d, ban: %d).", |
179 | /* 170*/ "Pattern: Created by: Reason: Created:", | |
180 | /* 171*/ "%-50s %-15s %-25s %s", | |
181 | /* 172*/ "That pattern doesn't exist.", | |
182 | /* 173*/ "That pattern already exists!", | |
183 | /* 174*/ "Sorry, you can't use that email address.", | |
43e8bb10 | 184 | /* 175*/ "You do not have sufficient access to use %s on %s.", |
185 | /* 176*/ "No channel op events have been logged for %s.", | |
186 | /* 177*/ "Channel op events on %s:\nNickname Account used", | |
f3b0017b | 187 | /* 178*/ "Warning: %s (%s@%s) attempted to auth with your password but you already had %d users authed to your account.", |
54afc439 | 188 | /* 179*/ "Warning: %s (%s@%s) authed with your password.", |
5f7881b2 | 189 | /* 180*/ "Resettable statistics reset for %s.", |
1bd2b810 | 190 | /* 181*/ "The channel has been deleted since the last known user was removed.", |
191 | /* 182*/ "Done. Flags for %s on %s are now: %s.", | |
192 | /* 183*/ "Done. User %s is no longer known on %s.", | |
0ab1dd8c | 193 | /* 184*/ "No change - check that you didn't specify an impossible flag combination.", |
194 | /* 185*/ "Users currently on %s:\nNick Username Flags Host", | |
195 | /* 186*/ "Channel %s is currently empty.", | |
196 | /* 187*/ "Total %d users: %d opped, %d voiced, %d others, %d with flags (%d ops, %d masters)" | |
c86edd1d Q |
197 | }; |
198 | ||
199 | void initmessages() { | |
200 | int i; | |
201 | int j; | |
202 | ||
203 | for (i=0;i<MAXLANG;i++) { | |
204 | cslanguages[i]=NULL; | |
205 | for (j=0;j<MAXMESSAGES;j++) { | |
206 | csmessages[i][j]=NULL; | |
207 | } | |
208 | } | |
209 | } |