Permalink
Browse files

MDL-27922 lesson mod: fixed string for activity link

  • Loading branch information...
1 parent ff555b5 commit bac9a5e95edff38ca949e58c750309d4ce44be27 Rossiani Wijaya committed Jun 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/lesson/lang/en/lesson.php
  2. +1 −1 mod/lesson/locallib.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
@@ -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'));
}
}

0 comments on commit bac9a5e

Please sign in to comment.