$string['courserestore'] = 'Course restore';
$string['courses'] = 'Courses';
$string['coursescategory'] = 'Courses in the same category';
+$string['coursesectionsummaries'] = 'Course section summaries';
$string['coursesettings'] = 'Course default settings';
$string['coursesmovedout'] = 'Courses moved out from $a';
$string['coursespending'] = 'Courses pending approval';
public function get_visible_name() {
$format = $this->course->format;
- $sectionsname = get_string("coursesections$format","format_$format"); // TODO: localise
- if ($sectionsname === "[[coursesections$format]]") {
- $sectionsname = get_string("coursesections$format", 'repository'); // TODO: localise
- }
+ $sectionsname = get_string("coursesectionsummaries");
return $sectionsname;
}