From: skodak Date: Wed, 18 Feb 2009 09:03:09 +0000 (+0000) Subject: MDL-14589 course section summary string X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7daf91f21052b2891c0414d475dd04f55362c88d;p=moodle.git MDL-14589 course section summary string --- diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 85d12a22cd..d6e41636d1 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -327,6 +327,7 @@ $string['courserequestsupport'] = 'Supporting information to help the administra $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'; diff --git a/lib/file/file_info_coursesection.php b/lib/file/file_info_coursesection.php index cbe1fb95d6..1c7b431c4f 100644 --- a/lib/file/file_info_coursesection.php +++ b/lib/file/file_info_coursesection.php @@ -21,10 +21,7 @@ class file_info_coursesection extends file_info { 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; }