comparison src/plugins/plugin_exp_pipe.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 2daf7b4c6756
children 8b37a62336c3
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
28 28
29 NS_PIPE = 'http://salut-a-toi.org/protocol/pipe' 29 NS_PIPE = 'http://salut-a-toi.org/protocol/pipe'
30 SECURITY_LIMIT=30 30 SECURITY_LIMIT=30
31 31
32 PLUGIN_INFO = { 32 PLUGIN_INFO = {
33 "name": "Pipe Plugin", 33 C.PI_NAME: "Pipe Plugin",
34 "import_name": "EXP-PIPE", 34 C.PI_IMPORT_NAME: "EXP-PIPE",
35 "type": "EXP", 35 C.PI_TYPE: "EXP",
36 "protocols": ["EXP-PIPE"], 36 C.PI_PROTOCOLS: ["EXP-PIPE"],
37 "dependencies": ["XEP-0166"], 37 C.PI_DEPENDENCIES: ["XEP-0166"],
38 "main": "Exp_Pipe", 38 C.PI_MAIN: "Exp_Pipe",
39 "handler": "no", 39 C.PI_HANDLER: "no",
40 "description": _("""Jingle Pipe Transfer experimental plugin""") 40 C.PI_DESCRIPTION: _("""Jingle Pipe Transfer experimental plugin""")
41 } 41 }
42 42
43 CONFIRM = D_(u"{peer} wants to send you a pipe stream, do you accept ?") 43 CONFIRM = D_(u"{peer} wants to send you a pipe stream, do you accept ?")
44 CONFIRM_TITLE = D_(u"Pipe stream") 44 CONFIRM_TITLE = D_(u"Pipe stream")
45 45