mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Use non-sexist language in strings and comments.
This commit is contained in:
parent
be04677995
commit
d714909576
@ -265,7 +265,7 @@ class Admin(callbacks.Plugin):
|
|||||||
"""
|
"""
|
||||||
# Ok, the concepts that are important with capabilities:
|
# Ok, the concepts that are important with capabilities:
|
||||||
#
|
#
|
||||||
### 1) No user should be able to elevate his privilege to owner.
|
### 1) No user should be able to elevate their privilege to owner.
|
||||||
### 2) Admin users are *not* superior to #channel.ops, and don't
|
### 2) Admin users are *not* superior to #channel.ops, and don't
|
||||||
### have God-like powers over channels.
|
### have God-like powers over channels.
|
||||||
### 3) We assume that Admin users are two things: non-malicious and
|
### 3) We assume that Admin users are two things: non-malicious and
|
||||||
|
@ -244,7 +244,7 @@ msgstr ""
|
|||||||
"Sagt <nick> den Inhalt von <text>. Benutze verschachtelte Befehle um nutzen daraus zu ziehen."
|
"Sagt <nick> den Inhalt von <text>. Benutze verschachtelte Befehle um nutzen daraus zu ziehen."
|
||||||
|
|
||||||
#: plugin.py:483
|
#: plugin.py:483
|
||||||
msgid "Dude, just give the command. No need for the tell."
|
msgid "Hey, just give the command. No need for the tell."
|
||||||
msgstr "Junge, gib mir einfach den Befehl."
|
msgstr "Junge, gib mir einfach den Befehl."
|
||||||
|
|
||||||
#: plugin.py:488
|
#: plugin.py:488
|
||||||
|
@ -291,7 +291,7 @@ msgstr ""
|
|||||||
" "
|
" "
|
||||||
|
|
||||||
#: plugin.py:513
|
#: plugin.py:513
|
||||||
msgid "Dude, just give the command. No need for the tell."
|
msgid "Hey, just give the command. No need for the tell."
|
||||||
msgstr "Keikari, anna vain komento. Ei tarvitse kertoa."
|
msgstr "Keikari, anna vain komento. Ei tarvitse kertoa."
|
||||||
|
|
||||||
#: plugin.py:518
|
#: plugin.py:518
|
||||||
|
@ -248,8 +248,8 @@ msgstr ""
|
|||||||
"Dit le <texte> au <nick>. Utile si vous utilisez des commandes imbriquées."
|
"Dit le <texte> au <nick>. Utile si vous utilisez des commandes imbriquées."
|
||||||
|
|
||||||
#: plugin.py:513
|
#: plugin.py:513
|
||||||
msgid "Dude, just give the command. No need for the tell."
|
msgid "Hey, just give the command. No need for the tell."
|
||||||
msgstr "Mec, contentes-toi de me donner la commande. Pas besoin d'utiliser 'tell'."
|
msgstr "Oh, contentes-toi de me donner la commande. Pas besoin d'utiliser 'tell'."
|
||||||
|
|
||||||
#: plugin.py:518
|
#: plugin.py:518
|
||||||
msgid "You just told me, why should I tell myself?"
|
msgid "You just told me, why should I tell myself?"
|
||||||
|
@ -242,7 +242,7 @@ msgid ""
|
|||||||
msgstr "<név> <szöveg>Megmondja <név>-nek szöveget. Itt az előnyödre használhatod a beágyazott parancsokat."
|
msgstr "<név> <szöveg>Megmondja <név>-nek szöveget. Itt az előnyödre használhatod a beágyazott parancsokat."
|
||||||
|
|
||||||
#: plugin.py:483
|
#: plugin.py:483
|
||||||
msgid "Dude, just give the command. No need for the tell."
|
msgid "Hey, just give the command. No need for the tell."
|
||||||
msgstr "Haver, csak add meg a parancsot. Nem kell mondani."
|
msgstr "Haver, csak add meg a parancsot. Nem kell mondani."
|
||||||
|
|
||||||
#: plugin.py:488
|
#: plugin.py:488
|
||||||
|
@ -281,7 +281,7 @@ msgstr ""
|
|||||||
" "
|
" "
|
||||||
|
|
||||||
#: plugin.py:483
|
#: plugin.py:483
|
||||||
msgid "Dude, just give the command. No need for the tell."
|
msgid "Hey, just give the command. No need for the tell."
|
||||||
msgstr "Dammi il comando, non c'è bisogno di usare \"tell\"."
|
msgstr "Dammi il comando, non c'è bisogno di usare \"tell\"."
|
||||||
|
|
||||||
#: plugin.py:488
|
#: plugin.py:488
|
||||||
|
@ -509,7 +509,7 @@ class Misc(callbacks.Plugin):
|
|||||||
if target.lower() == 'me':
|
if target.lower() == 'me':
|
||||||
target = msg.nick
|
target = msg.nick
|
||||||
if ircutils.isChannel(target):
|
if ircutils.isChannel(target):
|
||||||
irc.error(_('Dude, just give the command. No need for the tell.'))
|
irc.error(_('Hey, just give the command. No need for the tell.'))
|
||||||
return
|
return
|
||||||
if not ircutils.isNick(target):
|
if not ircutils.isNick(target):
|
||||||
irc.errorInvalid('nick', target)
|
irc.errorInvalid('nick', target)
|
||||||
|
@ -329,7 +329,7 @@ class FactoidsTestCase(ChannelPluginTestCase):
|
|||||||
self.assertNoResponse(' ', 3)
|
self.assertNoResponse(' ', 3)
|
||||||
|
|
||||||
def testConfigShowFactoidIfOnlyOneMatch(self):
|
def testConfigShowFactoidIfOnlyOneMatch(self):
|
||||||
# man these are long
|
# these are long
|
||||||
MFconf = conf.supybot.plugins.MoobotFactoids
|
MFconf = conf.supybot.plugins.MoobotFactoids
|
||||||
self.assertNotError('foo is bar')
|
self.assertNotError('foo is bar')
|
||||||
# Default to saying the factoid value
|
# Default to saying the factoid value
|
||||||
|
@ -225,7 +225,7 @@ msgid ""
|
|||||||
" Removes the hostmask <hostmask> from the record of the user\n"
|
" Removes the hostmask <hostmask> from the record of the user\n"
|
||||||
" specified by <name>. If the hostmask given is 'all' then all\n"
|
" specified by <name>. If the hostmask given is 'all' then all\n"
|
||||||
" hostmasks will be removed. The <password> may only be required if\n"
|
" hostmasks will be removed. The <password> may only be required if\n"
|
||||||
" the user is not recognized by his hostmask. This message must be\n"
|
" the user is not recognized by their hostmask. This message must be\n"
|
||||||
" sent to the bot privately (not on a channel) since it may contain a\n"
|
" sent to the bot privately (not on a channel) since it may contain a\n"
|
||||||
" password.\n"
|
" password.\n"
|
||||||
" "
|
" "
|
||||||
|
@ -275,7 +275,7 @@ msgid ""
|
|||||||
" Removes the hostmask <hostmask> from the record of the user\n"
|
" Removes the hostmask <hostmask> from the record of the user\n"
|
||||||
" specified by <name>. If the hostmask given is 'all' then all\n"
|
" specified by <name>. If the hostmask given is 'all' then all\n"
|
||||||
" hostmasks will be removed. The <password> may only be required if\n"
|
" hostmasks will be removed. The <password> may only be required if\n"
|
||||||
" the user is not recognized by his hostmask. This message must be\n"
|
" the user is not recognized by their hostmask. This message must be\n"
|
||||||
" sent to the bot privately (not on a channel) since it may contain a\n"
|
" sent to the bot privately (not on a channel) since it may contain a\n"
|
||||||
" password.\n"
|
" password.\n"
|
||||||
" "
|
" "
|
||||||
|
@ -293,7 +293,7 @@ msgid ""
|
|||||||
" specified by <name>. If the hostmask given is 'all' then all\n"
|
" specified by <name>. If the hostmask given is 'all' then all\n"
|
||||||
" hostmasks will be removed. The <password> may only be required "
|
" hostmasks will be removed. The <password> may only be required "
|
||||||
"if\n"
|
"if\n"
|
||||||
" the user is not recognized by his hostmask. This message must "
|
" the user is not recognized by their hostmask. This message must "
|
||||||
"be\n"
|
"be\n"
|
||||||
" sent to the bot privately (not on a channel) since it may "
|
" sent to the bot privately (not on a channel) since it may "
|
||||||
"contain a\n"
|
"contain a\n"
|
||||||
|
@ -198,7 +198,7 @@ msgid ""
|
|||||||
" Removes the hostmask <hostmask> from the record of the user\n"
|
" Removes the hostmask <hostmask> from the record of the user\n"
|
||||||
" specified by <name>. If the hostmask given is 'all' then all\n"
|
" specified by <name>. If the hostmask given is 'all' then all\n"
|
||||||
" hostmasks will be removed. The <password> may only be required if\n"
|
" hostmasks will be removed. The <password> may only be required if\n"
|
||||||
" the user is not recognized by his hostmask. This message must be\n"
|
" the user is not recognized by their hostmask. This message must be\n"
|
||||||
" sent to the bot privately (not on a channel) since it may contain a\n"
|
" sent to the bot privately (not on a channel) since it may contain a\n"
|
||||||
" password.\n"
|
" password.\n"
|
||||||
" "
|
" "
|
||||||
|
@ -269,7 +269,7 @@ msgid ""
|
|||||||
" Removes the hostmask <hostmask> from the record of the user\n"
|
" Removes the hostmask <hostmask> from the record of the user\n"
|
||||||
" specified by <name>. If the hostmask given is 'all' then all\n"
|
" specified by <name>. If the hostmask given is 'all' then all\n"
|
||||||
" hostmasks will be removed. The <password> may only be required if\n"
|
" hostmasks will be removed. The <password> may only be required if\n"
|
||||||
" the user is not recognized by his hostmask. This message must be\n"
|
" the user is not recognized by their hostmask. This message must be\n"
|
||||||
" sent to the bot privately (not on a channel) since it may contain a\n"
|
" sent to the bot privately (not on a channel) since it may contain a\n"
|
||||||
" password.\n"
|
" password.\n"
|
||||||
" "
|
" "
|
||||||
|
@ -366,7 +366,7 @@ class User(callbacks.Plugin):
|
|||||||
Removes the hostmask <hostmask> from the record of the user
|
Removes the hostmask <hostmask> from the record of the user
|
||||||
specified by <name>. If the hostmask given is 'all' then all
|
specified by <name>. If the hostmask given is 'all' then all
|
||||||
hostmasks will be removed. The <password> may only be required if
|
hostmasks will be removed. The <password> may only be required if
|
||||||
the user is not recognized by his hostmask. This message must be
|
the user is not recognized by their hostmask. This message must be
|
||||||
sent to the bot privately (not on a channel) since it may contain a
|
sent to the bot privately (not on a channel) since it may contain a
|
||||||
password.
|
password.
|
||||||
"""
|
"""
|
||||||
|
@ -537,7 +537,7 @@ class PeriodicFileDownloader(object):
|
|||||||
downloaded every day, but no commands that use it are run in a week, the
|
downloaded every day, but no commands that use it are run in a week, the
|
||||||
next time such a command is run, it'll be using a week-old file. If you
|
next time such a command is run, it'll be using a week-old file. If you
|
||||||
don't want such behavior, you'll have to give an error mess age to the user
|
don't want such behavior, you'll have to give an error mess age to the user
|
||||||
and tell him to call you back in the morning.
|
and tell them to call you back in the morning.
|
||||||
|
|
||||||
'function to run with downloaded file' is a function that will be passed
|
'function to run with downloaded file' is a function that will be passed
|
||||||
a string *filename* of the downloaded file. This will be some random
|
a string *filename* of the downloaded file. This will be some random
|
||||||
|
@ -117,7 +117,7 @@ def main():
|
|||||||
print 'Anyway, here\'s the exception: %s' % \
|
print 'Anyway, here\'s the exception: %s' % \
|
||||||
utils.gen.exnToString(e)
|
utils.gen.exnToString(e)
|
||||||
except:
|
except:
|
||||||
print 'Man, this really sucks. Not only did log.exception'
|
print 'Oh, this really sucks. Not only did log.exception'
|
||||||
print 'raise an exception, but freaking-a, it was a string'
|
print 'raise an exception, but freaking-a, it was a string'
|
||||||
print 'exception. People who raise string exceptions should'
|
print 'exception. People who raise string exceptions should'
|
||||||
print 'die a slow, painful death.'
|
print 'die a slow, painful death.'
|
||||||
@ -168,7 +168,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if os.name == 'posix':
|
if os.name == 'posix':
|
||||||
if (os.getuid() == 0 or os.geteuid() == 0) and not options.allowRoot:
|
if (os.getuid() == 0 or os.geteuid() == 0) and not options.allowRoot:
|
||||||
sys.stderr.write('Dude, don\'t even try to run this as root.')
|
sys.stderr.write('Don\'t even try to run this as root.')
|
||||||
sys.stderr.write(os.linesep)
|
sys.stderr.write(os.linesep)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
|
@ -375,8 +375,8 @@ def main():
|
|||||||
|
|
||||||
output("""Found %s (%s).""" % (serverString, ip))
|
output("""Found %s (%s).""" % (serverString, ip))
|
||||||
output("""IRC Servers almost always accept connections on port
|
output("""IRC Servers almost always accept connections on port
|
||||||
6667. They can, however, accept connections anywhere their admin
|
6667. They can, however, accept connections anywhere their admins
|
||||||
feels like he wants to accept connections from.""")
|
feel like they wants to accept connections from.""")
|
||||||
if yn('Does this server require connection on a non-standard port?',
|
if yn('Does this server require connection on a non-standard port?',
|
||||||
default=False):
|
default=False):
|
||||||
port = 0
|
port = 0
|
||||||
|
@ -1001,7 +1001,7 @@ def checkIgnored(hostmask, recipient='', users=users, channels=channels):
|
|||||||
# Owners shouldn't ever be ignored.
|
# Owners shouldn't ever be ignored.
|
||||||
return False
|
return False
|
||||||
elif user.ignore:
|
elif user.ignore:
|
||||||
log.debug('Ignoring %s due to his IrcUser ignore flag.', hostmask)
|
log.debug('Ignoring %s due to their IrcUser ignore flag.', hostmask)
|
||||||
return True
|
return True
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# If there's no user...
|
# If there's no user...
|
||||||
@ -1130,7 +1130,7 @@ conf.registerGlobalValue(conf.supybot, 'capabilities',
|
|||||||
conf.registerGlobalValue(conf.supybot.capabilities, 'default',
|
conf.registerGlobalValue(conf.supybot.capabilities, 'default',
|
||||||
registry.Boolean(True, """Determines whether the bot by default will allow
|
registry.Boolean(True, """Determines whether the bot by default will allow
|
||||||
users to have a capability. If this is disabled, a user must explicitly
|
users to have a capability. If this is disabled, a user must explicitly
|
||||||
have the capability for whatever command he wishes to run."""))
|
have the capability for whatever command they wish to run."""))
|
||||||
conf.registerGlobalValue(conf.supybot.capabilities, 'private',
|
conf.registerGlobalValue(conf.supybot.capabilities, 'private',
|
||||||
registry.SpaceSeparatedListOfStrings([], """Determines what capabilities
|
registry.SpaceSeparatedListOfStrings([], """Determines what capabilities
|
||||||
the bot will never tell to a non-admin whether or not a user has them."""))
|
the bot will never tell to a non-admin whether or not a user has them."""))
|
||||||
|
@ -273,7 +273,7 @@ class ChannelState(utils.python.Object):
|
|||||||
"""Changes the user oldNick to newNick; used for NICK changes."""
|
"""Changes the user oldNick to newNick; used for NICK changes."""
|
||||||
# Note that this doesn't have to have the sigil (@%+) that users
|
# Note that this doesn't have to have the sigil (@%+) that users
|
||||||
# have to have for addUser; it just changes the name of the user
|
# have to have for addUser; it just changes the name of the user
|
||||||
# without changing any of his categories.
|
# without changing any of their categories.
|
||||||
for s in (self.users, self.ops, self.halfops, self.voices):
|
for s in (self.users, self.ops, self.halfops, self.voices):
|
||||||
if oldNick in s:
|
if oldNick in s:
|
||||||
s.remove(oldNick)
|
s.remove(oldNick)
|
||||||
|
@ -74,7 +74,7 @@ class IrcMsg(object):
|
|||||||
keyword argument representing a message from which to take all the
|
keyword argument representing a message from which to take all the
|
||||||
attributes not provided otherwise as keyword arguments. So, for instance,
|
attributes not provided otherwise as keyword arguments. So, for instance,
|
||||||
if a programmer wanted to take a PRIVMSG he'd gotten and simply redirect it
|
if a programmer wanted to take a PRIVMSG he'd gotten and simply redirect it
|
||||||
to a different source, he could do this:
|
to a different source, they could do this:
|
||||||
|
|
||||||
IrcMsg(prefix='', args=(newSource, otherMsg.args[1]), msg=otherMsg)
|
IrcMsg(prefix='', args=(newSource, otherMsg.args[1]), msg=otherMsg)
|
||||||
"""
|
"""
|
||||||
|
@ -71,8 +71,8 @@ class Schedule(drivers.IrcDriver):
|
|||||||
self.events.clear()
|
self.events.clear()
|
||||||
self.schedule[:] = []
|
self.schedule[:] = []
|
||||||
# We don't reset the counter here because if someone has held an id of
|
# We don't reset the counter here because if someone has held an id of
|
||||||
# one of the nuked events, we don't want him removing new events with
|
# one of the nuked events, we don't want him/her removing new events with
|
||||||
# his old id.
|
# his/her old id.
|
||||||
|
|
||||||
def name(self):
|
def name(self):
|
||||||
return 'Schedule'
|
return 'Schedule'
|
||||||
|
Loading…
Reference in New Issue
Block a user