diff --git a/course/report/outline/lib.php b/course/report/outline/lib.php index c020dcc..cb56ac4 100644 --- a/course/report/outline/lib.php +++ b/course/report/outline/lib.php @@ -35,6 +35,6 @@ function outline_report_extend_navigation($navigation, $course, $context) { global $CFG, $OUTPUT; if (has_capability('coursereport/outline:view', $context)) { $url = new moodle_url('/course/report/outline/index.php', array('id'=>$course->id)); - $navigation->add(get_string( 'activityreport' ), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); + $navigation->add(get_string('pluginname', 'coursereport_outline'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); } -} \ No newline at end of file +} diff --git a/course/report/participation/lib.php b/course/report/participation/lib.php index 7071876..2236fc1 100644 --- a/course/report/participation/lib.php +++ b/course/report/participation/lib.php @@ -35,6 +35,6 @@ function participation_report_extend_navigation($navigation, $course, $context) global $CFG, $OUTPUT; if (has_capability('coursereport/participation:view', $context)) { $url = new moodle_url('/course/report/participation/index.php', array('id'=>$course->id)); - $navigation->add(get_string('participationreport'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); + $navigation->add(get_string('pluginname', 'coursereport_participation'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); } -} \ No newline at end of file +} diff --git a/course/report/stats/lib.php b/course/report/stats/lib.php index ed31e78..e6ab5a9 100644 --- a/course/report/stats/lib.php +++ b/course/report/stats/lib.php @@ -87,7 +87,7 @@ function stats_report_extend_navigation($navigation, $course, $context) { if (has_capability('coursereport/stats:view', $context)) { if (!empty($CFG->enablestats)) { $url = new moodle_url('/course/report/stats/index.php', array('course'=>$course->id)); - $navigation->add(get_string('stats'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); + $navigation->add(get_string('pluginname', 'coursereport_stats'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); } } }