MDL-18942 Fixed user selector lang string. Merged from MOODLE_19_STABLE

This commit is contained in:
nicolasconnault 2009-04-24 07:30:57 +00:00
parent 29712788b7
commit 10f5c0460b
2 changed files with 5 additions and 1 deletions

View File

@ -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);
}
/**

View File

@ -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';