mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
ChannelLogger & Format & Karma & Owner & Reply & Status & URL & Unix: Fix typoes.
This commit is contained in:
parent
f3b6b182aa
commit
6e5350def6
@ -86,7 +86,7 @@ conf.registerGlobalValue(ChannelLogger.directories, 'timestamp',
|
|||||||
if using directories.""")))
|
if using directories.""")))
|
||||||
conf.registerGlobalValue(ChannelLogger.directories.timestamp, 'format',
|
conf.registerGlobalValue(ChannelLogger.directories.timestamp, 'format',
|
||||||
registry.String('%B', _("""Determines what timestamp format will be used in
|
registry.String('%B', _("""Determines what timestamp format will be used in
|
||||||
the directory stucture for channel logs if
|
the directory structure for channel logs if
|
||||||
supybot.plugins.ChannelLogger.directories.timestamp is True.""")))
|
supybot.plugins.ChannelLogger.directories.timestamp is True.""")))
|
||||||
|
|
||||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||||
|
@ -147,7 +147,7 @@ class Format(callbacks.Plugin):
|
|||||||
def repr(self, irc, msg, args, text):
|
def repr(self, irc, msg, args, text):
|
||||||
"""<text>
|
"""<text>
|
||||||
|
|
||||||
Returns the text surrounded by double quotes.
|
Returns <text> surrounded by double quotes.
|
||||||
"""
|
"""
|
||||||
irc.reply(utils.str.dqrepr(text))
|
irc.reply(utils.str.dqrepr(text))
|
||||||
repr = wrap(repr, ['text'])
|
repr = wrap(repr, ['text'])
|
||||||
|
@ -53,7 +53,7 @@ conf.registerChannelValue(conf.supybot.plugins.Karma, 'rankingDisplay',
|
|||||||
are shown when karma is called with no arguments.""")))
|
are shown when karma is called with no arguments.""")))
|
||||||
conf.registerChannelValue(conf.supybot.plugins.Karma, 'mostDisplay',
|
conf.registerChannelValue(conf.supybot.plugins.Karma, 'mostDisplay',
|
||||||
registry.Integer(25, _("""Determines how many karma things are shown when
|
registry.Integer(25, _("""Determines how many karma things are shown when
|
||||||
the most command is called.'""")))
|
the most command is called.""")))
|
||||||
conf.registerChannelValue(conf.supybot.plugins.Karma, 'allowSelfRating',
|
conf.registerChannelValue(conf.supybot.plugins.Karma, 'allowSelfRating',
|
||||||
registry.Boolean(False, _("""Determines whether users can adjust the karma
|
registry.Boolean(False, _("""Determines whether users can adjust the karma
|
||||||
of their nick.""")))
|
of their nick.""")))
|
||||||
|
@ -378,7 +378,7 @@ class Owner(callbacks.Plugin):
|
|||||||
Runs the standard upkeep stuff (flushes and gc.collects()). If given
|
Runs the standard upkeep stuff (flushes and gc.collects()). If given
|
||||||
a level, runs that level of upkeep (currently, the only supported
|
a level, runs that level of upkeep (currently, the only supported
|
||||||
level is "high", which causes the bot to flush a lot of caches as well
|
level is "high", which causes the bot to flush a lot of caches as well
|
||||||
as do normal upkeep stuff.
|
as do normal upkeep stuff).
|
||||||
"""
|
"""
|
||||||
L = []
|
L = []
|
||||||
if level == 'high':
|
if level == 'high':
|
||||||
|
@ -52,7 +52,7 @@ class Reply(callbacks.Plugin):
|
|||||||
def action(self, irc, msg, args, text):
|
def action(self, irc, msg, args, text):
|
||||||
"""<text>
|
"""<text>
|
||||||
|
|
||||||
Replies with <text> as an action. use nested commands to your benefit
|
Replies with <text> as an action. Use nested commands to your benefit
|
||||||
here.
|
here.
|
||||||
"""
|
"""
|
||||||
if text:
|
if text:
|
||||||
|
@ -130,7 +130,7 @@ class Status(callbacks.Plugin):
|
|||||||
user+system < timeRunning+1: # Fudge for FPU inaccuracies.
|
user+system < timeRunning+1: # Fudge for FPU inaccuracies.
|
||||||
children = _('My children have taken %.2f seconds of user time '
|
children = _('My children have taken %.2f seconds of user time '
|
||||||
'and %.2f seconds of system time '
|
'and %.2f seconds of system time '
|
||||||
'for a total of %.2f seconds of CPU time. ') % \
|
'for a total of %.2f seconds of CPU time.') % \
|
||||||
(childUser, childSystem, childUser+childSystem)
|
(childUser, childSystem, childUser+childSystem)
|
||||||
else:
|
else:
|
||||||
children = ''
|
children = ''
|
||||||
|
@ -103,8 +103,8 @@ class URL(callbacks.Plugin):
|
|||||||
Gives the last URL matching the given criteria. --from is from whom
|
Gives the last URL matching the given criteria. --from is from whom
|
||||||
the URL came; --proto is the protocol the URL used; --with is something
|
the URL came; --proto is the protocol the URL used; --with is something
|
||||||
inside the URL; --without is something that should not be in the URL;
|
inside the URL; --without is something that should not be in the URL;
|
||||||
--near is something in the same message as the URL; If --nolimit is
|
--near is something in the same message as the URL. If --nolimit is
|
||||||
given, returns all the URLs that are found. to just the URL.
|
given, returns all the URLs that are found to just the URL.
|
||||||
<channel> is only necessary if the message isn't sent in the channel
|
<channel> is only necessary if the message isn't sent in the channel
|
||||||
itself.
|
itself.
|
||||||
"""
|
"""
|
||||||
|
@ -113,7 +113,7 @@ class Unix(callbacks.Plugin):
|
|||||||
def crypt(self, irc, msg, args, password, salt):
|
def crypt(self, irc, msg, args, password, salt):
|
||||||
"""<password> [<salt>]
|
"""<password> [<salt>]
|
||||||
|
|
||||||
Returns the resulting of doing a crypt() on <password> If <salt> is
|
Returns the resulting of doing a crypt() on <password>. If <salt> is
|
||||||
not given, uses a random salt. If running on a glibc2 system,
|
not given, uses a random salt. If running on a glibc2 system,
|
||||||
prepending '$1$' to your salt will cause crypt to return an MD5sum
|
prepending '$1$' to your salt will cause crypt to return an MD5sum
|
||||||
based crypt rather than the standard DES based crypt.
|
based crypt rather than the standard DES based crypt.
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
"""stick the various versioning attributes in here, so we only have to change
|
"""stick the various versioning attributes in here, so we only have to change
|
||||||
them once."""
|
them once."""
|
||||||
version = '0.83.4.1+limnoria (2011-08-07T12:04:31+0200)'
|
version = '0.83.4.1+limnoria (2011-08-10T11:26:47+0200)'
|
||||||
|
Loading…
Reference in New Issue
Block a user