Show
Ignore:
Timestamp:
05/10/08 13:47:04 (7 months ago)
Author:
js
Message:

Add OTR in features window.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/features_window.py

    r9300 r9604  
    9696                                _('Requires texlive-latex-base, dvips and imagemagick. You have to set \'use_latex\' to True in the Advanced Configuration Editor.'), 
    9797                                _('Feature not available under Windows.')), 
    98                         _('End to end encryption'): (self.pycrypto_available, 
     98                        _('End to End Encryption'): (self.pycrypto_available, 
    9999                                _('Encrypting chatmessages.'), 
    100100                                _('Requires python-crypto.'), 
    101101                                _('Requires python-crypto.')), 
     102                        _('Off the Record Encryption'): (self.otr_available, 
     103                                _('Encrypting chatmessages in a way that even works through gateways.'), 
     104                                _('Requires pyotr and libotr.'), 
     105                                _('Requires pyotr and libotr.')), 
    102106                        _('RST Generator'): (self.docutils_available, 
    103107                                _('Generate XHTML output from RST code (see http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html).'), 
     
    309313                return gajim.HAVE_PYCRYPTO 
    310314 
     315        def otr_available(self): 
     316                if gajim.otr_module: 
     317                        return True 
     318                return False 
     319 
    311320        def docutils_available(self): 
    312321                try: