'''a human-readable description of the features that have been negotiated'''
iffeatures['logging']=='may':
return'- messages will be logged'
return_('- messages will be logged')
eliffeatures['logging']=='mustnot':
return'- messages will not be logged'
return_('- messages will not be logged')
defshow_sas_dialog(jid,sas):
dialogs.InformationDialog(_('''Verify the remote client's identity'''),_('''You've begun an encrypted session with %s, but it can't be guaranteed that you're talking directly to the person you think you are.
You should speak with them directly (in person or on the phone) and confirm that their Short Authentication String is identical to this one: %s''')%(jid,sas))