From f336685aea18a70dfc090fe0456ef37ba001a1fd 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 8385c9805..445993919 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4590,7 +4590,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 = gobject.markup_escape_text(comment) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 69af7ebf5..55d05b98f 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1545,7 +1545,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