completion MDL-24512 Fix hard coded string "More details"

This commit is contained in:
Aaron Barnes 2010-10-12 02:02:11 +00:00
parent 5da8e7d5eb
commit 6d35a09b0b
2 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class block_completionstatus extends block_base {
$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;
}

View File

@ -123,6 +123,7 @@ $string['manualselfcompletion']='Manual self completion';
$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';