--- loncom/homework/grades.pm 2009/06/06 19:36:37 1.574.2.2 +++ loncom/homework/grades.pm 2009/12/27 01:00:44 1.574.2.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.574.2.2 2009/06/06 19:36:37 raeburn Exp $ +# $Id: grades.pm,v 1.574.2.4 2009/12/27 01:00:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1734,8 +1734,7 @@ sub gradeBox { #&mt('Part:[_1]Points:[_2]or[_3]',$display_part,$radio,$line); $result .= - ''.&mt('Part').':'.$display_part.''.&mt('Points').':'.$radio.''.&mt('or').''.$line.''. - + ''.&mt('Part').':'.$display_part.''.&mt('Points').':'.$radio.''.&mt('or').''.$line.''; $result.=''."\n"; $result.=''."\n". ''."\n". @@ -7709,15 +7708,17 @@ sub scantron_upload_scantron_data { my $syllabuslink = ''.&mt('Syllabus').''. (' 'x2).&mt('(shows course personnel)'); my $default_form_data=&defaultFormData(&get_symb($r,1)); + my $nofile_alert = &mt('Please use the browse button to select a file from your local directory.'); + my $nocourseid_alert = &mt("Please use the 'Select Course' link to open a separate window where you can search for a course to which a file can be uploaded."); $r->print('