Author: asterix
Date: 2008-08-25 20:10:18 +0200 (Mon, 25 Aug 2008)
New Revision: 10285
Modified:
trunk/src/chat_control.py
Log:
translate string correctly. fixes #4203
Modified: trunk/src/chat_control.py
===================================================================
--- trunk/src/chat_control.py 2008-08-25 17:20:16 UTC (rev 10284)
+++ trunk/src/chat_control.py 2008-08-25 18:10:18 UTC (rev 10285)
@@ -1572,10 +1572,13 @@
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)