/* * messages.h * * I moved some of the proxy messages here. Perhaps one day, * if all the messages are here, there will be possibilities * for foreign language versions of ezbounce. * * It is safe to change these to whatever you want, as long as there is * the same amount of special % characters. Put extra ones and watch it * die. * */ #define msg_password_accepted "Password accepted -- Welcome to " EZBOUNCE_VERSION "\n" #define msg_password_incorrect "Password incorrect.\n" #define msg_need_password "Please register with /quote PASS first.\n" #define msg_conn_failed "Connection attempt to %s failed: %s\n" #define msg_conn_successful "Now connected to %s.\n" #define msg_cannot_connect "You are not allowed to connect to %s: %s\n" #define msg_attempting_to_connect "Attempting connection to %s:%d....('/quote cancel' to cancel)\n" #define msg_welcome "Please use /quote PASS to register...\n" #define msg_not_authorized "Closing Link: %s (No authorization)\n" #define msg_banned "You are banned from this server: %s\n:ezbounce 465 * :You are banned from this server: %s\n" #define msg_not_enuff_args "%s - Not enough parameters.\n" #define msg_admin_accepted "Administrative privilages to %s granted\n" #define msg_admin_incorrect "Permission denied\n" #define msg_too_many_failures "Sorry, too many failed password/admin attempts!\n" #define msg_dieing_now "Ok, killing the proxy now.\n" #define msg_dieing "Waiting for proxy to shut down..\n" #define msg_status_uptime "%s server up %s\n" #define msg_status_connections "%d active connections\n" #define msg_status_cputime "CPU time used: %s\n" #define msg_status_listheader ":" EZBOUNCE_HEADER " NOTICE %s :ID TIME HANDLE FROM TO STAT\n" #define msg_killed "Killed user #%d (%s)\n" #define msg_cant_kill "Couldn't kill user #%d (no such uid?)\n" #define msg_disconnected "Connection to server lost.\n" #define msg_interface_set "Ok, binding your connections to %s (%s)\n" #define msg_interface_failed "Unable to bind: %s\n" #define HELP_ENTRY(x,y) const char * __##x##_help = (y) #define __HELP_ENTRY(x) __##x##_help #define DECLARE_HELP_ENTRY(x) extern const char * __##x##_help DECLARE_HELP_ENTRY(user); DECLARE_HELP_ENTRY(nick); DECLARE_HELP_ENTRY(pass); DECLARE_HELP_ENTRY(conn); DECLARE_HELP_ENTRY(status); DECLARE_HELP_ENTRY(kill); DECLARE_HELP_ENTRY(die); DECLARE_HELP_ENTRY(rehash); DECLARE_HELP_ENTRY(reload); DECLARE_HELP_ENTRY(dienow); DECLARE_HELP_ENTRY(cancel); DECLARE_HELP_ENTRY(help); DECLARE_HELP_ENTRY(vhost); DECLARE_HELP_ENTRY(vhosts); DECLARE_HELP_ENTRY(write); DECLARE_HELP_ENTRY(detach); DECLARE_HELP_ENTRY(reattach); DECLARE_HELP_ENTRY(disconnect); DECLARE_HELP_ENTRY(ident); DECLARE_HELP_ENTRY(log); DECLARE_HELP_ENTRY(motd); DECLARE_HELP_ENTRY(quit); DECLARE_HELP_ENTRY(ezbounce); DECLARE_HELP_ENTRY(hash); DECLARE_HELP_ENTRY(login); DECLARE_HELP_ENTRY(sessions); DECLARE_HELP_ENTRY(traffic); DECLARE_HELP_ENTRY(whois); DECLARE_HELP_ENTRY(set); DECLARE_HELP_ENTRY(echo); DECLARE_HELP_ENTRY(save); DECLARE_HELP_ENTRY(trace); DECLARE_HELP_ENTRY(allowed); DECLARE_HELP_ENTRY(command_list); DECLARE_HELP_ENTRY(about); DECLARE_HELP_ENTRY(version); DECLARE_HELP_ENTRY(debug);