diff --git a/course/format/renderer.php b/course/format/renderer.php index 229b29c6cc6..c296ec94b2d 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -533,7 +533,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base { $o.= html_writer::tag('div', '', array('class' => 'left side')); $o.= html_writer::tag('div', '', array('class' => 'right side')); $o.= html_writer::start_tag('div', array('class' => 'content')); - $o.= $this->output->heading(get_string('orphanedactivities'), 3, 'sectionname'); + $o.= $this->output->heading(get_string('orphanedactivitiesinsectionno', '', $sectionno), 3, 'sectionname'); return $o; } diff --git a/lang/en/moodle.php b/lang/en/moodle.php index f8dcbc1c779..684ffbd4fd1 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1319,7 +1319,7 @@ $string['optional'] = 'optional'; $string['options'] = 'options'; $string['order'] = 'Order'; $string['originalpath'] = 'Original path'; -$string['orphanedactivities'] = 'Orphaned activities'; +$string['orphanedactivitiesinsectionno'] = 'Orphaned activities (section {$a})'; $string['other'] = 'Other'; $string['outline'] = 'Outline'; $string['outlinereport'] = 'Outline report';