diff options
author | Daniel <mailtrash@posteo.de> | 2018-04-11 15:55:42 +0300 |
---|---|---|
committer | Daniel <mailtrash@posteo.de> | 2018-04-13 00:33:32 +0300 |
commit | 550d17ce1cf5bf693c882d6c607f4e0d9db59b13 (patch) | |
tree | 4dea0ff97c24d36141d37536b4e292b5d885a04d /pgp | |
parent | 492d81a26d65e413bdaff7226dfa1357e8c64fa3 (diff) |
[PGP] Add warning for PGP4Win, fix icon
Diffstat (limited to 'pgp')
-rw-r--r-- | pgp/pgp.png (renamed from pgp/PGP.png) | bin | 17926 -> 17926 bytes | |||
-rw-r--r-- | pgp/pgpplugin.py | 6 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pgp/PGP.png b/pgp/pgp.png Binary files differindex 27a1b58..27a1b58 100644 --- a/pgp/PGP.png +++ b/pgp/pgp.png diff --git a/pgp/pgpplugin.py b/pgp/pgpplugin.py index cccf0e7..bf3b663 100644 --- a/pgp/pgpplugin.py +++ b/pgp/pgpplugin.py @@ -37,7 +37,10 @@ log = logging.getLogger('gajim.plugin_system.oldpgp') ERROR_MSG = '' if not app.HAVE_GPG: - ERROR_MSG = 'Please install python-gnupg' + if os.name == 'nt': + ERROR_MSG = _('Please install GnuPG / Gpg4win') + else: + ERROR_MSG = _('Please install python-gnupg and PGP') ALLOWED_TAGS = [('request', nbxmpp.NS_RECEIPTS), ('active', nbxmpp.NS_CHATSTATES), @@ -57,6 +60,7 @@ ALLOWED_TAGS = [('request', nbxmpp.NS_RECEIPTS), class OldPGPPlugin(GajimPlugin): def init(self): + self.description = _('PGP encryption as per XEP-0027') if ERROR_MSG: self.activatable = False self.available_text = ERROR_MSG |