Skip to content

Commit

Permalink
MDL-17372 new course reports string - role definition improvement; me…
Browse files Browse the repository at this point in the history
…rged from MOODLE_19_STABLE
  • Loading branch information
skodak committed Nov 29, 2008
1 parent e0f81e9 commit 9b1ad47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en_utf8/moodle.php
Expand Up @@ -304,6 +304,7 @@
$string['coursenotaccessible'] = 'This course does not allow public access';
$string['courseoverview'] = 'Course overview';
$string['courseoverviewgraph'] = 'Course overview graph';
$string['coursereports'] = 'Course reports';
$string['coursereject'] = 'Reject a course request';
$string['courserejected'] = 'Course has been rejected and the requester has been notified.';
$string['courserejectemail'] = 'Sorry, but the course you requested has been rejected. Here is the reason provided:
Expand Down
2 changes: 1 addition & 1 deletion lib/accesslib.php
Expand Up @@ -3989,7 +3989,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');
}
Expand Down

0 comments on commit 9b1ad47

Please sign in to comment.