From 860371299068d45a51208ef7fe64b35f16db80f3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 26 Jan 2009 18:05:04 +0000 Subject: [PATCH] metion account name in fingerprint changed dialog. Fixes $4735 --- src/gajim.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 3909422c2..80fa53db5 100644 --- a/src/gajim.py +++ b/src/gajim.py @@ -2022,10 +2022,11 @@ class Interface: gajim.connections[account].disconnect(on_purpose=True) self.handle_event_status(account, 'offline') pritext = _('SSL certificate error') - sectext = _('It seems the SSL certificate has changed or your connection ' - 'is being hacked.\nOld fingerprint: %(old)s\nNew fingerprint: %(new)s' - '\n\nDo you still want to connect and update the fingerprint of the ' - 'certificate?') % {'old': gajim.config.get_per('accounts', account, + sectext = _('It seems the SSL certificate of account %(account)s has ' + 'changed or your connection is being hacked.\nOld fingerprint: %(old)s' + '\nNew fingerprint: %(new)s\n\nDo you still want to connect and update' + ' the fingerprint of the certificate?') % {'account': account, + 'old': gajim.config.get_per('accounts', account, 'ssl_fingerprint_sha1'), 'new': data[0]} if 'fingerprint_error' in self.instances[account]['online_dialog']: self.instances[account]['online_dialog']['fingerprint_error'].destroy()