Skip to content

Commit

Permalink
Use non-sexist language in strings and comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Mar 8, 2013
1 parent be04677 commit d714909
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion plugins/Admin/plugin.py
Expand Up @@ -265,7 +265,7 @@ def add(self, irc, msg, args, user, capability):
"""
# 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
### have God-like powers over channels.
### 3) We assume that Admin users are two things: non-malicious and
Expand Down
2 changes: 1 addition & 1 deletion plugins/Misc/locales/de.po
Expand Up @@ -244,7 +244,7 @@ msgstr ""
"Sagt <nick> den Inhalt von <text>. Benutze verschachtelte Befehle um nutzen daraus zu ziehen."

#: 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."

#: plugin.py:488
Expand Down
2 changes: 1 addition & 1 deletion plugins/Misc/locales/fi.po
Expand Up @@ -291,7 +291,7 @@ msgstr ""
" "

#: 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."

#: plugin.py:518
Expand Down
4 changes: 2 additions & 2 deletions plugins/Misc/locales/fr.po
Expand Up @@ -248,8 +248,8 @@ msgstr ""
"Dit le <texte> au <nick>. Utile si vous utilisez des commandes imbriquées."

#: plugin.py:513
msgid "Dude, just give the command. No need for the tell."
msgstr "Mec, contentes-toi de me donner la commande. Pas besoin d'utiliser 'tell'."
msgid "Hey, just give the command. No need for the tell."
msgstr "Oh, contentes-toi de me donner la commande. Pas besoin d'utiliser 'tell'."

#: plugin.py:518
msgid "You just told me, why should I tell myself?"
Expand Down
2 changes: 1 addition & 1 deletion plugins/Misc/locales/hu.po
Expand Up @@ -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."

#: 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."

#: plugin.py:488
Expand Down
2 changes: 1 addition & 1 deletion plugins/Misc/locales/it.po
Expand Up @@ -281,7 +281,7 @@ msgstr ""
" "

#: 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\"."

#: plugin.py:488
Expand Down
2 changes: 1 addition & 1 deletion plugins/Misc/plugin.py
Expand Up @@ -509,7 +509,7 @@ def tell(self, irc, msg, args, target, text):
if target.lower() == 'me':
target = msg.nick
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
if not ircutils.isNick(target):
irc.errorInvalid('nick', target)
Expand Down
2 changes: 1 addition & 1 deletion plugins/MoobotFactoids/test.py
Expand Up @@ -329,7 +329,7 @@ def testAddFactoidNotCalledWithBadNestingSyntax(self):
self.assertNoResponse(' ', 3)

def testConfigShowFactoidIfOnlyOneMatch(self):
# man these are long
# these are long
MFconf = conf.supybot.plugins.MoobotFactoids
self.assertNotError('foo is bar')
# Default to saying the factoid value
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/locales/de.po
Expand Up @@ -225,7 +225,7 @@ msgid ""
" Removes the hostmask <hostmask> from the record of the user\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"
" 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"
" password.\n"
" "
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/locales/fi.po
Expand Up @@ -275,7 +275,7 @@ msgid ""
" Removes the hostmask <hostmask> from the record of the user\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"
" 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"
" password.\n"
" "
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/locales/fr.po
Expand Up @@ -293,7 +293,7 @@ msgid ""
" specified by <name>. If the hostmask given is 'all' then all\n"
" hostmasks will be removed. The <password> may only be required "
"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"
" sent to the bot privately (not on a channel) since it may "
"contain a\n"
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/locales/hu.po
Expand Up @@ -198,7 +198,7 @@ msgid ""
" Removes the hostmask <hostmask> from the record of the user\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"
" 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"
" password.\n"
" "
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/locales/it.po
Expand Up @@ -269,7 +269,7 @@ msgid ""
" Removes the hostmask <hostmask> from the record of the user\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"
" 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"
" password.\n"
" "
Expand Down
2 changes: 1 addition & 1 deletion plugins/User/plugin.py
Expand Up @@ -366,7 +366,7 @@ def remove(self, irc, msg, args, user, hostmask, password):
Removes the hostmask <hostmask> from the record of the user
specified by <name>. If the hostmask given is 'all' then all
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
password.
"""
Expand Down
2 changes: 1 addition & 1 deletion plugins/__init__.py
Expand Up @@ -537,7 +537,7 @@ class PeriodicFileDownloader(object):
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
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
a string *filename* of the downloaded file. This will be some random
Expand Down
4 changes: 2 additions & 2 deletions scripts/supybot
Expand Up @@ -117,7 +117,7 @@ def main():
print 'Anyway, here\'s the exception: %s' % \
utils.gen.exnToString(e)
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 'exception. People who raise string exceptions should'
print 'die a slow, painful death.'
Expand Down Expand Up @@ -168,7 +168,7 @@ if __name__ == '__main__':

if os.name == 'posix':
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.exit(-1)

Expand Down
4 changes: 2 additions & 2 deletions scripts/supybot-wizard
Expand Up @@ -375,8 +375,8 @@ def main():

output("""Found %s (%s).""" % (serverString, ip))
output("""IRC Servers almost always accept connections on port
6667. They can, however, accept connections anywhere their admin
feels like he wants to accept connections from.""")
6667. They can, however, accept connections anywhere their admins
feel like they wants to accept connections from.""")
if yn('Does this server require connection on a non-standard port?',
default=False):
port = 0
Expand Down
4 changes: 2 additions & 2 deletions src/ircdb.py
Expand Up @@ -1001,7 +1001,7 @@ def checkIgnored(hostmask, recipient='', users=users, channels=channels):
# Owners shouldn't ever be ignored.
return False
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
except KeyError:
# If there's no user...
Expand Down Expand Up @@ -1130,7 +1130,7 @@ def setValue(self, v, allowDefaultOwner=conf.allowDefaultOwner):
conf.registerGlobalValue(conf.supybot.capabilities, 'default',
registry.Boolean(True, """Determines whether the bot by default will allow
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',
registry.SpaceSeparatedListOfStrings([], """Determines what capabilities
the bot will never tell to a non-admin whether or not a user has them."""))
Expand Down
2 changes: 1 addition & 1 deletion src/irclib.py
Expand Up @@ -273,7 +273,7 @@ def replaceUser(self, oldNick, newNick):
"""Changes the user oldNick to newNick; used for NICK changes."""
# 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
# without changing any of his categories.
# without changing any of their categories.
for s in (self.users, self.ops, self.halfops, self.voices):
if oldNick in s:
s.remove(oldNick)
Expand Down
2 changes: 1 addition & 1 deletion src/ircmsgs.py
Expand Up @@ -74,7 +74,7 @@ class IrcMsg(object):
keyword argument representing a message from which to take all the
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
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)
"""
Expand Down
4 changes: 2 additions & 2 deletions src/schedule.py
Expand Up @@ -71,8 +71,8 @@ def reset(self):
self.events.clear()
self.schedule[:] = []
# 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
# his old id.
# one of the nuked events, we don't want him/her removing new events with
# his/her old id.

def name(self):
return 'Schedule'
Expand Down

0 comments on commit d714909

Please sign in to comment.