Skip to content

Commit 8edcebd

Browse files
committed
Add new help strings
1 parent 5a940c3 commit 8edcebd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

lang/en/format_buttons.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
$string['bgcolor_help'] = 'Specify the button color. Example: #920020';
3232
$string['bgcolor_selected'] = 'Selected button color';
3333
$string['bgcolor_selected_desc'] = 'Background for the selected button';
34+
$string['bgcolor_selected_help'] = 'Background for the selected button';
3435
$string['cachedef_user_last_section'] = 'User last section cache';
3536
$string['color_gruping'] = 'Color for the buttons of the group {$a}';
37+
$string['color_gruping_help'] = 'Specify the background color for the buttons of the group';
3638
$string['colorfont'] = 'Specify the font color';
3739
$string['colorfont_help'] = 'Specify the text color for the buttons. Example: #FFFFFF';
3840
$string['config'] = 'Plugin configuration';
@@ -48,6 +50,7 @@
4850
$string['fontcolor_desc'] = 'Specify the font color for the buttons';
4951
$string['fontcolor_selected'] = 'Font color for the selected button';
5052
$string['fontcolor_selected_desc'] = 'Font color for the selected button';
53+
$string['fontcolor_selected_help'] = 'Font color for the selected button';
5154
$string['four'] = 'Four';
5255
$string['fourteen'] = 'Fourteen';
5356
$string['groups_course'] = 'Maximum groups';

lang/es/format_buttons.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
$string['bgcolor_help'] = 'Indica el color de los botones. Ejemplo: #920020';
3232
$string['bgcolor_selected'] = 'Color del botón seleccionado';
3333
$string['bgcolor_selected_desc'] = 'Fondo para el botón seleccionado';
34+
$string['bgcolor_selected_help'] = 'Fondo para el botón seleccionado';
3435
$string['color_gruping'] = 'Color para los botones del grupo {$a}';
36+
$string['color_gruping_help'] = 'Indica el color para los botones del grupo';
3537
$string['colorfont'] = 'Indica el color de la fuente';
3638
$string['colorfont_help'] = 'Indica el color del texto de los botones. Ejemplo: #FFFFFF';
3739
$string['config'] = 'Configuración del complemento';
@@ -47,6 +49,7 @@
4749
$string['fontcolor_desc'] = 'Indica el color de la fuente para los botones';
4850
$string['fontcolor_selected'] = 'Color de la fuente para el botón seleccionado';
4951
$string['fontcolor_selected_desc'] = 'Color de la fuente para el botón seleccionado';
52+
$string['fontcolor_selected_help'] = 'Color de la fuente para el botón seleccionado';
5053
$string['four'] = 'Cuatro';
5154
$string['fourteen'] = 'Catorce';
5255
$string['groups_course'] = 'Máximo de grupos';

lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,15 @@ public function course_format_options($foreditform = false)
166166

167167
$courseformatoptionsedit['bgcolor_selected'] = array(
168168
'label' => get_string('bgcolor_selected', 'format_buttons'),
169-
'help' => 'bgcolor',
169+
'help' => 'bgcolor_selected',
170170
'help_component' => 'format_buttons',
171171
'element_type' => 'text',
172172
'default' => get_config('format_buttons', 'bgcolor_selected')
173173
);
174174

175175
$courseformatoptionsedit['fontcolor_selected'] = array(
176176
'label' => get_string('fontcolor_selected', 'format_buttons'),
177-
'help' => 'colorfont',
177+
'help' => 'fontcolor_selected',
178178
'help_component' => 'format_buttons',
179179
'element_type' => 'text',
180180
'default' => get_config('format_buttons', 'fontcolor_selected')
@@ -265,7 +265,7 @@ public function course_format_options($foreditform = false)
265265

266266
$courseformatoptionsedit['group_colorfont' . ($i + 1)] = array(
267267
'label' => get_string('color_gruping', 'format_buttons', $i + 1),
268-
'help' => 'colorfont',
268+
'help' => 'color_gruping',
269269
'help_component' => 'format_buttons',
270270
'element_type' => 'text',
271271
);

0 commit comments

Comments
 (0)