From 4bd35a715b12dc9d35a8fec8c64bf1df6ef3dc4e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 1 Sep 2008 14:11:28 +0000 Subject: [PATCH] improve SAS dialog. Fixes #3468 --- src/dialogs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 693a6c439..4a2eea58c 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3819,7 +3819,7 @@ class ESessionInfoWindow: self.window.show_all() def update_info(self): - labeltext = _('''Your chat session with %(jid)s is encrypted.\n\nThis session's Short Authentication String is %(sas)s.''') % {'jid': self.session.jid, 'sas': self.session.sas} + labeltext = _('''Your chat session with %(jid)s is encrypted.\n\nThis session's Short Authentication String is %(sas)s.''') % {'jid': self.session.jid, 'sas': self.session.sas} dir = os.path.join(gajim.DATA_DIR, 'pixmaps') if self.session.verified_identity: @@ -3830,15 +3830,15 @@ class ESessionInfoWindow: self.session.is_loggable(), True) self.window.set_title(_('''Contact's identity verified''')) self.xml.get_widget('dialog-action_area1').set_no_show_all(True) - self.button_label.set_text(_('Verify again')) + self.button_label.set_text(_('Verify again...')) else: if self.session.control: self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), False) - labeltext += '\n\n' + _('''To be certain that only the expected person can read your messages or send you messages, you need to verify their identity by clicking the button above.''') + labeltext += '\n\n' + _('''To be certain that only the expected person can read your messages or send you messages, you need to verify their identity by clicking the button below.''') security_image = 'security-low-big.png' self.window.set_title(_('''Contact's identity NOT verified''')) - self.button_label.set_text(_('Verify')) + self.button_label.set_text(_('Verify...')) path = os.path.join(dir, security_image) filename = os.path.abspath(path) @@ -3851,7 +3851,7 @@ class ESessionInfoWindow: def on_verify_now_button_clicked(self, widget): pritext = _('''Have you verified the contact's identity?''') - sectext = _('''To prevent a man-in-the-middle attack, you should speak to %(jid)s directly (in person or on the phone) and verify that they see the same Short Authentication String (SAS) as you.\n\nThis session's Short Authentication String is %(sas)s.''') % {'jid': self.session.jid, 'sas': self.session.sas} + sectext = _('''To prevent talking to an unknown person, you should speak to %(jid)s directly (in person or on the phone) and verify that they see the same Short Authentication String (SAS) as you.\n\nThis session's Short Authentication String is %(sas)s.''') % {'jid': self.session.jid, 'sas': self.session.sas} sectext += '\n\n' + _('Did you talk to the remote contact and verify the SAS?') def on_yes(checked):