Mercurial > libervia-backend
comparison src/plugins/plugin_misc_welcome.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 |
---|---|
23 log = getLogger(__name__) | 23 log = getLogger(__name__) |
24 from sat.tools import xml_tools | 24 from sat.tools import xml_tools |
25 | 25 |
26 | 26 |
27 PLUGIN_INFO = { | 27 PLUGIN_INFO = { |
28 "name": "Welcome", | 28 C.PI_NAME: "Welcome", |
29 "import_name": "WELCOME", | 29 C.PI_IMPORT_NAME: "WELCOME", |
30 "type": C.PLUG_TYPE_MISC, | 30 C.PI_TYPE: C.PLUG_TYPE_MISC, |
31 "main": "Welcome", | 31 C.PI_MAIN: "Welcome", |
32 "handler": "no", | 32 C.PI_HANDLER: "no", |
33 "description": _("""Plugin which manage welcome message and things to to on first connection.""") | 33 C.PI_DESCRIPTION: _("""Plugin which manage welcome message and things to to on first connection.""") |
34 } | 34 } |
35 | 35 |
36 | 36 |
37 WELCOME_PARAM_CATEGORY = "General" | 37 WELCOME_PARAM_CATEGORY = "General" |
38 WELCOME_PARAM_NAME = "welcome" | 38 WELCOME_PARAM_NAME = "welcome" |