From 7c5485ab2e40f01cc641ae54d21832415e178a5a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 12 Sep 2013 17:41:33 +0200 Subject: [PATCH] add 2 more direction mark :/. Fixes #7284 --- src/dialogs.py | 3 ++- src/groupchat_control.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 2a72dd244..7cde8b5b6 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4636,7 +4636,8 @@ class InvitationReceivedDialog: % {'room_jid': room_jid} contact = gajim.contacts.get_first_contact_from_jid(account, jid) contact_text = contact and contact.name or jid - sectext = sectext.replace('$Contact', contact_text) + sectext = i18n.direction_mark + sectext.replace('$Contact', + contact_text) if comment: # only if not None and not '' comment = GLib.markup_escape_text(comment) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 3115e5266..dbd4aadc1 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1556,7 +1556,7 @@ class GroupchatControl(ChatControlBase): newly_created = False nick = i18n.direction_mark + obj.nick - nick_jid = nick + nick_jid = nick + i18n.direction_mark # Set to true if role or affiliation have changed right_changed = False