u'' -> ''
This commit is contained in:
parent
65a979e7de
commit
8057eae9a7
|
@ -242,7 +242,7 @@ class PrivateChatControl(ChatControl):
|
|||
_('Sending private message failed'),
|
||||
#in second %s code replaces with nickname
|
||||
_('You are no longer in group chat "%(room)s" or '
|
||||
'"%(nick)s" has left.') % {'room': u'\u200E' + room,
|
||||
'"%(nick)s" has left.') % {'room': '\u200E' + room,
|
||||
'nick': nick})
|
||||
return
|
||||
|
||||
|
@ -791,7 +791,7 @@ class GroupchatControl(ChatControlBase):
|
|||
name = self.get_continued_conversation_name()
|
||||
else:
|
||||
name = self.room_jid
|
||||
text = '<span %s>%s</span>' % (font_attrs, u'\u200E' + name)
|
||||
text = '<span %s>%s</span>' % (font_attrs, '\u200E' + name)
|
||||
self.name_label.set_markup(text)
|
||||
|
||||
if self.subject:
|
||||
|
@ -2199,7 +2199,7 @@ class GroupchatControl(ChatControlBase):
|
|||
reason, jid)
|
||||
|
||||
# Ask for a reason
|
||||
dialogs.DoubleInputDialog(_('Destroying %s') % u'\u200E' + \
|
||||
dialogs.DoubleInputDialog(_('Destroying %s') % '\u200E' + \
|
||||
self.room_jid, _('You are going to definitively destroy this \
|
||||
room.\nYou may specify a reason below:'),
|
||||
_('You may also enter an alternate venue:'), ok_handler=on_ok)
|
||||
|
|
Loading…
Reference in New Issue