Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530
This commit is contained in:
@@ -184,6 +184,7 @@ $string['copyingzipfile'] = 'Copying zip file';
|
||||
$string['copyrightnotice'] = 'Copyright notice';
|
||||
$string['cost'] = 'Cost';
|
||||
$string['costdefault'] = 'Default cost';
|
||||
$string['counteditems'] = '$a->count $a->items';
|
||||
$string['country'] = 'Country';
|
||||
$string['course'] = 'Course';
|
||||
$string['courseavailable'] = 'This course is available to students';
|
||||
|
||||
+3
-1
@@ -127,7 +127,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo "<h2 align=\"center\">$totalcount $course->students";
|
||||
$a->count = $totalcount;
|
||||
$a->items = $course->students;
|
||||
echo '<h2 align="center">'.get_string('counteditems', '', $a);
|
||||
if (isteacheredit($course->id)) {
|
||||
echo ' <a href="../course/student.php?id='.$course->id.'">';
|
||||
echo '<img src="'.$CFG->pixpath.'/i/edit.gif" height="16" width="16" alt="" /></a>';
|
||||
|
||||
Reference in New Issue
Block a user