]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/chanserv_messages.h
CHANSERV: clarify HELLO messages after a suggestion from .support.
[irc/quakenet/newserv.git] / chanserv / chanserv_messages.h
index 2e16ceeb396cf6999f6ee57da3b8247ec7b996b1..b708475f10a8bdcd4a198e8651d4b9597f4cb4ef 100644 (file)
@@ -1,9 +1,12 @@
 #ifndef __CHANSERV_MESSAGES_H
 #define __CHANSERV_MESSAGES_H
 
-#define Q9_FORMAT_TIME "%d/%m/%y %H:%M"
+#define Q9_FORMAT_TIME "%d/%m/%y %H:%M GMT"
+#define TIMELEN 30
 
-#define MAXMESSAGES  200
+#define Q9_LOG_FORMAT_TIME "%d/%m/%y %H:%M:%S"
+
+#define MAXMESSAGES  250
 
 #ifdef COMPILING_MESSAGES
 #define msg(token, message, args) message, args
@@ -17,9 +20,9 @@
 
 BeginMessages() {
   msg(QM_PROTECTED, "Channel $0 is protected by $1.", "ss"),
-  msg(QM_UNKNOWNCMD, "Unknown command $0.  Type SHOWCOMMANDS for a list of available commands.", "s"),
+  msg(QM_UNKNOWNCMD, "Unknown command $0. Type SHOWCOMMANDS for a list of available commands.", "s"),
   msg(QM_SECUREONLY, "To prevent sensitive information being accidentally send to malicious users\non other networks, when using the $0 command, you must use\n/msg $1@$2.", "sss"),
-  msg(QM_AUTHEDONLY, "$0 is only available to authed users.  Try AUTH to authenticate with your\naccount, or HELLO to create an account.", "s"),
+  msg(QM_AUTHEDONLY, "$0 is only available to authed users. Try AUTH to authenticate with your\naccount, or HELLO to create an account.", "s"),
   msg(QM_UNAUTHEDONLY, "$0 is not available once you have authed.", "s"),
   msg(QM_COMMANDLIST, "The following commands are available to you.\nFor more information on a specific command, type HELP <command>:", ""),
   msg(QM_ENDOFLIST, "End of list.", ""),
@@ -57,14 +60,14 @@ BeginMessages() {
   msg(QM_WELCOMEMESSAGEIS, "Welcome message for $0: $1", "ss"),
   msg(QM_GLOBALINFO, "Default info line: $0", "s"),
   msg(QM_CHANNELINFO, "Info line on $0: $1", "ss"),
-  msg(QM_PROTECTEDNICK, "$0 is a protected helper or oper nick.  Please use a different nickname.", "s"),
+  msg(QM_PROTECTEDNICK, "$0 is a protected helper or oper nick. Please use a different nickname.", "s"),
   msg(QM_NICKWASFAKED, "I created a fakeuser $0 to prevent your nick being stolen.", "s"),
   msg(QM_NOTPROTECTED, "Sorry, your nick $0 is not protected.", "s"),
-  msg(QM_SAMEAUTH, "$0 is authed as $1.  Cannot reclaim nick.", "ss"),
+  msg(QM_SAMEAUTH, "$0 is authed as $1. Cannot reclaim nick.", "ss"),
   msg(QM_AUTHFAIL, "Username or password incorrect.", ""),
   msg(QM_AUTHOK, "You are now logged in as $0.", "s"),
-  msg(QM_NEWACCOUNT, "User $0 created successfully.\nInformation about how to access and use your new account will be sent to your email address, $1.\nIf you do not see an email soon be sure to check your spam folder.", "ss"),
-  msg(QM_AUTHNAMEINUSE, "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.", ""),
+  msg(QM_NEWACCOUNT, "Account $0 created successfully.\nInformation about how to access and use your new account will be sent to your email address, $1.\nIf you do not see an email soon be sure to check your spam folder.", "ss"),
+  msg(QM_AUTHNAMEINUSE, "Someone already has the account name $0!\nIf this is your account use AUTH to login, otherwise please change your nick using /NICK and try again.", "s"),
   msg(QM_ALREADYONCHAN, "You're already on $0.", "s"),
   msg(QM_NOTONCHAN, "You're not on $0.", "s"),
   msg(QM_ALREADYOPPED, "You're already opped on $0.", "s"),
@@ -146,24 +149,24 @@ BeginMessages() {
   msg(QM_RESULTCOUNT, "Found $0 $1$2.", "uss"),
   msg(QM_SUSPENDKILL, "Attention: Your Q account has been suspended. You are being disconnected.", ""),
   msg(QM_LISTFLAGSHEADER, "Username:       Flags:            Suspended: Email:                         Last user@host:", ""),
-  msg(QM_SUSPENDUSERLISTHEADER, "Username:       Suspend type: Suspended by:   Date suspended: Expires:        Reason:", ""),
-  msg(QM_SUSPENDCHANLISTHEADER, "Channel:                       Suspended by:   Date suspended: Reason:", ""),
+  msg(QM_SUSPENDUSERLISTHEADER, "Username:       Suspend type: Suspended by:   Date suspended:     Expires:        Reason:", ""), /* @TIMELEN */
+  msg(QM_SUSPENDCHANLISTHEADER, "Channel:                       Suspended by:   Date suspended:     Reason:", ""), /* @TIMELEN */
   msg(QM_NOREQUESTOWNER, "You cannot request ownership of $0 as there is a channel $1 present.", "ss"),
   msg(QM_GRANTEDOWNER, "You have been granted ownership of $0.", "s"),
-  msg(QM_AUTHHISTORYHEADER, "#:  User:                                              Authed:         Disconnected:   Reason:", ""),
+  msg(QM_AUTHHISTORYHEADER, "#:  User:                                              Authed:             Disconnected:       Reason:", ""), /* @TIMELEN */
   msg(QM_CURDOMAINMODES, "Current modes on $0: $1", "ss"),
   msg(QM_SPEWDOMAINHEADER, "Domain:             Users:  Flags:", ""),
   msg(QM_DOMAINLIMIT, "Sorry, no more accounts are allowed from this email domain.", ""),
   msg(QM_PWTOWEAK, "Password too weak - You need to avoid repeating characters, and have different character types (e.g. 1 number and 1 letter)", ""),
   msg(QM_GIVEOWNERNOTMASTER, "User $0 is not a master on $1 - you must promote user to master status first.", "ss"),
   msg(QM_GIVEOWNERALREADYOWNER, "User $0 is already an owner on $1.", "ss"),
-  msg(QM_GIVEOWNERNEEDHASH, "WARNING: This command will give COMPLETE control over $0 to $1,\nincluding the ability to remove you as owner.  If you are sure you want to\ndo this, type: GIVEOWNER $2 #$3 $4", "sssss"),
+  msg(QM_GIVEOWNERNEEDHASH, "WARNING: This command will give COMPLETE control over $0 to $1,\nincluding the ability to remove you as owner. If you are sure you want to\ndo this, type: GIVEOWNER $2 #$3 $4", "sssss"),
   msg(QM_GIVEOWNERWRONGHASH, "Hash value incorrect, try again.", ""),
   msg(QM_SHOWINGDURATION, "Showing $0 for last $1.", "ss"),
   msg(QM_INVALIDACCOUNTNAME, "Change your nickname to something with none of the following characters: `~^[]{}|_\\", ""),
   msg(QM_CHALLENGEBADALGORITHM, "Invalid digest algorithm.", ""),
   msg(QM_NOCHALLENGE, "Challenge has either not been requested or has expired.", ""),
-  msg(QM_USEGIVEOWNER, "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.", ""),
+  msg(QM_USEGIVEOWNER, "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.", ""),
   msg(QM_NOFLAGSPECIFIED, "You must specify at least one valid flag to add.", ""),
   msg(QM_NEWBANALREADYBANNED, "New ban is already contained within existing ban: $0", "s"),
   msg(QM_NEWBANOVERLAPS, "New ban would replace at least one existing ban ($0), use UNBANMASK $1 first if you want to set this ban.", "ss"),
@@ -198,9 +201,9 @@ BeginMessages() {
   msg(QM_OTHERUSERAUTHED, "Warning: $0 ($1@$2) authed with your password.", "sss"),
   msg(QM_STATSRESET, "Resettable statistics reset for $0.", "s"),
   msg(QM_CHANLEVEMPTIEDCHANNEL, "The channel has been deleted since the last known user was removed.", ""),
-  msg(QM_CHANLEVCHANGED, "Done.  Flags for $0 on $1 are now: $2.", "sss"),
-  msg(QM_CHANLEVREMOVED, "Done.  User $0 is no longer known on $1.", "ss"),
-  msg(QM_CHANLEVNOCHANGE, "Nothing changed.  This could be because you specified an impossible flag combination or don't have enough access.", ""),
+  msg(QM_CHANLEVCHANGED, "Done. Flags for $0 on $1 are now: $2.", "sss"),
+  msg(QM_CHANLEVREMOVED, "Done. User $0 is no longer known on $1.", "ss"),
+  msg(QM_CHANLEVNOCHANGE, "Nothing changed. This could be because you specified an impossible flag combination or don't have enough access.", ""),
   msg(QM_USERSHEADER, "Users currently on $0:\nNick            Username        Flags        Host", "s"),
   msg(QM_EMPTYCHAN, "Channel $0 is currently empty.", "s"),
   msg(QM_USERSSUMMARY, "Total $0 users: $1 opped, $2 voiced, $3 others, $4 with flags ($5 ops, $6 masters)", "ddddddd"),
@@ -215,6 +218,14 @@ BeginMessages() {
   msg(QM_CHANLEV_SUSPENDREASON, "Suspended: $0", "s"),
   msg(QM_CHANLEV_SUSPENDSINCE, "Suspended since: $0", "T"),
   msg(QM_CHANLEV_SUSPENDBY, "Suspended by: $0", "s"),
+  msg(QM_TRUNCATED, "Warning: list truncated to $0 items.", "d"),
+  msg(QM_WHOIS_PASSSET, "Pass last set  : $0", "T"),
+  msg(QM_TICKETEXPIRED, "Sorry, you've taken too long to log in (ticket has expired).", ""),
+  msg(QM_TICKETNOTYETVALID, "The supplied login credentials are not valid (ticket not yet valid).", ""),
+  msg(QM_CONFIGURATIONERROR, "Configuration error, contact an IRC Operator.", ""),
+  msg(QM_INVALIDHMAC, "The supplied login credentials are not valid (bad HMAC).", ""),
+  msg(QM_PASSEMAILCHANGED, "Auth failed: account password has been changed since you logged in.", ""),
+  msg(QM_REASONREQUIRED, "Supply a decent reason.", ""),
 } 
 EndMessages()
 #endif