From 6891cc49f40a3f767cb9f299c9ab887dbe20c2c1 Mon Sep 17 00:00:00 2001 From: lovetox Date: Tue, 4 Oct 2016 23:54:52 +0200 Subject: [PATCH] Format ChangeNick message without \newlines the input dialog gets really big --- src/gui_interface.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index ace6504dc..3fa42f930 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -135,9 +135,10 @@ class Interface: def handle_ask_new_nick(self, account, room_jid, parent_win): title = _('Unable to join group chat') - prompt = _('Your desired nickname in group chat %s is in use or ' - 'registered by another occupant.\nPlease specify another nickname ' - 'below:') % room_jid + prompt = _('Your desired nickname in group chat\n' + '%s\n' + 'is in use or registered by another occupant.\n' + 'Please specify another nickname below:') % room_jid check_text = _('Always use this nickname when there is a conflict') if 'change_nick_dialog' in self.instances: self.instances['change_nick_dialog'].add_room(account, room_jid,