comparison src/plugins/plugin_sec_otr.py @ 2145:33c8c4973743

core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 18:59:10 +0100
parents 1d3f73e065e1
children 8b37a62336c3
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
35 import time 35 import time
36 import uuid 36 import uuid
37 37
38 38
39 PLUGIN_INFO = { 39 PLUGIN_INFO = {
40 "name": u"OTR", 40 C.PI_NAME: u"OTR",
41 "import_name": u"OTR", 41 C.PI_IMPORT_NAME: u"OTR",
42 "type": u"SEC", 42 C.PI_TYPE: u"SEC",
43 "protocols": [u"XEP-0364"], 43 C.PI_PROTOCOLS: [u"XEP-0364"],
44 "dependencies": [u"XEP-0280", u"XEP-0334"], 44 C.PI_DEPENDENCIES: [u"XEP-0280", u"XEP-0334"],
45 "main": u"OTR", 45 C.PI_MAIN: u"OTR",
46 "handler": u"no", 46 C.PI_HANDLER: u"no",
47 "description": _(u"""Implementation of OTR""") 47 C.PI_DESCRIPTION: _(u"""Implementation of OTR""")
48 } 48 }
49 49
50 NS_OTR = "otr_plugin" 50 NS_OTR = "otr_plugin"
51 PRIVATE_KEY = "PRIVATE KEY" 51 PRIVATE_KEY = "PRIVATE KEY"
52 OTR_MENU = D_(u'OTR') 52 OTR_MENU = D_(u'OTR')