fix typo
This commit is contained in:
parent
15b9b3e1c2
commit
7f1a132caa
|
@ -1186,11 +1186,11 @@ class GroupchatControl(ChatControlBase):
|
||||||
if affiliation != actual_affiliation:
|
if affiliation != actual_affiliation:
|
||||||
if actor:
|
if actor:
|
||||||
st = _('** Affiliation of %(nick)s has been set to '
|
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}
|
'affiliation': affiliation, 'actor': actor}
|
||||||
else:
|
else:
|
||||||
st = _('** Affiliation of %(nick)s has been set to '
|
st = _('** Affiliation of %(nick)s has been set to '
|
||||||
'%(affiliation)s' % {'nick': nick_jid,
|
'%(affiliation)s') % {'nick': nick_jid,
|
||||||
'affiliation': affiliation}
|
'affiliation': affiliation}
|
||||||
if reason:
|
if reason:
|
||||||
st += ' (%s)' % reason
|
st += ' (%s)' % reason
|
||||||
|
@ -1203,10 +1203,10 @@ class GroupchatControl(ChatControlBase):
|
||||||
affiliation, status, jid)
|
affiliation, status, jid)
|
||||||
if actor:
|
if actor:
|
||||||
st = _('** Role of %(nick)s has been set to %(role)s by '
|
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}
|
'actor': actor}
|
||||||
else:
|
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}
|
'nick': nick_jid, 'role': role}
|
||||||
if reason:
|
if reason:
|
||||||
st += ' (%s)' % reason
|
st += ' (%s)' % reason
|
||||||
|
|
Loading…
Reference in New Issue