summaryrefslogtreecommitdiff
path: root/msgs.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /msgs.h
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 'msgs.h')
-rwxr-xr-xmsgs.h69
1 files changed, 28 insertions, 41 deletions
diff --git a/msgs.h b/msgs.h
index f9e4adb..0cf634f 100755
--- a/msgs.h
+++ b/msgs.h
@@ -3,47 +3,34 @@
// 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>\0"
-#define E_NONICK "You need to specify a nick name.<br><br>\0"
-#define E_NOTONL "An error occured. Your nick is not online.<br><br>\0"
-#define E_ONLINE "The nick you have specified is already online. Try another nick.<br><br>\0"
+#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>"
-// alphabetical ordered:
-#define ACCPERR "Sock accept error \0"
-#define BINDERR "Sock bind error \0"
-#define CFILEOK "Parsing config file \0"
-#define CFILENO "Failed opening config file \0"
-#define CONTACT "Contact: http://www.yChat.org, Mail@yChat.org, ICQ: 11655527\0"
-#define DESCRIP "yChat++: Copyright (C) 2003 Paul C. Buetow, Volker Richter\0"
-#define DOWNMSG "Shutting down \0"
-#define LISTERR "Sock listen error \0"
-#define LOGERR1 "Logging: Could not open logfile \0"
-#define LOGERR2 "Logging: No filename specified \0"
-#define MODULEC "Caching \0"
-#define MODULER "Requesting \0"
-#define MYMANAG "MySQL: \0"
-#define MYLIMIT "MySQL reached hardlimit of connections: \0"
-#define MYINITC "MySQL initial connections: \0"
-#define MYINITM "MySQL max. connections: \0"
-#define MYERROR "MySQL error: no suitable connection found \0"
-#define MYERRO1 "MySQL error: init failed \0"
-#define MYERRO2 "MySQL error: reached connection limit \0"
-#define NEWREQU "New request \0"
-#define NEWROOM "New room \0"
-#define NEWUSER "New user \0"
-#define NOFOUND "File not found \0"
-#define POOLERR "Thread pool malloc error \0"
-#define READERR "Sock read error \0"
-#define REMUSER "Removing user \0"
-#define REQUEST "Request string \0"
-#define SELCERR "Sock select error \0"
-#define SEPERAT "-----------------------\0"
-#define SESSION "Session count \0"
-#define SOCKCRT "Created server socket on \0"
-#define SOCKERR "Couldn't create socket, trying next port \0"
-#define SOCKRDY "Server socket is ready \0"
-#define STARTMS "Starting up \0"
-#define TECACHE "Caching template \0"
-#define VERSION "yChat 0.6-RELEASE \0"
+// 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 MODULEC "Caching module "
+#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: yChat++ Basic 0.5"
#endif