$string['showinggradedandungraded'] = 'Showing graded and ungraded attempts for each user. The one attempt for each user that is graded is highlighted. The grading method for this quiz is $a.';
$string['showdetailedmarks'] = 'Show / download marks for each question';
$string['studentingroup'] = '\'$a->coursestudent\' in group \'$a->groupname\'';
+$string['studentingrouplong'] = '\'$a->coursestudent\' in this group';
?>
$a = new object();
$a->coursestudent = $COURSE->students;
$a->groupname = groups_get_group_name($this->_customdata['currentgroup']);
- $studentsstring = get_string('studentingroup', 'quiz_overview', $a);
+ if (20 < strlen($a->groupname)){
+ $studentsstring = get_string('studentingrouplong', 'quiz_overview', $a);
+ } else {
+ $studentsstring = get_string('studentingroup', 'quiz_overview', $a);
+ }
}
$options = array();
if (!$this->_customdata['currentgroup']){