Change 'his/her' to 'their'

It's shorter and reads better.

Also removes 'its', which might be intented to refer to bots or the like.
This commit is contained in:
Kim Alvefur 2019-03-19 19:16:41 +01:00 committed by Maxime “pep” Buquet
parent a6e66cd50e
commit 5eb3e36b61
9 changed files with 13 additions and 13 deletions

View file

@ -428,7 +428,7 @@ MultiUserChat tab commands
**Usage:** ``/info <nickname>`` **Usage:** ``/info <nickname>``
Display some information about the user in the room: Display some information about the user in the room:
his/her role, affiliation, status, and status message. their role, affiliation, status, and status message.
/version /version
**Usage:** ``/version <nickname or jid>`` **Usage:** ``/version <nickname or jid>``

View file

@ -121,7 +121,7 @@ The following events are poezio-only events, for Slixmpp events, check out
changing_nick changing_nick
- **presence:** :py:class:`~~slixmpp.Presence` to be sent - **presence:** :py:class:`~~slixmpp.Presence` to be sent
Triggered when the user changes his/her nickname on a MUC. The Triggered when the user changes their nickname on a MUC. The
presence can thus be modified before being sent. presence can thus be modified before being sent.
send_normal_presence send_normal_presence

View file

@ -687,7 +687,7 @@ class CommandCore:
else: else:
msg = 'The last activity of %s was %s ago%s' % ( msg = 'The last activity of %s was %s ago%s' % (
from_, common.parse_secs_to_str(seconds), from_, common.parse_secs_to_str(seconds),
(' and his/her last status was %s' % status) (' and their last status was %s' % status)
if status else '') if status else '')
self.core.information(msg, 'Info') self.core.information(msg, 'Info')

View file

@ -1220,7 +1220,7 @@ class Core:
def rename_private_tabs(self, room_name: str, old_nick: str, user: User) -> None: def rename_private_tabs(self, room_name: str, old_nick: str, user: User) -> None:
""" """
Call this method when someone changes his/her nick in a MUC, Call this method when someone changes their nick in a MUC,
this updates the name of all the opened private conversations this updates the name of all the opened private conversations
with him/her with him/her
""" """

View file

@ -561,7 +561,7 @@ class HandlerCore:
'Mood') 'Mood')
else: else:
self.core.information( self.core.information(
contact.bare_jid + ' stopped having his/her mood.', 'Mood') contact.bare_jid + ' stopped having their mood.', 'Mood')
def on_activity_event(self, message): def on_activity_event(self, message):
""" """
@ -606,7 +606,7 @@ class HandlerCore:
contact.activity, 'Activity') contact.activity, 'Activity')
else: else:
self.core.information( self.core.information(
contact.bare_jid + ' stopped doing his/her activity.', contact.bare_jid + ' stopped doing their activity.',
'Activity') 'Activity')
def on_tune_event(self, message): def on_tune_event(self, message):
@ -1015,7 +1015,7 @@ class HandlerCore:
contact.pending_out = False contact.pending_out = False
else: else:
self.core.information( self.core.information(
'%s does not want you to receive his/her/its status anymore.' % '%s does not want you to receive their/its status anymore.' %
jid, 'Roster') jid, 'Roster')
self.core.tabs.first().state = 'highlight' self.core.tabs.first().state = 'highlight'
if isinstance(self.core.tabs.current_tab, tabs.RosterInfoTab): if isinstance(self.core.tabs.current_tab, tabs.RosterInfoTab):

View file

@ -205,7 +205,7 @@ class ConversationTab(OneToOneTab):
dump_tuple(get_theme().COLOR_INFORMATION_TEXT), dump_tuple(get_theme().COLOR_INFORMATION_TEXT),
from_, from_,
common.parse_secs_to_str(seconds), common.parse_secs_to_str(seconds),
(' and his/her last status was %s' % status) (' and their last status was %s' % status)
if status else '', if status else '',
) )
self.add_message(msg) self.add_message(msg)

View file

@ -124,14 +124,14 @@ class MucTab(ChatTab):
def cancel_config(self, form): def cancel_config(self, form):
""" """
The user do not want to send his/her config, send an iq cancel The user do not want to send their config, send an iq cancel
""" """
muc.cancel_config(self.core.xmpp, self.name) muc.cancel_config(self.core.xmpp, self.name)
self.core.close_tab() self.core.close_tab()
def send_config(self, form): def send_config(self, form):
""" """
The user sends his/her config to the server The user sends their config to the server
""" """
muc.configure_room(self.core.xmpp, self.name, form) muc.configure_room(self.core.xmpp, self.name, form)
self.core.close_tab() self.core.close_tab()
@ -2053,7 +2053,7 @@ class MucTab(ChatTab):
'usage': 'usage':
'<nickname>', '<nickname>',
'desc': ('Display some information about the user ' 'desc': ('Display some information about the user '
'in the MUC: its/his/her role, affiliation,' 'in the MUC: their role, affiliation,'
' status and status message.'), ' status and status message.'),
'shortdesc': 'shortdesc':
'Show an user\'s infos.', 'Show an user\'s infos.',

View file

@ -55,7 +55,7 @@ class PrivateTab(OneToOneTab):
'info', 'info',
self.command_info, self.command_info,
desc= desc=
'Display some information about the user in the MUC: its/his/her role, affiliation, status and status message.', 'Display some information about the user in the MUC: their role, affiliation, status and status message.',
shortdesc='Info about the user.') shortdesc='Info about the user.')
self.register_command( self.register_command(
'version', 'version',

View file

@ -88,7 +88,7 @@ class RosterInfoTab(Tab):
usage='[jid]', usage='[jid]',
desc='Deny your presence to the provided JID (or the ' desc='Deny your presence to the provided JID (or the '
'selected contact in your roster), who is asking' 'selected contact in your roster), who is asking'
'you to be in his/her roster.', 'you to be in their roster.',
shortdesc='Deny a user your presence.', shortdesc='Deny a user your presence.',
completion=self.completion_deny) completion=self.completion_deny)
self.register_command( self.register_command(