mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
More spelling/capitalization normalization.
This commit is contained in:
parent
36418e8ca6
commit
d36459ab0b
@ -77,7 +77,7 @@ def configure(advanced):
|
||||
conf.registerPlugin('Bugzilla', True)
|
||||
output("""The Bugzilla plugin has the functionality to watch for URLs
|
||||
that match a specific pattern (we call this a snarfer). When
|
||||
a supybot sees such a URL, it will parse the web page for
|
||||
a Supybot sees such a URL, it will parse the web page for
|
||||
information and reply with the results.""")
|
||||
if yn('Do you want this bug snarfer enabled by default?', default=False):
|
||||
conf.supybot.plugins.Bugzilla.bugSnarfer.setValue(True)
|
||||
|
@ -55,7 +55,7 @@ def configure(advanced):
|
||||
conf.registerPlugin('Ebay', True)
|
||||
output("""The Ebay plugin has the functionality to watch for URLs
|
||||
that match a specific pattern (we call this a snarfer). When
|
||||
supybot sees such a URL, he will parse the web page for
|
||||
Supybot sees such a URL, he will parse the web page for
|
||||
information and reply with the results.""")
|
||||
if yn('Do you want the Ebay snarfer enabled by default?'):
|
||||
conf.supybot.plugins.Ebay.auctionSnarfer.setValue(True)
|
||||
|
@ -299,7 +299,7 @@ class Filter(callbacks.Privmsg):
|
||||
_revcode = dict([(y, x) for (x, y) in _code.items()])
|
||||
_unmorsere = re.compile('([.-]+)')
|
||||
def unmorse(self, irc, msg, args):
|
||||
"""<morse code text>
|
||||
"""<Morse code text>
|
||||
|
||||
Does the reverse of the morse command.
|
||||
"""
|
||||
@ -317,7 +317,7 @@ class Filter(callbacks.Privmsg):
|
||||
def morse(self, irc, msg, args):
|
||||
"""<text>
|
||||
|
||||
Gives the morse code equivalent of a given string.
|
||||
Gives the Morse code equivalent of a given string.
|
||||
"""
|
||||
text = privmsgs.getArgs(args)
|
||||
L = []
|
||||
|
@ -111,7 +111,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
try:
|
||||
channel = msg.args[1]
|
||||
(irc, msg) = self.joins.pop(channel)
|
||||
irc.error('Cannot join %s, I\'m not identified with the nickserv.'
|
||||
irc.error('Cannot join %s, I\'m not identified with the NickServ.'
|
||||
% channel)
|
||||
except KeyError:
|
||||
self.log.debug('Got 515 without Admin.join being called.')
|
||||
@ -192,7 +192,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
self.log.debug('Got 433 without Admin.nick being called.')
|
||||
|
||||
def do438(self, irc, msg):
|
||||
"""Can't change nick while in +m channel. Could just be freenode."""
|
||||
"""Can't change nick while in +m channel. Could just be Freenode."""
|
||||
irc = self.pendingNickChanges.get(irc, None)
|
||||
if irc is not None:
|
||||
channel = msg.args[-1].strip().split()[-1][1:-1]
|
||||
|
@ -250,7 +250,7 @@ class Misc(callbacks.Privmsg):
|
||||
newest ='The newest version available online is %s.'%newest.strip()
|
||||
except webutils.WebError, e:
|
||||
self.log.warning('Couldn\'t get website version: %r', e)
|
||||
newest = 'I could\'t fetch the newest version ' \
|
||||
newest = 'I couldn\'t fetch the newest version ' \
|
||||
'from the Supybot website.'
|
||||
s = 'The current (running) version of this Supybot is %s. %s' % \
|
||||
(conf.version, newest)
|
||||
|
@ -99,7 +99,7 @@ def loadPluginModule(name, ignoreDeprecation=False):
|
||||
return module
|
||||
|
||||
def loadPluginClass(irc, module, register=None):
|
||||
"""Loads the plugin Class from the given module into the given irc."""
|
||||
"""Loads the plugin Class from the given module into the given Irc."""
|
||||
try:
|
||||
cb = module.Class()
|
||||
except AttributeError:
|
||||
@ -154,7 +154,7 @@ class holder(object):
|
||||
class LogProxy(object):
|
||||
"""<text>
|
||||
|
||||
Logs <text> to the global supybot log at critical priority. Useful for
|
||||
Logs <text> to the global Supybot log at critical priority. Useful for
|
||||
marking logfiles for later searching.
|
||||
"""
|
||||
__name__ = 'log' # Necessary for help.
|
||||
@ -356,7 +356,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
else:
|
||||
# This should never happen, so I haven't bothered updating
|
||||
# this error string to say --allow-eval.
|
||||
irc.error('You must run supybot with the --allow-eval '
|
||||
irc.error('You must run Supybot with the --allow-eval '
|
||||
'option for this command to be enabled.')
|
||||
|
||||
def _exec(self, irc, msg, args):
|
||||
@ -373,7 +373,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
irc.reply(utils.exnToString(e))
|
||||
else:
|
||||
# This should never happen.
|
||||
irc.error('You must run supybot with the --allow-eval '
|
||||
irc.error('You must run Supybot with the --allow-eval '
|
||||
'option for this command to be enabled.')
|
||||
else:
|
||||
def eval(self, irc, msg, args):
|
||||
|
@ -258,7 +258,7 @@ def toXml(msg, pretty=True, includeTime=True):
|
||||
def prettyPrint(msg, addRecipients=False):
|
||||
"""Provides a client-friendly string form for messages.
|
||||
|
||||
IIRC, I copied BitchX's (or was it xchat's?) format for messages.
|
||||
IIRC, I copied BitchX's (or was it XChat's?) format for messages.
|
||||
"""
|
||||
def nickorprefix():
|
||||
return msg.nick or msg.prefix
|
||||
|
@ -402,7 +402,7 @@ class FormatParser(object):
|
||||
|
||||
def wrap(s, length):
|
||||
if length < 100:
|
||||
raise ValueError, 'Use with a length greater than 100, sucka.'
|
||||
raise ValueError, 'Use ircutils.wrap with a length greater than 100.'
|
||||
processed = []
|
||||
chunks = textwrap.wrap(s, length)
|
||||
context = None
|
||||
@ -508,6 +508,8 @@ mircColors = IrcDict({
|
||||
'pink': '13',
|
||||
'dark grey': '14',
|
||||
'light grey': '15',
|
||||
'dark gray': '14',
|
||||
'light gray': '15',
|
||||
})
|
||||
|
||||
# We'll map integers to their string form so mircColor is simpler.
|
||||
|
Loading…
Reference in New Issue
Block a user