From 769ce99f6cf748f50011f608a981893e7542b48c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Sat, 19 Mar 2011 12:43:21 +0100 Subject: [PATCH] add account and server name to insecure connection dialog. Fixes #6841 --- src/gui_interface.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index 9c7ba8aa1d..d53025b3d1 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1276,9 +1276,11 @@ class Interface: show='offline')) pritext = _('Insecure connection') - sectext = _('You are about to connect to the server with an insecure ' - 'connection. This means all your conversations will be ' - 'exchanged unencrypted. Are you sure you want to do that?') + sectext = _('You are about to connect to the account %(account)s ' + '(%(server)s) with an insecure connection. This means all your ' + 'conversations will be exchanged unencrypted. Are you sure you ' + 'want to do that?') % {'account': obj.conn.name, + 'server': gajim.get_hostname_from_account(obj.conn.name)} checktext1 = _('Yes, I really want to connect insecurely') checktext2 = _('_Do not ask me again') if 'plain_connection' in self.instances[obj.conn.name]['online_dialog']: -- GitLab