Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530

This commit is contained in:
gustav_delius
2005-02-13 11:22:48 +00:00
parent ff377532bd
commit eb58929bbb
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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>';