MDL-56532 tool_usertours: Improve help for step editing
[moodle.git] / admin / tool / usertours / lang / en / tool_usertours.php
CommitLineData
001fc061
AN
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * Strings for tool_usertours.
19 *
20 * @package tool_usertours
21 * @copyright 2016 Andrew Nicols <andrew@nicols.co.uk>
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23 */
24
c6698a4f 25$string['above'] = 'Above';
001fc061
AN
26$string['actions'] = 'Actions';
27$string['appliesto'] = 'Applies to';
c6698a4f 28$string['below'] = 'Below';
001fc061
AN
29$string['block'] = 'Block';
30$string['block_named'] = 'Block named \'{$a}\'';
001fc061
AN
31$string['description'] = 'Description';
32$string['confirmstepremovalquestion'] = 'Are you sure that you wish to remove this step?';
33$string['confirmstepremovaltitle'] = 'Confirm step removal';
34$string['confirmtourremovalquestion'] = 'Are you sure that you wish to remove this tour?';
35$string['confirmtourremovaltitle'] = 'Confirm tour removal';
36$string['content'] = 'Content';
c6698a4f 37$string['content_heading'] = 'Content';
001fc061
AN
38$string['content_help'] = 'This is the content of the step.
39You can enter a content in the following formats:
40<dl>
41 <dt>Plain text</dt>
42 <dd>A plain text description</dd>
43 <dt>Moodle MultiLang</dt>
44 <dd>A string which makes use of the Moodle MultiLang format</dd>
45 <dt>Moodle Translated string</dt>
46 <dd>A value found in a standard Moodle language file in the format identifier,component</dd>
47</dl>';
48$string['cssselector'] = 'CSS Selector';
49$string['defaultvalue'] = 'Default ({$a})';
50$string['delay'] = 'Delay before showing the step';
51$string['done'] = 'Done';
52$string['editstep'] = 'Editing "{$a}"';
c6698a4f 53$string['tourisenabled'] = 'Tour is enabled';
001fc061
AN
54$string['enabled'] = 'Enabled';
55$string['event_tour_started'] = 'Tour started';
56$string['event_tour_reset'] = 'Tour reset';
57$string['event_tour_ended'] = 'Tour ended';
58$string['event_step_shown'] = 'Step shown';
59$string['exporttour'] = 'Export tour';
60$string['filter_header'] = 'Tour filters';
61$string['filter_help'] = 'Your can choose which conditions your tour will be shown under.
62All of the filters must match for a tour to be shown to that user.';
63$string['filter_theme'] = 'Theme';
64$string['filter_theme_help'] = 'Show the tour when the user is using one of the selected themes.';
65$string['filter_role'] = 'Role';
66$string['filter_role_help'] = 'Only show the tour to users with one of the specified roles.';
67$string['importtour'] = 'Import tour';
68$string['left'] = 'Left';
69$string['movestepdown'] = 'Move step down';
70$string['movestepup'] = 'Move step up';
71$string['movetourdown'] = 'Move tour down';
72$string['movetourup'] = 'Move tour up';
73$string['name'] = 'Name';
74$string['newstep'] = 'Create step';
75$string['newstep'] = 'New step';
76$string['newtour'] = 'Create a new tour';
77$string['next'] = 'Next';
c6698a4f 78$string['options_heading'] = 'Options';
001fc061
AN
79$string['pathmatch'] = 'Apply to URL match';
80$string['pathmatch_help'] = 'Tours will be displayed on any page whose URL matches this value.
81
82You can use the % character as a wildcard to mean anything.
83Some example values include:
84
85* /my/% - to match the Dashboard
86* /course/view.php?id=2 - to match a specific course
87* /mod/forum/view.php% - to match the forum discussion list
88* /user/profile.php% - to match the user profile page';
89$string['placement'] = 'Placement';
90$string['pluginname'] = 'User Tours';
91$string['resettouronpage'] = 'Reset user tour on this page';
92$string['right'] = 'Right';
93$string['select_block'] = 'Select a block';
c6698a4f 94$string['targettype_help'] = 'Every step is associated with a part of the page which you must choose. To make this easier there are several types of target for different types of page content.
001fc061
AN
95<dl>
96 <dt>Block</dt>
c6698a4f 97 <dd>Display the step next to the first matching block of the type on the page.</dd>
001fc061
AN
98 <dt>Selector</dt>
99 <dd>CSS Selectors are a powerful way which allow you to select different parts of the page based on metadata built into the page.</dd>
100 <dt>Display in middle of the page</dt>
101 <dd>Instead of associating the step with a specific part of the page you can have it displayed in the middle of the page.</dd>
102</dl>';
103$string['selector_defaulttitle'] = 'Enter a descriptive title';
104$string['selectordisplayname'] = 'A CSS selector matching \'{$a}\'';
105$string['skip'] = 'Skip';
106$string['target'] = 'Target';
c6698a4f 107$string['target_heading'] = 'Step Target';
001fc061
AN
108$string['target_block'] = 'Block';
109$string['target_selector'] = 'Selector';
110$string['target_unattached'] = 'Display in middle of page';
111$string['targettype'] = 'Target type';
112$string['title'] = 'Title';
113$string['title_help'] = 'This is the title shown at the top of the step.
114You can enter a title in the following formats:
115<dl>
116 <dt>Plain text</dt>
117 <dd>A plain text description</dd>
118 <dt>Moodle MultiLang</dt>
119 <dd>A string which makes use of the Moodle MultiLang format</dd>
120 <dt>Moodle Translated string</dt>
121 <dd>A value found in a standard Moodle language file in the format identifier,component</dd>
122</dl>';
001fc061
AN
123$string['tourconfig'] = 'Tour configuration file to import';
124$string['tourlist_explanation'] = 'You can create as many tours as you like and enable them for different parts of Moodle. Only one tour can be created per page.';
125$string['tours'] = 'Tours';
126$string['pausetour'] = 'Pause';
127$string['resumetour'] = 'Resume';
128$string['endtour'] = 'End tour';
129$string['orphan'] = 'Show if target not found';
130$string['orphan_help'] = 'Show the step if the target could not be found on the page.';
131$string['backdrop'] = 'Show with backdrop';
132$string['backdrop_help'] = 'You can use a backdrop to highlight the part of the page that you are pointing to.
133
134Note: Backdrops are not compatible with some parts of the page such as the navigation bar.
135';
c6698a4f
AN
136$string['reflex'] = 'Proceed on click';
137$string['reflex_help'] = 'Proceed to the next step when the target is clicked on.';
001fc061
AN
138$string['placement_help'] = 'You can place a step either above, below, to the left of, or to the right of the target.
139
c6698a4f
AN
140The best options are above, or below as these adjust better for mobile display.
141
142If the step does not fit into the page at at the placement you choose, it will be automatically be moved to give the best viewing experience. ';
001fc061
AN
143$string['delay_help'] = 'You can optionally choose to add a delay before the step is displayed.
144
145This delay is in milliseconds.';
146$string['selecttype'] = 'Select step type';
147$string['sharedtourslink'] = 'Tour repository';
148$string['usertours'] = 'User tours';
149$string['usertours:managetours'] = 'Create, edit, and remove user tours';
150$string['target_selector_targetvalue'] = 'CSS Selectors';
151$string['target_selector_targetvalue_help'] = 'You can use a "CSS Selector" to target almost any element on the page.
152
153CSS Selectors are very powerful and you can easily find parts of the page by building up the selector gradually.
154
155Mozilla provide some [very good
156documentation](https://developer.mozilla.org/en/docs/Web/Guide/CSS/Getting_started/Selectors)
157for selectors which may help you to build your selectors.
158
159You will also find your browser\'s developer tools to be extremely useful in creating these selectors:
160
161* [Google Chrome](https://developer.chrome.com/devtools#dom-and-styles)
162* [Mozilla Firefox](https://developer.mozilla.org/en-US/docs/Tools/DOM_Property_Viewer)
163* [Microsoft Edge](https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/f12-devtools-guide/)
164* [Apple Safari](https://developer.apple.com/library/iad/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/ResourcesandtheDOM/ResourcesandtheDOM.html#//apple_ref/doc/uid/TP40007874-CH3-SW1)
165';
166$string['viewtour_info'] = 'This is the \'{$a->tourname}\' tour. It applies to the path \'{$a->path}\'.';
167$string['viewtour_edit'] = 'You can <a href="{$a->editlink}">edit the tour defaults</a> and <a href="{$a->resetlink}">force the tour to be displayed</a> to all users again.';
168$string['tour_resetforall'] = 'The state of the tour has been reset. It will be displayed to all users again.';