diff --git a/grade/lib.php b/grade/lib.php index 2b131848109..3b06df8c1b3 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -283,9 +283,12 @@ function print_graded_users_selector($course, $actionpage, $userid=0, $groupid=0 $gui = new graded_users_iterator($course, null, $groupid); $gui->init(); + + $label = get_string('selectauser', 'grades'); if ($includeall) { $menu[0] = get_string('allusers', 'grades'); + $label = get_string('selectalloroneuser', 'grades'); } $nextuser = $gui->next_user(); @@ -302,7 +305,7 @@ function print_graded_users_selector($course, $actionpage, $userid=0, $groupid=0 } return popup_form($CFG->wwwroot.'/grade/' . $actionpage . '&userid=', $menu, 'choosegradeduser', $userid, null, '', '', - $return, 'self', get_string('selectalloroneuser', 'grades')); + $return, 'self', $label); } /** diff --git a/lang/en_utf8/grades.php b/lang/en_utf8/grades.php index a52e241b51a..61ab1b85c46 100644 --- a/lang/en_utf8/grades.php +++ b/lang/en_utf8/grades.php @@ -475,6 +475,7 @@ $string['scalestandardhelp'] = 'A standard scale is one that is available site-w $string['seeallcoursegrades'] = 'See all course grades'; $string['selectdestination'] = 'Select destination of $a'; $string['selectalloroneuser'] = 'Select all or one user'; +$string['selectauser'] = 'Select a user'; $string['septab'] = 'Tab'; $string['sepcomma'] = 'Comma'; $string['separator'] = 'Separator';