... |
... |
@@ -9,67 +9,67 @@ |
9 |
9 |
#end |
10 |
10 |
#set ($browseMacrosURL = $xwiki.getURL('XWiki.XWikiPreferences', 'admin', "section=${section}&search=macro&repo=")) |
11 |
11 |
#else |
12 |
|
- #set ($browseMacrosURL = 'https://extensions.xwiki.org/xwiki/bin/view/Extension/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro') |
|
12 |
+ #set ($browseMacrosURL = 'http://extensions.xwiki.org/xwiki/bin/view/Extension/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro') |
13 |
13 |
#end |
14 |
14 |
|
15 |
15 |
#set ($actionCards = [{ |
16 |
|
- 'title': $services.localization.render('help.macros.useMacros.title'), |
17 |
|
- 'description': $services.localization.render('help.macros.useMacros.description'), |
18 |
|
- 'tip':$services.localization.render('help.macros.useMacros.tip', ["<a href='https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration' class='wikiexternallink'>",'</a>', $services.icon.renderHTML('cog')]), |
|
16 |
+ 'title': 'Use Macros', |
|
17 |
+ 'description': 'Macros are reusable pieces of functionality that can be integrated inside pages.', |
|
18 |
+ 'tip': "The <a href=""http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration"" class=""wikiexternallink"">WYSIWYG Editor</a> allows you to insert macros and to customize their parameters when editing pages. Look for the $services.icon.renderHTML('cog') button on the tool bar.", |
19 |
19 |
'thumbnail': 'Macro', |
20 |
20 |
'actions': [{ |
21 |
|
- 'label': $services.localization.render('help.try.label'), |
|
21 |
+ 'label': 'Try it!', |
22 |
22 |
'type': 'success', |
23 |
23 |
'url': $xwiki.getURL('Sandbox.TestPage1', 'edit', 'editor=wysiwyg') |
24 |
24 |
}] |
25 |
25 |
}, { |
26 |
|
- 'title': $services.localization.render('help.macros.browseMacros.title'), |
27 |
|
- 'description': $services.localization.render('help.macros.browseMacros.description'), |
28 |
|
- 'tip': $services.localization.render('help.macros.browseMacros.tip', ["<a href='#if($xwiki.exists('XWiki.XWikiSyntaxMacrosList'))$xwiki.getURL('XWiki.XWikiSyntaxMacrosList')#{else}$xwiki.getURL('XWiki.WikiMacros')#end'>",'</a>']), |
|
26 |
+ 'title': 'Browse Macros', |
|
27 |
+ 'description': 'Choose from community contributed macros and install them inside your wiki.', |
|
28 |
+ 'tip': "The <a href=""#if($xwiki.exists('XWiki.XWikiSyntaxMacrosList'))$xwiki.getURL('XWiki.XWikiSyntaxMacrosList')#{else}$xwiki.getURL('XWiki.WikiMacros')#end"">Macro Index</a> lists the macros that are already installed and ready to be used inside your pages.", |
29 |
29 |
'thumbnail': 'EM', |
30 |
30 |
'actions': [{ |
31 |
|
- 'label': $services.localization.render('help.browse.label'), |
|
31 |
+ 'label': 'Browse', |
32 |
32 |
'url': $browseMacrosURL |
33 |
33 |
}, { |
34 |
|
- 'label': $services.localization.render('help.more.label'), |
35 |
|
- 'url': 'https://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial' |
|
34 |
+ 'label': 'Learn more', |
|
35 |
+ 'url': 'http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial' |
36 |
36 |
}] |
37 |
37 |
}]) |
38 |
38 |
|
39 |
39 |
#set ($exampleCards = [{ |
40 |
|
- 'title': $services.localization.render('help.macros.box.title'), |
41 |
|
- 'description': $services.localization.render('help.macros.box.description'), |
42 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro', |
|
40 |
+ 'title': 'Box', |
|
41 |
+ 'description': 'Displays a message in a styled box.', |
|
42 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro', |
43 |
43 |
'examples': 'Help.Macros.Box.WebHome', |
44 |
44 |
'thumbnail': 'Help.Macros.Box.WebHome@box.png' |
45 |
45 |
}, { |
46 |
|
- 'title': $services.localization.render('help.macros.toc.title'), |
47 |
|
- 'description': $services.localization.render('help.macros.toc.description'), |
48 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro', |
|
46 |
+ 'title': 'Table of Contents', |
|
47 |
+ 'description': 'Generates a table of contents for the page headings.', |
|
48 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro', |
49 |
49 |
'examples': 'Help.Macros.ToC.WebHome', |
50 |
50 |
'thumbnail': 'Help.Macros.ToC.WebHome@toc.png' |
51 |
51 |
}, { |
52 |
|
- 'title': $services.localization.render('help.macros.gallery.title'), |
53 |
|
- 'description': $services.localization.render('help.macros.gallery.description'), |
54 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Gallery+Macro', |
|
52 |
+ 'title': 'Gallery', |
|
53 |
+ 'description': 'Displays a list of images in a slide-show gallery.', |
|
54 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Gallery+Macro', |
55 |
55 |
'examples': 'Help.Macros.Gallery.WebHome', |
56 |
56 |
'thumbnail': 'Help.Macros.Gallery.WebHome@gallery.png' |
57 |
57 |
}, { |
58 |
|
- 'title': $services.localization.render('help.macros.chart.title') , |
59 |
|
- 'description': $services.localization.render('help.macros.chart.description'), |
60 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro', |
|
58 |
+ 'title': 'Chart', |
|
59 |
+ 'description': 'Generates graphical charts from data sources.', |
|
60 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro', |
61 |
61 |
'examples': 'Help.Macros.Chart.WebHome', |
62 |
62 |
'thumbnail': 'Help.Macros.Chart.WebHome@chart.png' |
63 |
63 |
}, { |
64 |
|
- 'title': $services.localization.render('help.macros.tree.title') , |
65 |
|
- 'description': $services.localization.render('help.macros.tree.description'), |
66 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro', |
|
64 |
+ 'title': 'Page Tree', |
|
65 |
+ 'description': 'Displays the hierarchy of pages.', |
|
66 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro', |
67 |
67 |
'examples': 'Help.Macros.Tree.WebHome', |
68 |
68 |
'thumbnail': 'Help.Macros.Tree.WebHome@tree.png' |
69 |
69 |
}, { |
70 |
|
- 'title': $services.localization.render('help.macros.notifications.title') , |
71 |
|
- 'description': $services.localization.render('help.macros.notifications.description'), |
72 |
|
- 'documentation': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/#HNotificationsMacro', |
|
70 |
+ 'title': 'Notifications', |
|
71 |
+ 'description': 'Displays recent activities done on pages by the users.', |
|
72 |
+ 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/#HNotificationsMacro', |
73 |
73 |
'examples': 'Help.Macros.Notifications.WebHome', |
74 |
74 |
'thumbnail': 'Help.Macros.Notifications.WebHome@notifications.png' |
75 |
75 |
}]) |
... |
... |
@@ -104,6 +104,6 @@ |
104 |
104 |
</div> |
105 |
105 |
#end |
106 |
106 |
</div> |
107 |
|
-<p><a href="https://extensions.xwiki.org/xwiki/bin/view/Main/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro" class="wikiexternallink">$services.localization.render('help.macros.more')</a></p> |
|
107 |
+<p><a href="http://extensions.xwiki.org/xwiki/bin/view/Main/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro" class="wikiexternallink">View more macros</a></p> |
108 |
108 |
{{/html}} |
109 |
109 |
{{/velocity}} |