1 /*****************************************************/
\r
2 /* This java file is a part of the */
\r
4 /* - Plouf's Java IRC Client - */
\r
6 /* Copyright (C) 2002 - 2004 Philippe Detournay */
\r
8 /* All contacts : theplouf@yahoo.com */
\r
10 /* PJIRC is free software; you can redistribute */
\r
11 /* it and/or modify it under the terms of the GNU */
\r
12 /* General Public License as published by the */
\r
13 /* Free Software Foundation; version 2 or later of */
\r
16 /* PJIRC is distributed in the hope that it will */
\r
17 /* be useful, but WITHOUT ANY WARRANTY; without */
\r
18 /* even the implied warranty of MERCHANTABILITY or */
\r
19 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU */
\r
20 /* General Public License for more details. */
\r
22 /* You should have received a copy of the GNU */
\r
23 /* General Public License along with PJIRC; if */
\r
24 /* not, write to the Free Software Foundation, */
\r
25 /* Inc., 59 Temple Place, Suite 330, Boston, */
\r
26 /* MA 02111-1307 USA */
\r
28 /*****************************************************/
\r
33 * Text constants for the IRC engine.
\r
35 public interface IRCTextProvider {
\r
39 public static final int INTERPRETOR_NOT_ON_CHANNEL = 0x001;
\r
41 * %1 : unknown dcc subcommand
\r
43 public static final int INTERPRETOR_UNKNOWN_DCC = 0x002;
\r
45 * %1 : insufficient parameters
\r
47 public static final int INTERPRETOR_INSUFFICIENT_PARAMETERS = 0x003;
\r
49 * %1 : unable to perform in current context
\r
51 public static final int INTERPRETOR_BAD_CONTEXT = 0x004;
\r
53 * Cannot send CTCP codes via DCC Chat
\r
55 public static final int INTERPRETOR_CANNOT_CTCP_IN_DCCCHAT = 0x005;
\r
57 * %1 : unknown config subcommand
\r
59 public static final int INTERPRETOR_UNKNOWN_CONFIG = 0x006;
\r
63 public static final int INTERPRETOR_TIMESTAMP_ON = 0x007;
\r
65 * Timestamp disabled
\r
67 public static final int INTERPRETOR_TIMESTAMP_OFF = 0x008;
\r
69 * Graphical smileys enabled
\r
71 public static final int INTERPRETOR_SMILEYS_ON = 0x009;
\r
73 * Graphical smileys disabled
\r
75 public static final int INTERPRETOR_SMILEYS_OFF = 0x00A;
\r
79 public static final int INTERPRETOR_IGNORE_ON = 0x00B;
\r
81 * Not ignoring %1 anymore
\r
83 public static final int INTERPRETOR_IGNORE_OFF = 0x00C;
\r
85 * Multiserver support is disabled
\r
87 public static final int INTERPRETOR_MULTISERVER_DISABLED = 0x00D;
\r
90 * Waiting for incoming connection...
\r
92 public static final int DCC_WAITING_INCOMING = 0x101;
\r
94 * Unable to open connection : %1
\r
96 public static final int DCC_UNABLE_TO_OPEN_CONNECTION = 0x102;
\r
98 * DCC Connection established
\r
100 public static final int DCC_CONNECTION_ESTABLISHED = 0x103;
\r
102 * Connection closed
\r
104 public static final int DCC_CONNECTION_CLOSED = 0x104;
\r
108 public static final int DCC_ERROR = 0x105;
\r
110 * %1 : unable to send to %2
\r
112 public static final int DCC_UNABLE_TO_SEND_TO = 0x106;
\r
114 * Unable to execute command from current context
\r
116 public static final int DCC_BAD_CONTEXT = 0x107;
\r
120 public static final int DCC_NOT_CONNECTED = 0x108;
\r
122 * Unable to initialize passive mode
\r
124 public static final int DCC_UNABLE_PASSIVE_MODE = 0x109;
\r
126 * [%1 PING reply] : %2 seconds
\r
128 public static final int CTCP_PING_REPLY = 0x10A;
\r
132 public static final int DCC_STREAM_CLOSED = 0x10B;
\r
135 * Failed to launch Ident server : %1
\r
137 public static final int IDENT_FAILED_LAUNCH = 0x201;
\r
139 * Ident request from %1
\r
141 public static final int IDENT_REQUEST = 0x202;
\r
145 public static final int IDENT_ERROR = 0x203;
\r
149 public static final int IDENT_REPLIED = 0x204;
\r
153 public static final int IDENT_DEFAULT_USER = 0x205;
\r
155 * No user for request
\r
157 public static final int IDENT_NO_USER = 0x206;
\r
159 * Ident server running on port %1
\r
161 public static final int IDENT_RUNNING_ON_PORT = 0x207;
\r
163 * Ident server leaving : %1
\r
165 public static final int IDENT_LEAVING = 0x208;
\r
169 public static final int IDENT_NONE = 0x209;
\r
173 public static final int IDENT_UNKNOWN = 0x20A;
\r
177 public static final int IDENT_UNDEFINED = 0x20B;
\r
182 public static final int FILE_SAVEAS = 0x301;
\r
187 public static final int ABOUT_ABOUT = 0x401;
\r
191 public static final int ABOUT_PROGRAMMING = 0x402;
\r
195 public static final int ABOUT_DESIGN = 0x403;
\r
199 public static final int ABOUT_THANKS = 0x404;
\r
201 * for support, ideas and testing
\r
203 public static final int ABOUT_SUPPORT = 0x405;
\r
205 * This software is licensed under the GPL license
\r
207 public static final int ABOUT_GPL = 0x406;
\r
210 * Unable to connect : %1
\r
212 public static final int SERVER_UNABLE_TO_CONNECT = 0x501;
\r
214 * Unable to connect to %1 : currently trying to connect to %2
\r
216 public static final int SERVER_UNABLE_TO_CONNECT_STILL = 0x502;
\r
218 * Disconnecting from %1
\r
220 public static final int SERVER_DISCONNECTING = 0x503;
\r
224 public static final int SERVER_CONNECTING = 0x504;
\r
228 public static final int SERVER_NOT_CONNECTED = 0x505;
\r
232 public static final int SERVER_LOGIN = 0x506;
\r
234 * Disconnected from %1
\r
236 public static final int SERVER_DISCONNECTED = 0x507;
\r
240 public static final int SERVER_ERROR = 0x508;
\r
242 * Attempting to rejoin channel %1...
\r
244 public static final int SERVER_AUTOREJOIN_ATTEMPT = 0x0509;
\r
246 * Unable to rejoin channel %1
\r
248 public static final int SERVER_AUTOREJOIN_FAILED = 0x050a;
\r
253 public static final int GUI_CHANGE_NICK = 0x71A;
\r
257 public static final int GUI_COPY_WINDOW = 0x71B;
\r
261 public static final int GUI_DCC_CHAT_WARNING_TITLE = 0x71C;
\r
263 * Do you want to accept DCC chat from %1?
\r
265 public static final int GUI_DCC_CHAT_WARNING_TEXT = 0x71D;
\r
267 * Boy, %1 years old, %2
\r
269 public static final int ASL_MALE = 0x801;
\r
271 * Girl, %1 years old, %2
\r
273 public static final int ASL_FEMALE = 0x802;
\r
275 * %1 years old from %2
\r
277 public static final int ASL_UNKNOWN = 0x803;
\r
280 * %1 has been idle for %2
\r
282 public static final int REPLY_IDLE = 0x901;
\r
284 * %1 connected on %2
\r
286 public static final int REPLY_SIGNON = 0x902;
\r