core (plugins): added missing contants + use of new constants in PLUGIN_INFO

This commit is contained in:
Goffi 2017-02-12 18:59:10 +01:00
commit ac7d587c49

View file

@ -25,12 +25,12 @@ from sat.tools import xml_tools
PLUGIN_INFO = {
"name": "Welcome",
"import_name": "WELCOME",
"type": C.PLUG_TYPE_MISC,
"main": "Welcome",
"handler": "no",
"description": _("""Plugin which manage welcome message and things to to on first connection.""")
C.PI_NAME: "Welcome",
C.PI_IMPORT_NAME: "WELCOME",
C.PI_TYPE: C.PLUG_TYPE_MISC,
C.PI_MAIN: "Welcome",
C.PI_HANDLER: "no",
C.PI_DESCRIPTION: _("""Plugin which manage welcome message and things to to on first connection.""")
}