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
72 changed files with 586 additions and 560 deletions

View file

@ -42,14 +42,14 @@ except ImportError:
PLUGIN_INFO = {
"name": "IP discovery",
"import_name": "IP",
"type": C.PLUG_TYPE_MISC,
"protocols": ["XEP-0279"],
"recommendations": ["NAT-PORT"],
"main": "IPPlugin",
"handler": "yes",
"description": _("""This plugin help to discover our external IP address.""")
C.PI_NAME: "IP discovery",
C.PI_IMPORT_NAME: "IP",
C.PI_TYPE: C.PLUG_TYPE_MISC,
C.PI_PROTOCOLS: ["XEP-0279"],
C.PI_RECOMMENDATIONS: ["NAT-PORT"],
C.PI_MAIN: "IPPlugin",
C.PI_HANDLER: "yes",
C.PI_DESCRIPTION: _("""This plugin help to discover our external IP address.""")
}
# TODO: GET_IP_PAGE should be configurable in sat.conf