Compare commits

...

2 Commits

Author SHA1 Message Date
'leftie fb5c8b8cd0 use less gendered pronouns 2019-07-01 20:30:56 -04:00
'leftie abbf24f6fa add important wrapper commands around `/me` 2019-05-24 21:56:10 -04:00
2 changed files with 39 additions and 7 deletions

View File

@ -74,10 +74,42 @@ class StandardCommonCommands(CommandContainer):
def say(self, message):
self.send(message)
@command('we','us',raw=True)
@command('we','us', raw=True)
@doc(_("Send action (in the third person) to the current chat"))
def me(self, action):
self.send("/me %s" % action)
@command('kiss', raw=True, empty=True)
@doc(_("Send kiss (in the third person) to the current chat"))
def kisses(self, action):
if action:
self.send("/me kisses %s" % action)
else:
self.send("/me kisses")
@command('cuddle', raw=True, empty=True)
@doc(_("Send cuddles (in the third person) to the current chat"))
def cuddles(self, action):
if action:
self.send("/me cuddles %s" % action)
else:
self.send("/me cuddles")
@command('nuzzle','nuzl', raw=True, empty=True)
@doc(_("Send nuzzles (in the third person) to the current chat"))
def nuzzles(self, action):
if action:
self.send("/me nuzzles %s" % action)
else:
self.send("/me nuzzles")
@command('hug', raw=True, empty=True)
@doc(_("Send hugs (in the third person) to the current chat"))
def hugs(self, action):
if action:
self.send("/me hugs %s" % action)
else:
self.send("/me hugs")
@command('lastlog', overlap=True)
@doc(_("Show logged messages which mention given text"))

View File

@ -1531,8 +1531,8 @@ msgstr "Subscription request has been sent"
#: gajim/roster_window.py:2081
#, python-format
msgid "If \"%s\" accepts this request you will know his or her status."
msgstr "If \"%s\" accepts this request you will know his or her status."
msgid "If \"%s\" accepts this request you will know their status."
msgstr "If \"%s\" accepts this request you will know their status."
#: gajim/roster_window.py:2095
#, fuzzy
@ -2620,7 +2620,7 @@ msgstr "Authorisation accepted"
#: gajim/gui_interface.py:530
#, fuzzy, python-format
msgid "The contact \"%s\" has authorized you to see their status."
msgstr "The contact \"%s\" has authorised you to see his or her status."
msgstr "The contact \"%s\" has authorised you to see their status."
#: gajim/gui_interface.py:538
#, python-format
@ -4259,7 +4259,7 @@ msgid ""
"changes their status and/or their status message."
msgstr ""
"If False, Gajim will no longer print status line in chats when a contact "
"changes his or her status and/or status message."
"changes their status and/or status message."
#: gajim/common/config.py:239
#, fuzzy
@ -4271,8 +4271,8 @@ msgid ""
"chat."
msgstr ""
"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 "
"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."