diff --git a/lang/de/tool_lifecycle.php b/lang/de/tool_lifecycle.php index 5aac9eedffc0af99736ee8cfc787a22aa9a13cfe..3e01edb4828145dc026832469d7e678e46613039 100644 --- a/lang/de/tool_lifecycle.php +++ b/lang/de/tool_lifecycle.php @@ -27,6 +27,7 @@ $string['pluginname'] = 'Kurs-Lebenszyklus'; $string['plugintitle'] = 'Kurs-Lebenszyklus'; $string['lifecycle:managecourses'] = 'Darf Kurse in tool_lifecycle verwalten.'; +$string['managecourses_link'] = 'Kurse verwalten'; $string['general_config_header'] = "Allgemein & Subplugins"; $string['config_delay_duration'] = 'Standardlänge eines Kursausschlusses'; diff --git a/lang/en/tool_lifecycle.php b/lang/en/tool_lifecycle.php index d5a778ce4cd3813a746596593b930ab61fd7fb5d..123f744343e4cee9f3e160ed37812083006e45c4 100644 --- a/lang/en/tool_lifecycle.php +++ b/lang/en/tool_lifecycle.php @@ -27,6 +27,7 @@ $string['pluginname'] = 'Life Cycle'; $string['plugintitle'] = 'Course Life Cycle'; $string['lifecycle:managecourses'] = 'May manage courses in tool_lifecycle'; +$string['managecourses_link'] = 'Manage courses'; $string['general_config_header'] = "General & Subplugins"; $string['config_delay_duration'] = 'Default duration of a course delay'; diff --git a/lib.php b/lib.php index 83732e5de040dfcde50ffefb3eb2b02f8be6ae85..4a38e8f87db22a3769858cc8936d1e6a6ef94b99 100644 --- a/lib.php +++ b/lib.php @@ -50,15 +50,15 @@ function tool_lifecycle_extend_navigation_course($navigation, $course, $context) )); // Add the course life cycle link. - $pluginname = get_string('plugintitle', 'tool_lifecycle'); + $linktext = get_string('managecourses_link', 'tool_lifecycle'); $node = navigation_node::create( - $pluginname, + $linktext, $url, navigation_node::NODETYPE_LEAF, 'tool_lifecycle', 'tool_lifecycle', - new pix_icon('icon', $pluginname, 'tool_lifecycle') + new pix_icon('icon', $linktext, 'tool_lifecycle') ); if ($PAGE->url->compare($url, URL_MATCH_BASE)) {