MDL-17372 new course reports string - role definition improvement

This commit is contained in:
skodak
2008-11-29 16:28:21 +00:00
parent 1a16c4486c
commit cecd63c9f2
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -289,6 +289,7 @@ $string['courserejectemail'] = 'Sorry, but the course you requested has been rej
$a';
$string['courserejectreason'] = 'Outline your reasons for rejecting this course<br />(this will be emailed to the requester)';
$string['courserejectsubject'] = 'Your course has been rejected';
$string['coursereports'] = 'Course reports';
$string['courserequest'] = 'Course request';
$string['courserequestdisabled'] = 'Sorry, but requesting courses has been disabled by the administrator';
$string['courserequestfailed'] = 'For some reason, your course request could not be saved';
+1 -1
View File
@@ -3875,7 +3875,7 @@ function get_component_string($component, $contextlevel) {
|| preg_match('|^gradereport/|', $component)) {
$string = get_string('gradebook', 'admin');
} else if (preg_match('|^coursereport/|', $component)) {
$string = get_string('reports');
$string = get_string('coursereports');
} else {
$string = get_string('course');
}