Mercurial > libervia-backend
comparison src/plugins/plugin_syntax_wiki_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 |
---|---|
28 from sat.tools import xml_tools | 28 from sat.tools import xml_tools |
29 import copy | 29 import copy |
30 import re | 30 import re |
31 | 31 |
32 PLUGIN_INFO = { | 32 PLUGIN_INFO = { |
33 "name": "Dotclear Wiki Syntax Plugin", | 33 C.PI_NAME: "Dotclear Wiki Syntax Plugin", |
34 "import_name": "SYNT_DC_WIKI", | 34 C.PI_IMPORT_NAME: "SYNT_DC_WIKI", |
35 "type": C.PLUG_TYPE_SYNTAXE, | 35 C.PI_TYPE: C.PLUG_TYPE_SYNTAXE, |
36 "dependencies": ["TEXT-SYNTAXES"], | 36 C.PI_DEPENDENCIES: ["TEXT-SYNTAXES"], |
37 "main": "DCWikiSyntax", | 37 C.PI_MAIN: "DCWikiSyntax", |
38 "handler": "", | 38 C.PI_HANDLER: "", |
39 "description": _("""Implementation of Dotclear wiki syntax""") | 39 C.PI_DESCRIPTION: _("""Implementation of Dotclear wiki syntax""") |
40 } | 40 } |
41 | 41 |
42 NOTE_TPL = u'[{}]' # Note template | 42 NOTE_TPL = u'[{}]' # Note template |
43 NOTE_A_REV_TPL = u'rev_note_{}' | 43 NOTE_A_REV_TPL = u'rev_note_{}' |
44 NOTE_A_TPL = u'note_{}' | 44 NOTE_A_TPL = u'note_{}' |