Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27922 lesson mod: fixed string for activity link

  • Loading branch information...
commit 560f549593eef6e9d736f76a000017177f6a488d 1 parent 50d32a2
@rwijaya rwijaya authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  mod/lesson/lang/en/lesson.php
  2. +1 −1  mod/lesson/locallib.php
View
2  mod/lesson/lang/en/lesson.php
@@ -34,7 +34,7 @@
$string['actions'] = 'Actions';
$string['activitylink'] = 'Link to an activity';
$string['activitylink_help'] = 'To provide a link at the end of the lesson to another activity in the course, select the activity from the dropdown list.';
-$string['activitylinkname'] = 'Go to: {$a}';
+$string['activitylinkname'] = 'Go to {$a}';
$string['addabranchtable'] = 'Add a content page';
$string['addanendofbranch'] = 'Add an end of branch';
$string['addanewpage'] = 'Add a new page';
View
2  mod/lesson/locallib.php
@@ -1280,7 +1280,7 @@ public function link_for_activitylink() {
$instancename = $DB->get_field($modname, 'name', array('id' => $module->instance));
if ($instancename) {
return html_writer::link(new moodle_url('/mod/'.$modname.'/view.php', array('id'=>$this->properties->activitylink)),
- get_string('returnto', 'lesson', get_string('activitylinkname', 'lesson', $instancename)),
+ get_string('activitylinkname', 'lesson', $instancename),
array('class'=>'centerpadded lessonbutton standardbutton'));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.