diff --git a/src/chat_control.py b/src/chat_control.py index 8a028e9ee..c36bc01e9 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1572,10 +1572,13 @@ class ChatControl(ChatControlBase): authenticated_string = _('and NOT authenticated') self.lock_image.set_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps', 'security-low.png')) + #status will become 'is' or 'is not', authentificaed will become + #'and authentificated' or 'and not authentificated', logged will become + #'will' or 'will not' tooltip = _('%(type)s encryption %(status)s active %(authenticated)s.\n' - 'Your chat session %(logged)s be logged.'\ - % {'type': enc_type, 'status': status_string, - 'authenticated': authenticated_string, 'logged': logged_string}) + 'Your chat session %(logged)s be logged.') % {'type': enc_type, + 'status': status_string, 'authenticated': authenticated_string, + 'logged': logged_string} self.lock_tooltip.set_tip(self.authentication_button, tooltip) self.widget_set_visible(self.authentication_button, not visible)