Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
completion MDL-24512 Fix hard coded string "More details"
  • Loading branch information
Aaron Barnes committed Oct 12, 2010
1 parent 5da8e7d commit 6d35a09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/completionstatus/block_completionstatus.php
Expand Up @@ -195,7 +195,7 @@ public function get_content() {
$this->content->text .= $shtml.'</tbody></table>';

// Display link to detailed view
$this->content->footer = '<br><a href="'.$CFG->wwwroot.'/blocks/completionstatus/details.php?course='.$COURSE->id.'">More details</a>';
$this->content->footer = '<br><a href="'.$CFG->wwwroot.'/blocks/completionstatus/details.php?course='.$COURSE->id.'">'.get_string('moredetails', 'completion').'</a>';

return $this->content;
}
Expand Down
1 change: 1 addition & 0 deletions lang/en/completion.php
Expand Up @@ -123,6 +123,7 @@
$string['markcomplete']='Mark complete';
$string['markedcompleteby']='Marked complete by {$a}';
$string['markingyourselfcomplete']='Marking yourself complete';
$string['moredetails']='More details';
$string['notenroled']='You are not enroled as a student in this course';
$string['notyetstarted']='Not yet started';
$string['overallcriteriaaggregation']='Overall criteria type aggregation';
Expand Down

0 comments on commit 6d35a09

Please sign in to comment.