Mercurial > libervia-backend
comparison src/plugins/plugin_misc_file.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 | a543eda2c923 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
29 import os.path | 29 import os.path |
30 import uuid | 30 import uuid |
31 | 31 |
32 | 32 |
33 PLUGIN_INFO = { | 33 PLUGIN_INFO = { |
34 "name": "File Tansfer", | 34 C.PI_NAME: "File Tansfer", |
35 "import_name": "FILE", | 35 C.PI_IMPORT_NAME: "FILE", |
36 "type": C.PLUG_TYPE_MISC, | 36 C.PI_TYPE: C.PLUG_TYPE_MISC, |
37 "main": "FilePlugin", | 37 C.PI_MAIN: "FilePlugin", |
38 "handler": "no", | 38 C.PI_HANDLER: "no", |
39 "description": _("""File Tansfer Management: | 39 C.PI_DESCRIPTION: _("""File Tansfer Management: |
40 This plugin manage the various ways of sending a file, and choose the best one.""") | 40 This plugin manage the various ways of sending a file, and choose the best one.""") |
41 } | 41 } |
42 | 42 |
43 | 43 |
44 SENDING = D_(u'Please select a file to send to {peer}') | 44 SENDING = D_(u'Please select a file to send to {peer}') |