Mercurial > libervia-backend
comparison src/plugins/plugin_blog_import_dotclear.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 |
---|---|
30 import cgi | 30 import cgi |
31 import os.path | 31 import os.path |
32 | 32 |
33 | 33 |
34 PLUGIN_INFO = { | 34 PLUGIN_INFO = { |
35 "name": "Dotclear import", | 35 C.PI_NAME: "Dotclear import", |
36 "import_name": "IMPORT_DOTCLEAR", | 36 C.PI_IMPORT_NAME: "IMPORT_DOTCLEAR", |
37 "type": C.PLUG_TYPE_BLOG, | 37 C.PI_TYPE: C.PLUG_TYPE_BLOG, |
38 "dependencies": ["BLOG_IMPORT"], | 38 C.PI_DEPENDENCIES: ["BLOG_IMPORT"], |
39 "main": "DotclearImport", | 39 C.PI_MAIN: "DotclearImport", |
40 "handler": "no", | 40 C.PI_HANDLER: "no", |
41 "description": _("""Blog importer for Dotclear blog engine.""") | 41 C.PI_DESCRIPTION: _("""Blog importer for Dotclear blog engine.""") |
42 } | 42 } |
43 | 43 |
44 SHORT_DESC = D_(u"import posts from Dotclear blog engine") | 44 SHORT_DESC = D_(u"import posts from Dotclear blog engine") |
45 | 45 |
46 LONG_DESC = D_(u"""This importer handle Dotclear blog engine. | 46 LONG_DESC = D_(u"""This importer handle Dotclear blog engine. |