comparison src/plugins/plugin_xep_0050.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 918e38622a48
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
57 ('dnd', _('Do not disturb')), 57 ('dnd', _('Do not disturb')),
58 ('xa', _('Left')), 58 ('xa', _('Left')),
59 ('disconnect', _('Disconnect'))]) 59 ('disconnect', _('Disconnect'))])
60 60
61 PLUGIN_INFO = { 61 PLUGIN_INFO = {
62 "name": "Ad-Hoc Commands", 62 C.PI_NAME: "Ad-Hoc Commands",
63 "import_name": "XEP-0050", 63 C.PI_IMPORT_NAME: "XEP-0050",
64 "type": "XEP", 64 C.PI_TYPE: "XEP",
65 "protocols": ["XEP-0050"], 65 C.PI_PROTOCOLS: ["XEP-0050"],
66 "main": "XEP_0050", 66 C.PI_MAIN: "XEP_0050",
67 "handler": "yes", 67 C.PI_HANDLER: "yes",
68 "description": _("""Implementation of Ad-Hoc Commands""") 68 C.PI_DESCRIPTION: _("""Implementation of Ad-Hoc Commands""")
69 } 69 }
70 70
71 71
72 class AdHocError(Exception): 72 class AdHocError(Exception):
73 73