From 8057eae9a7484563ec565d9973665ca51ba532ec Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 11 Aug 2013 14:44:46 +0200 Subject: [PATCH] u'' -> '' --- src/groupchat_control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 78d94fe55..6d860a50e 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -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 = '%s' % (font_attrs, u'\u200E' + name) + text = '%s' % (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)