diff --git a/course/report/completion/index.php b/course/report/completion/index.php index 470722dd3b2..2c222bf1405 100644 --- a/course/report/completion/index.php +++ b/course/report/completion/index.php @@ -384,7 +384,7 @@ if(!$csv) { // Try load a aggregation method $method = $completion->get_aggregation_method($current_group->criteriatype); - $method = $method == 1 ? 'All' : 'Any'; + $method = $method == 1 ? get_string('all') : get_string('any'); } else { $method = '-'; @@ -406,7 +406,7 @@ if(!$csv) { // Get course aggregation $method = $completion->get_aggregation_method(); - print $method == 1 ? 'All' : 'Any'; + print $method == 1 ? get_string('all') : get_string('any'); print ''; print ''; @@ -515,7 +515,7 @@ if(!$csv) { // Overall course completion status print ''; - print 'Course'; //TODO: localize + print ''.get_string('course').''; print ''; print ''; @@ -634,7 +634,7 @@ foreach ($progress as $user) { print ''. ''. ''.$describe.''; //TODO: localize + '" alt="'.$describe.'" class="icon" title="'.get_string('markcomplete', 'completion').'" />'; } else { print ''. '