diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
| commit | 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 (patch) | |
| tree | 631c295a4a4a16b57502b847626763a279bf6df7 /ychat-0.3/msgs.h | |
| parent | 13aaf70af703748fe096e0664c305cd202637ad2 (diff) | |
tagging tags
Diffstat (limited to 'ychat-0.3/msgs.h')
| -rwxr-xr-x | ychat-0.3/msgs.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ychat-0.3/msgs.h b/ychat-0.3/msgs.h new file mode 100755 index 0000000..19271ae --- /dev/null +++ b/ychat-0.3/msgs.h @@ -0,0 +1,43 @@ +#ifndef MSGS_H +#define MSGS_H + +// message templates. + +// will be posed if a command does not exist for an user. +#define ERRORCMD " <font color='#FF0000'>No such command!</font><br>\n" +// will post "nickname enters the chat" into the room. +#define USERENTR " enters the chat<br>\n" +// will post "nickname leaves the chat" into the room. +#define USERLEAV " leaves the chat<br>\n" + +// several error messages which will apear by the clients. +#define E_ALPNUM "The nick you have specified is not alphanumeric, please change that.<br><br>" +#define E_NONICK "You need to specify a nick name.<br><br>" +#define E_NOTONL "An error occured. Your nick is not online.<br><br>" +#define E_ONLINE "The nick you have specified is already online. Try another nick.<br><br>" + +// all the custom messages for verbosity outputs. this messages may not +// be used for html-template value substituation except the CONTACT and +// DESCRIP variables. the verbosity output will appear in the standard +// output of the server. +// alphabetical ordered. +#define CFILEOK "Parsing config file " +#define CFILENO "Failed opening config file " +#define CONNECT "Receiving connection " +#define CONTACT "Contact: www.yChat.org, Mail@yChat.org " +#define DESCRIP "yChat++ Copyright (C) 2003 Paul C. Buetow, Volker Richer " +#define DOWNMSG "Shutting down " +#define LOGINPR "Login procedure succeeded for nick " +#define NEWROOM "Adding room " +#define REQUEST "Request string " +#define SEPERAT "----------------------------------------- " +#define SOCKCRT "Creating server socket " +#define SOCKERR "Could not create socket. Trying next port " +#define SOCKRDY "Server socket is ready. See port above " +#define STARTMS "Starting up " +#define TECACHE "Caching template " +#define THREADS "Starting thread job " +#define THREADE "Exiting thread job " +#define VERSION "Version: CVS" + +#endif |
