completion MDL-24512 Fix hard coded string "More details"
authorAaron Barnes <aaronb@catalyst.net.nz>
Tue, 12 Oct 2010 02:02:11 +0000 (02:02 +0000)
committerAaron Barnes <aaronb@catalyst.net.nz>
Tue, 12 Oct 2010 02:02:11 +0000 (02:02 +0000)
blocks/completionstatus/block_completionstatus.php
lang/en/completion.php

index ab2dc1b..7a8e17b 100644 (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;
     }
index 2d87bcc..c3f55e9 100644 (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';