Fix that again
This commit is contained in:
parent
22832b339b
commit
5aa5a25b8a
1 changed files with 2 additions and 2 deletions
|
@ -807,7 +807,7 @@ class MucTab(ChatTab):
|
|||
else:
|
||||
kick_msg = _('\x191%(spec)s \x193%(nick)s\x195 has been banned') % {'spec':theme.CHAR_KICK, 'nick':from_nick.replace('"', '\\"')}
|
||||
if reason is not None and reason.text:
|
||||
kick_msg += _(' Reason: \x196%(reason\x195)s') % {'reason': reason.text}
|
||||
kick_msg += _('\x195 Reason: \x196%(reason\x195)s') % {'reason': reason.text}
|
||||
room.add_message(kick_msg)
|
||||
|
||||
def on_user_kicked(self, room, presence, user, from_nick):
|
||||
|
@ -833,7 +833,7 @@ class MucTab(ChatTab):
|
|||
else:
|
||||
kick_msg = _('\x191%(spec)s \x193%(nick)s\x195 has been kicked') % {'spec':theme.CHAR_KICK, 'nick':from_nick.replace('"', '\\"')}
|
||||
if reason is not None and reason.text:
|
||||
kick_msg += _(' Reason: \x196(%reason)s') % {'reason': reason.text}
|
||||
kick_msg += _('\x195 Reason: \x196%(reason)s') % {'reason': reason.text}
|
||||
room.add_message(kick_msg)
|
||||
|
||||
def on_user_leave_groupchat(self, room, user, jid, status, from_nick, from_room):
|
||||
|
|
Loading…
Reference in a new issue