comparison src/plugins/plugin_xep_0077.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 2daf7b4c6756
children 545a1261ac3b
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
29 from wokkel import data_form, compat 29 from wokkel import data_form, compat
30 30
31 NS_REG = 'jabber:iq:register' 31 NS_REG = 'jabber:iq:register'
32 32
33 PLUGIN_INFO = { 33 PLUGIN_INFO = {
34 "name": "XEP 0077 Plugin", 34 C.PI_NAME: "XEP 0077 Plugin",
35 "import_name": "XEP-0077", 35 C.PI_IMPORT_NAME: "XEP-0077",
36 "type": "XEP", 36 C.PI_TYPE: "XEP",
37 "protocols": ["XEP-0077"], 37 C.PI_PROTOCOLS: ["XEP-0077"],
38 "dependencies": [], 38 C.PI_DEPENDENCIES: [],
39 "main": "XEP_0077", 39 C.PI_MAIN: "XEP_0077",
40 "description": _("""Implementation of in-band registration""") 40 C.PI_DESCRIPTION: _("""Implementation of in-band registration""")
41 } 41 }
42 42
43 43
44 class XEP_0077(object): 44 class XEP_0077(object):
45 45