Skip to content

Commit

Permalink
modulename not used for gradebook plugins any more
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 10, 2010
1 parent a919ae8 commit fa25639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/accesslib.php
Expand Up @@ -4099,11 +4099,11 @@ function get_component_string($component, $contextlevel) {
$langname = str_replace('/', '_', $component);
$string = get_string('pluginname', $langname);
} else if (preg_match('|^gradeimport|', $component)) {
$string = get_string('gradeimport', 'grades').': '.get_string('modulename', $component);
$string = get_string('gradeimport', 'grades').': '.get_string('pluginname', $component);
} else if (preg_match('|^gradeexport|', $component)) {
$string = get_string('gradeexport', 'grades').': '.get_string('modulename', $component);
$string = get_string('gradeexport', 'grades').': '.get_string('pluginname', $component);
} else if (preg_match('|^gradereport|', $component)) {
$string = get_string('gradereport', 'grades').': '.get_string('modulename', $component);
$string = get_string('gradereport', 'grades').': '.get_string('pluginname', $component);
} else if (preg_match('|^coursereport|', $component)) {
$string = get_string('coursereport').': '.get_string('pluginname', $component);
} else if (preg_match('|^webservice|', $component)) {
Expand Down

0 comments on commit fa25639

Please sign in to comment.