From f00f22dd051d6c8e667d038c89a9a1745cb03b4c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 25 Aug 2008 18:10:18 +0000 Subject: [PATCH] translate string correctly. fixes #4203 --- src/chat_control.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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)