From 6c5251ae179f96e559e60bccf7ac3bdbcc2c3af7 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 27 Dec 2016 21:25:33 +0100 Subject: [PATCH] Unmark example code that should not be translated --- wiki/plugins/macros/mdx/macro.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/plugins/macros/mdx/macro.py b/wiki/plugins/macros/mdx/macro.py index 9912088e..ece87953 100644 --- a/wiki/plugins/macros/mdx/macro.py +++ b/wiki/plugins/macros/mdx/macro.py @@ -83,7 +83,7 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor): article_list.meta = dict( short_description=_('Article list'), help_text=_('Insert a list of articles in this level.'), - example_code=_('[article_list depth:2]'), + example_code='[article_list depth:2]', args={'depth': _('Maximum depth to show levels for.')} ) @@ -92,7 +92,7 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor): toc.meta = dict( short_description=_('Table of contents'), help_text=_('Insert a table of contents matching the headings.'), - example_code=_('[TOC]'), + example_code='[TOC]', args={} ) @@ -102,5 +102,5 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor): short_description=_('WikiLinks'), help_text=_( 'Insert a link to another wiki page with a short notation.'), - example_code=_('[[WikiLink]]'), + example_code='[[WikiLink]]', args={}) -- 2.45.2