diff 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
line wrap: on
line diff
--- a/src/plugins/plugin_syntax_wiki_dotclear.py	Sun Feb 12 17:55:43 2017 +0100
+++ b/src/plugins/plugin_syntax_wiki_dotclear.py	Sun Feb 12 18:59:10 2017 +0100
@@ -30,13 +30,13 @@
 import re
 
 PLUGIN_INFO = {
-    "name": "Dotclear Wiki Syntax Plugin",
-    "import_name": "SYNT_DC_WIKI",
-    "type": C.PLUG_TYPE_SYNTAXE,
-    "dependencies": ["TEXT-SYNTAXES"],
-    "main": "DCWikiSyntax",
-    "handler": "",
-    "description": _("""Implementation of Dotclear wiki syntax""")
+    C.PI_NAME: "Dotclear Wiki Syntax Plugin",
+    C.PI_IMPORT_NAME: "SYNT_DC_WIKI",
+    C.PI_TYPE: C.PLUG_TYPE_SYNTAXE,
+    C.PI_DEPENDENCIES: ["TEXT-SYNTAXES"],
+    C.PI_MAIN: "DCWikiSyntax",
+    C.PI_HANDLER: "",
+    C.PI_DESCRIPTION: _("""Implementation of Dotclear wiki syntax""")
 }
 
 NOTE_TPL = u'[{}]' # Note template