From c3a359ba232099aa6ed71d439dce51b79630f389 Mon Sep 17 00:00:00 2001 From: Ave O Date: Wed, 11 Jul 2018 23:15:56 +0300 Subject: [PATCH] Change to gender-neutral alternatives of pronouns --- gajim/command_system/implementation/standard.py | 2 +- gajim/common/config.py | 4 ++-- gajim/common/modules/vcard_avatars.py | 2 +- gajim/groupchat_control.py | 2 +- gajim/gui_interface.py | 2 +- gajim/roster_window.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gajim/command_system/implementation/standard.py b/gajim/command_system/implementation/standard.py index 88e0d9f6a..42a4966ec 100644 --- a/gajim/command_system/implementation/standard.py +++ b/gajim/command_system/implementation/standard.py @@ -214,7 +214,7 @@ class StandardCommonChatCommands(CommandContainer): self._video_button.set_active(not state) @command(raw=True) - @doc(_("Send a message to the contact that will attract his (her) attention")) + @doc(_("Send a message to the contact that will attract their attention")) def attention(self, message): self.send_message(message, process_commands=False, attention=True) diff --git a/gajim/common/config.py b/gajim/common/config.py index 7144ebf42..29e8fa170 100644 --- a/gajim/common/config.py +++ b/gajim/common/config.py @@ -245,8 +245,8 @@ class Config: 'show_tunes_in_roster': [opt_bool, True, '', True], 'show_location_in_roster': [opt_bool, True, '', True], 'avatar_position_in_roster': [opt_str, 'right', _('Define the position of the avatar in roster. Can be left or right'), True], - 'print_status_in_chats': [opt_bool, False, _('If False, Gajim will no longer print status line in chats when a contact changes his or her status and/or his or her status message.')], - 'print_status_in_muc': [opt_str, 'none', _('Can be "none", "all" or "in_and_out". If "none", Gajim will no longer print status line in groupchats when a member changes his or her status and/or his or her status message. If "all" Gajim will print all status messages. If "in_and_out", Gajim will only print FOO enters/leaves group chat.')], + 'print_status_in_chats': [opt_bool, False, _('If False, Gajim will no longer print status line in chats when a contact changes their status and/or their status message.')], + 'print_status_in_muc': [opt_str, 'none', _('Can be "none", "all" or "in_and_out". If "none", Gajim will no longer print status line in groupchats when a member changes their status and/or their status message. If "all" Gajim will print all status messages. If "in_and_out", Gajim will only print FOO enters/leaves group chat.')], 'log_contact_status_changes': [opt_bool, False], 'log_xhtml_messages': [opt_bool, False, _('Log XHTML messages instead of plain text messages.')], 'just_connected_bg_color': [opt_str, '#adc3c6', _('Background color of contacts when they just signed in.')], diff --git a/gajim/common/modules/vcard_avatars.py b/gajim/common/modules/vcard_avatars.py index 9817f8a4d..8baf348dd 100644 --- a/gajim/common/modules/vcard_avatars.py +++ b/gajim/common/modules/vcard_avatars.py @@ -162,7 +162,7 @@ class VCardAvatars: return if gc_contact.avatar_sha != avatar_sha: - log.info('%s changed his Avatar: %s', nick, avatar_sha) + log.info('%s changed their Avatar: %s', nick, avatar_sha) gc_contact.avatar_sha = avatar_sha app.interface.update_avatar(contact=gc_contact) else: diff --git a/gajim/groupchat_control.py b/gajim/groupchat_control.py index 39d461dff..6abc4a706 100644 --- a/gajim/groupchat_control.py +++ b/gajim/groupchat_control.py @@ -1839,7 +1839,7 @@ class GroupchatControl(ChatControlBase): self.print_conversation(s, 'info', graphics=False) if obj.nick == self.nick: self.autorejoin = False - elif '303' in obj.status_code: # Someone changed his or her nick + elif '303' in obj.status_code: # Someone changed their nick if obj.new_nick == self.new_nick or obj.nick == self.nick: # We changed our nick self.nick = obj.new_nick diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py index 66266009f..17dd8332c 100644 --- a/gajim/gui_interface.py +++ b/gajim/gui_interface.py @@ -531,7 +531,7 @@ class Interface: app.contacts.add_contact(account, contact1) self.roster.add_contact(obj.jid, account) dialogs.InformationDialog(_('Authorization accepted'), - _('The contact "%s" has authorized you to see his or her status.') + _('The contact "%s" has authorized you to see their status.') % obj.jid) def show_unsubscribed_dialog(self, account, contact): diff --git a/gajim/roster_window.py b/gajim/roster_window.py index 1b4cfaae8..91cb940c6 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -2162,7 +2162,7 @@ class RosterWindow: def chg_contact_status(self, contact, show, status, account): """ - When a contact changes his or her status + When a contact changes their status """ contact_instances = app.contacts.get_contacts(account, contact.jid) contact.show = show -- 2.22.0