From 9adc632d67a3f9c50e8f884911ffb0a8972a8b72 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Mon, 8 Sep 2008 15:51:13 +0000 Subject: [PATCH] consolidate e2e status messages --- src/chat_control.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index 8ba956358..2a40518ff 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1798,13 +1798,12 @@ class ChatControl(ChatControlBase): '''print esession settings to textview''' e2e_is_active = bool(self.session) and self.session.enable_encryption if e2e_is_active: - msg = _('E2E encryption enabled') - ChatControlBase.print_conversation_line(self, msg, 'status', '', None) + msg = _('This session is encrypted') if self.session.is_loggable(): - msg = _('Session WILL be logged') + msg += _(' and WILL be logged') else: - msg = _('Session WILL NOT be logged') + msg += _(' and WILL NOT be logged') ChatControlBase.print_conversation_line(self, msg, 'status', '', None)