From ad9dc8b356db076bd66f04566aa8ddb762c87115 Mon Sep 17 00:00:00 2001 From: "silver%warwickcompsoc.co.uk" Date: Sat, 1 Sep 2007 17:29:41 +0000 Subject: [PATCH] Bug 144037 - Add /mode command with basic validation. ChatZilla only. r=samuel p=gijskruitbosch+bugs@gmail.com (Gijs Kruitbosch) git-svn-id: svn://10.0.0.236/trunk@233653 18797224-902f-48f8-a5cc-f745e15eee43 --- .../extensions/irc/locales/en-US/chrome/chatzilla.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties b/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties index f39cfd86322..647e0006ae6 100644 --- a/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties +++ b/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties @@ -484,6 +484,9 @@ cmd.me.help = Sends the text to the channel as a statement in the thi cmd.motd.help = Displays the "Message of the Day", which usually contains information about the network and current server, as well as any usage policies. +cmd.mode.params = [ [ [<...>]]] +cmd.mode.help = Changes the channel or user mode of using and any subsequent if added. When used from a channel view, may be omitted. For a list of modes you may use, see http://irchelp.org. + cmd.motif.params = [] cmd.motif.help = Sets the default CSS file used for the message tabs. can be a URL to a .css file, or the shortcut "default", "light", or "dark". See the ChatZilla homepage at for more information on how to style ChatZilla. See also |network-motif|, |channel-motif|, |user-motif|. @@ -712,6 +715,7 @@ msg.err.no.ctcp.help = %S does not have any help information msg.err.unknown.host = The host application URL "%S" is not recognised. Please report what application you are running ChatZilla in, and the URL given. msg.err.unable.to.print = The current view does not support printing. msg.err.unsupported.command = The server does not support the ``%S'' command. +msg.err.invalid.mode = The mode string you entered (``%S'') is invalid. A valid mode string consists of one or more sequences of a + or - followed by one or more alphabetical characters. # Ask for oper pass if not explicitly given in the command: msg.need.oper.password = Please enter a password for obtaining IRC Operator privileges.