From 7f1a132caad6d4d20738200fb9e3c72d615d31dc Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 29 Aug 2008 09:38:34 +0000 Subject: [PATCH] fix typo --- src/groupchat_control.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index ce9da328a..bc4ec0d46 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1186,11 +1186,11 @@ class GroupchatControl(ChatControlBase): if affiliation != actual_affiliation: if actor: st = _('** Affiliation of %(nick)s has been set to ' - '%(affiliation)s by %(actor)s' % {'nick': nick_jid, + '%(affiliation)s by %(actor)s') % {'nick': nick_jid, 'affiliation': affiliation, 'actor': actor} else: st = _('** Affiliation of %(nick)s has been set to ' - '%(affiliation)s' % {'nick': nick_jid, + '%(affiliation)s') % {'nick': nick_jid, 'affiliation': affiliation} if reason: st += ' (%s)' % reason @@ -1203,10 +1203,10 @@ class GroupchatControl(ChatControlBase): affiliation, status, jid) if actor: st = _('** Role of %(nick)s has been set to %(role)s by ' - '%(actor)s' % {'nick': nick_jid, 'role': role, + '%(actor)s') % {'nick': nick_jid, 'role': role, 'actor': actor} else: - st = _('** Role of %(nick)s has been set to %(role)s' % { + st = _('** Role of %(nick)s has been set to %(role)s') % { 'nick': nick_jid, 'role': role} if reason: st += ' (%s)' % reason