Skip to content

Commit 6bdd39b

Browse files
committed
V2.7.1.5
1 parent 710934e commit 6bdd39b

2 files changed

Lines changed: 43 additions & 32 deletions

File tree

lang/en_ar/format_topcoll.php

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* A topic based format that solves the issue of the 'Scroll of Death' when a course has many topics. All topics
2121
* except zero have a toggle that displays that topic. One or more topics can be displayed at any given time.
2222
* Toggles are persistent on a per browser session per course basis but can be made to persist longer by a small
23-
* code change. Full installation instructions, code adaptions and credits are included in the 'Readme.txt' file.
23+
* code change. Full installation instructions, code adaptions and credits are included in the 'Readme.md' file.
2424
*
2525
* @package course/format
2626
* @subpackage topcoll
@@ -35,15 +35,15 @@
3535
// English Pirate Translation of Collapsed Topics Course Format.
3636

3737
// Used in format.php.
38-
$string['topcollsidewidth'] = '40px';
38+
$string['topcollsidewidth']='40px';
3939

4040
// These are 'topic' as they are only shown in 'topic' based structures.
4141
$string['markedthissection'] = 'Thy topic is illuminated as thee current topic';
4242
$string['markthissection'] = 'Illuminate thy topic as thee current topic';
4343

4444
// Toggle all - Moodle Tracker CONTRIB-3190.
45-
$string['topcollopened'] = 'Untie';
46-
$string['topcollclosed'] = 'Tie';
45+
$string['topcollopened']='Untie';
46+
$string['topcollclosed']='Tie';
4747

4848
// Layout enhancement - Moodle Tracker CONTRIB-3378.
4949
$string['formatsettings'] = 'Ye format settings'; // CONTRIB-3529.
@@ -62,11 +62,11 @@
6262
$string['setlayout_toggle_section_x'] = "'Treasure Chest x' / 'Sailing Week x' / 'Sailing Day x'"; // 8.
6363

6464
$string['setlayoutstructure'] = 'Set thee structure';
65-
$string['setlayoutstructuretopic'] = 'Treasure Chest';
66-
$string['setlayoutstructureweek'] = 'Sailing Week';
65+
$string['setlayoutstructuretopic']='Treasure Chest';
66+
$string['setlayoutstructureweek']='Sailing Week';
6767
$string['setlayoutstructureday'] = 'Sailing Day';
68-
$string['setlayoutstructurelatweekfirst'] = 'Current Sailing Week First';
69-
$string['setlayoutstructurecurrenttopicfirst'] = 'Current Treasure Chest First';
68+
$string['setlayoutstructurelatweekfirst']='Current Sailing Week First';
69+
$string['setlayoutstructurecurrenttopicfirst']='Current Treasure Chest First';
7070
$string['resetlayout'] = 'Thee layout'; // CONTRIB-3529.
7171
$string['resetalllayout'] = 'Thee layouts';
7272

@@ -94,14 +94,14 @@
9494
$string['maincoursepage'] = 'Ye main course page';
9595

9696
// Help.
97-
$string['setlayoutelements_help'] = 'How much information about thee toggles / sections you wish to be displayed.';
98-
$string['setlayoutstructure_help'] = "Avast ye landlubbers, this be thee layout structure of thee course. Ye choose between:
97+
$string['setlayoutelements_help']='How much information about thee toggles / sections you wish to be displayed.';
98+
$string['setlayoutstructure_help']="Avast ye landlubbers, this be thee layout structure of thee course. Ye choose between:
9999
100100
'Treasure Chest' - where each section is presented as thy treasure chest in section number order.
101101
102102
'Sailing Week' - where each section is presented as thy week in ascending week order.
103103
104-
'Current Sailing Week First' - which is the same as weeks but thee current week is shown at thee top and preceding weeks in decending order are displayed below except in editing mode where thee structure is thy same as 'Weeks'.
104+
'Current Sailing Week First' - which is the same as weeks but thee current week is shown at thee top and preceding weeks in descending order are displayed below except in editing mode where thee structure is thy same as 'Weeks'.
105105
106106
'Current Treasure Chest First' - which is thee same as 'Treasure Chest' except that thee current treasure chest is shown at thee top if it has been set.
107107
@@ -164,7 +164,7 @@
164164
$string['on'] = 'On';
165165
$string['defaultcoursedisplay'] = 'Course display default';
166166
$string['defaultcoursedisplay_desc'] = "Either show all thee sections on a single page or section zero and thee chosen section on page.";
167-
$string['defaultlayoutelement'] = 'Default layout configuration';
167+
$string['defaultlayoutelement'] = 'Layout configuration';
168168
// Negative view of layout, kept for previous versions until such time as they are updated.
169169
$string['defaultlayoutelement_desc'] = "Thee layout setting can be one of:
170170
@@ -200,7 +200,7 @@
200200
201201
Nay additions.";
202202

203-
$string['defaultlayoutstructure'] = 'Default structure configuration';
203+
$string['defaultlayoutstructure'] = 'Structure configuration';
204204
$string['defaultlayoutstructure_desc'] = "Thee structure setting can be one of:
205205
206206
Treasure Chest
@@ -213,22 +213,19 @@
213213
214214
Sailing Day";
215215

216-
$string['defaultlayoutcolumns'] = 'Default number of columns';
216+
$string['defaultlayoutcolumns'] = 'Number of columns';
217217
$string['defaultlayoutcolumns_desc'] = "Number of columns between one and four.";
218218

219-
$string['defaultlayoutcolumnorientation'] = 'Default column orientation';
219+
$string['defaultlayoutcolumnorientation'] = 'Column orientation';
220220
$string['defaultlayoutcolumnorientation_desc'] = "Thee default column orientation: Vertical or Horizontal.";
221221

222-
$string['defaulttgfgcolour'] = 'Default toggle foreground colour';
222+
$string['defaulttgfgcolour'] = 'Toggle foreground colour';
223223
$string['defaulttgfgcolour_desc'] = "Toggle foreground colour in hexidecimal RGB.";
224224

225-
$string['defaulttgfghvrcolour'] = 'Default toggle foreground hover colour';
226-
$string['defaulttgfghvrcolour_desc'] = "Toggle foreground hover colour in hexidecimal RGB.";
227-
228-
$string['defaulttgbgcolour'] = 'Default toggle background colour';
225+
$string['defaulttgbgcolour'] = 'Toggle background colour';
229226
$string['defaulttgbgcolour_desc'] = "Toggle background colour in hexidecimal RGB.";
230227

231-
$string['defaulttgbghvrcolour'] = 'Default toggle background hover colour';
228+
$string['defaulttgbghvrcolour'] = 'Toggle background hover colour';
232229
$string['defaulttgbghvrcolour_desc'] = "Toggle background hover colour in hexidecimal RGB.";
233230

234231
$string['defaulttogglepersistence'] = 'Toggle persistence';
@@ -238,10 +235,10 @@
238235
of the 'user_preferences' table in the database. Where thee 'x' in 'topcoll_toggle_x' will be
239236
a course id.";
240237

241-
$string['defaulttogglealignment'] = 'Default toggle text alignment';
238+
$string['defaulttogglealignment'] = 'Toggle text alignment';
242239
$string['defaulttogglealignment_desc'] = "'Left', 'Centre' or 'Right'.";
243240

244-
$string['defaulttoggleiconset'] = 'Default toggle icon set';
241+
$string['defaulttoggleiconset'] = 'Toggle icon set';
245242
$string['defaulttoggleiconset_desc'] = "'Straight as an arrow' => Arrow icon set.
246243
247244
'Lantern' => Bulb icon set.
@@ -266,7 +263,7 @@
266263
267264
'Switch thy flag' => Switch icon set.";
268265

269-
$string['defaulttoggleallhover'] = 'Default toggle all icon hovers';
266+
$string['defaulttoggleallhover'] = 'Toggle all icon hovers';
270267
$string['defaulttoggleallhover_desc'] = "'Nay' or 'Aye'.";
271268

272269
// Default sailor preference.
@@ -289,3 +286,20 @@
289286
$string['resetalldisplayinstructions'] = 'Display orders';
290287
$string['resetdisplayinstructions_help'] = 'Resets thy display orders to thee default value so it will be thy same as a course thee first time it is in thy Collapsed Topics format.';
291288
$string['resetalldisplayinstructions_help'] = 'Resets thy display orders to thee default value for all courses so it will be thee same as a course thee first time it is in thy Collapsed Topics format.';
289+
290+
// Toggle icon size.
291+
$string['defaulttoggleiconsize'] = 'Toggle icon size';
292+
$string['defaulttoggleiconsize_desc'] = "Icon size: Cutter = 16px, Brig = 24px and Barque = 32px.";
293+
$string['small'] = 'Cutter';
294+
$string['medium'] = 'Brig';
295+
$string['large'] = 'Barque';
296+
297+
// Toggle border radius.
298+
$string['defaulttoggleborderradiustl'] = 'Toggle top left border radius';
299+
$string['defaulttoggleborderradiustl_desc'] = 'Border top left radius of thy toggle.';
300+
$string['defaulttoggleborderradiustr'] = 'Toggle top right border radius';
301+
$string['defaulttoggleborderradiustr_desc'] = 'Border top right radius of thy toggle.';
302+
$string['defaulttoggleborderradiusbr'] = 'Toggle bottom right border radius';
303+
$string['defaulttoggleborderradiusbr_desc'] = 'Border bottom right radius of thy toggle.';
304+
$string['defaulttoggleborderradiusbl'] = 'Toggle bottom left border radius';
305+
$string['defaulttoggleborderradiusbl_desc'] = 'Border bottom left radius of thy toggle.';

lang/en_us/format_topcoll.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* A topic based format that solves the issue of the 'Scroll of Death' when a course has many topics. All topics
2121
* except zero have a toggle that displays that topic. One or more topics can be displayed at any given time.
2222
* Toggles are persistent on a per browser session per course basis but can be made to persist longer by a small
23-
* code change. Full installation instructions, code adaptions and credits are included in the 'Readme.txt' file.
23+
* code change. Full installation instructions, code adaptions and credits are included in the 'Readme.md' file.
2424
*
2525
* @package course/format
2626
* @subpackage topcoll
@@ -35,7 +35,7 @@
3535
// English American Translation of Collapsed Topics Course Format.
3636

3737
// Used in format.php.
38-
$string['topcollsidewidth'] = '28px';
38+
$string['topcollsidewidth']='28px';
3939

4040
// Colour enhancement - Moodle Tracker CONTRIB-3529.
4141
$string['setcolour'] = 'Set color';
@@ -56,16 +56,13 @@
5656
$string['center'] = 'Center';
5757

5858
// Site Administration -> Plugins -> Course formats -> Collapsed Topics or Manage course formats - Settings.
59-
$string['defaulttgfgcolour'] = 'Default toggle foreground color';
59+
$string['defaulttgfgcolour'] = 'Toggle foreground color';
6060
$string['defaulttgfgcolour_desc'] = "Toggle foreground color in hexidecimal RGB.";
6161

62-
$string['defaulttgfghvrcolour'] = 'Default toggle foreground hover color';
63-
$string['defaulttgfghvrcolour_desc'] = "Toggle foreground hover color in hexidecimal RGB.";
64-
65-
$string['defaulttgbgcolour'] = 'Default toggle background color';
62+
$string['defaulttgbgcolour'] = 'Toggle background color';
6663
$string['defaulttgbgcolour_desc'] = "Toggle background color in hexidecimal RGB.";
6764

68-
$string['defaulttgbghvrcolour'] = 'Default toggle background hover color';
65+
$string['defaulttgbghvrcolour'] = 'Toggle background hover color';
6966
$string['defaulttgbghvrcolour_desc'] = "Toggle background hover color in hexidecimal RGB.";
7067

7168
// Capabilities.

0 commit comments

Comments
 (0)