Format ChangeNick message
without \newlines the input dialog gets really big
This commit is contained in:
parent
911ac8d2ec
commit
6891cc49f4
|
@ -135,9 +135,10 @@ class Interface:
|
||||||
|
|
||||||
def handle_ask_new_nick(self, account, room_jid, parent_win):
|
def handle_ask_new_nick(self, account, room_jid, parent_win):
|
||||||
title = _('Unable to join group chat')
|
title = _('Unable to join group chat')
|
||||||
prompt = _('Your desired nickname in group chat %s is in use or '
|
prompt = _('Your desired nickname in group chat\n'
|
||||||
'registered by another occupant.\nPlease specify another nickname '
|
'<b>%s</b>\n'
|
||||||
'below:') % room_jid
|
'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')
|
check_text = _('Always use this nickname when there is a conflict')
|
||||||
if 'change_nick_dialog' in self.instances:
|
if 'change_nick_dialog' in self.instances:
|
||||||
self.instances['change_nick_dialog'].add_room(account, room_jid,
|
self.instances['change_nick_dialog'].add_room(account, room_jid,
|
||||||
|
|
Loading…
Reference in New Issue