src/conf.py: fix typos.

This commit is contained in:
skizzhg 2011-08-06 18:51:46 +02:00 committed by Valentin Lorentz
parent 789e0f135c
commit 94548c4dd6
2 changed files with 6 additions and 6 deletions

View File

@ -102,7 +102,7 @@ def registerChannelValue(group, name, value):
def registerPlugin(name, currentValue=None, public=True): def registerPlugin(name, currentValue=None, public=True):
group = registerGlobalValue(supybot.plugins, name, group = registerGlobalValue(supybot.plugins, name,
registry.Boolean(False, _("""Determines whether this plugin is loaded registry.Boolean(False, _("""Determines whether this plugin is loaded
bydefault."""), showDefault=False)) by default."""), showDefault=False))
supybot.plugins().add(name) supybot.plugins().add(name)
registerGlobalValue(group, 'public', registerGlobalValue(group, 'public',
registry.Boolean(public, _("""Determines whether this plugin is registry.Boolean(public, _("""Determines whether this plugin is
@ -492,7 +492,7 @@ registerChannelValue(supybot.replies, 'errorOwner',
registerChannelValue(supybot.replies, 'incorrectAuthentication', registerChannelValue(supybot.replies, 'incorrectAuthentication',
registry.NormalizedString(_("""Your hostmask doesn't match or your password registry.NormalizedString(_("""Your hostmask doesn't match or your password
is wrong."""), _("""Determines what message the bot replies with when is wrong."""), _("""Determines what message the bot replies with when
someonetries to use a command that requires being identified or having a someone tries to use a command that requires being identified or having a
password and neither credential is correct."""))) password and neither credential is correct.""")))
# XXX: This should eventually check that there's one and only one %s here. # XXX: This should eventually check that there's one and only one %s here.
@ -542,7 +542,7 @@ registerChannelValue(supybot.replies, 'requiresPrivacy',
registerChannelValue(supybot.replies, 'possibleBug', registerChannelValue(supybot.replies, 'possibleBug',
registry.NormalizedString(_("""This may be a bug. If you think it is, registry.NormalizedString(_("""This may be a bug. If you think it is,
please file a bug report at please file a bug report at
<http://sourceforge.net/tracker/?func=add&group_id=58965&atid=489447>."""), <https://github.com/ProgVal/Limnoria/issues>."""),
_("""Determines what message the bot sends when it thinks you've _("""Determines what message the bot sends when it thinks you've
encountered a bug that the developers don't know about."""))) encountered a bug that the developers don't know about.""")))
### ###
@ -663,7 +663,7 @@ registerGlobalValue(supybot.abuse.flood.command.invalid, 'punishment',
registry.PositiveInteger(600, _("""Determines how many seconds the bot registry.PositiveInteger(600, _("""Determines how many seconds the bot
will ignore users who flood it with invalid commands. Typically, this will ignore users who flood it with invalid commands. Typically, this
value is higher than supybot.abuse.flood.command.punishment, since it's far value is higher than supybot.abuse.flood.command.punishment, since it's far
less likely (and far more annoying) for users to flood witih invalid less likely (and far more annoying) for users to flood with invalid
commands than for them to flood with valid commands."""))) commands than for them to flood with valid commands.""")))
registerGlobalValue(supybot.abuse.flood.command.invalid, 'notify', registerGlobalValue(supybot.abuse.flood.command.invalid, 'notify',
registry.Boolean(True, _("""Determines whether the bot will notify people registry.Boolean(True, _("""Determines whether the bot will notify people
@ -1015,7 +1015,7 @@ registerGlobalValue(supybot.protocols.irc.ping, 'interval',
registerGroup(supybot.protocols.irc, 'queuing') registerGroup(supybot.protocols.irc, 'queuing')
registerGlobalValue(supybot.protocols.irc.queuing, 'duplicates', registerGlobalValue(supybot.protocols.irc.queuing, 'duplicates',
registry.Boolean(False, _("""Determines whether the bot will refuse registry.Boolean(False, _("""Determines whether the bot will refuse
duplicate messages to be queued for delivery to the server. This is a duplicated messages to be queued for delivery to the server. This is a
safety mechanism put in place to prevent plugins from sending the same safety mechanism put in place to prevent plugins from sending the same
message multiple times; most of the time it doesn't matter, unless you're message multiple times; most of the time it doesn't matter, unless you're
doing certain kinds of plugin hacking."""))) doing certain kinds of plugin hacking.""")))

View File

@ -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-07-22T02:02:11+0200)' version = '0.83.4.1+limnoria (2011-08-06T18:51:45+0200)'