Mercurial > libervia-backend
comparison src/plugins/plugin_misc_room_game.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 |
---|---|
35 | 35 |
36 # Don't forget to set it to False before you commit | 36 # Don't forget to set it to False before you commit |
37 _DEBUG = False | 37 _DEBUG = False |
38 | 38 |
39 PLUGIN_INFO = { | 39 PLUGIN_INFO = { |
40 "name": "Room game", | 40 C.PI_NAME: "Room game", |
41 "import_name": "ROOM-GAME", | 41 C.PI_IMPORT_NAME: "ROOM-GAME", |
42 "type": "MISC", | 42 C.PI_TYPE: "MISC", |
43 "protocols": [], | 43 C.PI_PROTOCOLS: [], |
44 "dependencies": ["XEP-0045", "XEP-0249"], | 44 C.PI_DEPENDENCIES: ["XEP-0045", "XEP-0249"], |
45 "main": "RoomGame", | 45 C.PI_MAIN: "RoomGame", |
46 "handler": "no", # handler MUST be "no" (dynamic inheritance) | 46 C.PI_HANDLER: "no", # handler MUST be "no" (dynamic inheritance) |
47 "description": _("""Base class for MUC games""") | 47 C.PI_DESCRIPTION: _("""Base class for MUC games""") |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 # FIXME: this plugin is broken, need to be fixed | 51 # FIXME: this plugin is broken, need to be fixed |
52 | 52 |