[LON-CAPA-cvs] cvs: loncom /homework grades.pm

www lon-capa-cvs@mail.lon-capa.org
Fri, 14 Jul 2006 21:11:20 -0000


www		Fri Jul 14 17:11:20 2006 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  * Link to CSV helpfile per usability meeting
  * Internationalize upload screen (... just a drop in the bucket)
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.369 loncom/homework/grades.pm:1.370
--- loncom/homework/grades.pm:1.369	Sat Jul  1 21:03:04 2006
+++ loncom/homework/grades.pm	Fri Jul 14 17:11:20 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.369 2006/07/02 01:03:04 banghart Exp $
+# $Id: grades.pm,v 1.370 2006/07/14 21:11:20 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3442,9 +3442,10 @@
     $result.=$table;
     $result.='<br /><table width="100%" border="0"><tr><td bgcolor="#777777">'."\n";
     $result.='<table width="100%" border="0"><tr bgcolor="#e6ffff"><td>'."\n";
-    $result.='&nbsp;<b>Specify a file containing the class scores for current resource'.
+    $result.='&nbsp;<b>'.&mt('Specify a file containing the class scores for current resource').
 	'.</b></td></tr>'."\n";
     $result.='<tr bgcolor=#ffffe6><td>'."\n";
+    my $upload=&mt("Upload Scores");
     my $upfile_select=&Apache::loncommon::upfile_select_html();
     my $ignore=&mt('Ignore First Line');
     $result.=<<ENDUPFORM;
@@ -3454,11 +3455,13 @@
 <input type="hidden" name="probTitle" value="$env{'form.probTitle'}" />
 <input type="hidden" name="saveState"  value="$env{'form.saveState'}" />
 $upfile_select
-<br /><input type="button" onClick="javascript:checkUpload(this.form);" value="Upload Scores" />
+<br /><input type="button" onClick="javascript:checkUpload(this.form);" value="$upload" />
 <label><input type="checkbox" name="noFirstLine" />$ignore</label>
 </form>
 ENDUPFORM
-    $result.='</td></tr></table>'."\n";
+    $result.=&Apache::loncommon::help_open_topic("Course_Convert_To_CSV",
+                           &mt("How do I create a CSV file from a spreadsheet"))
+    .'</td></tr></table>'."\n";
     $result.='</td></tr></table><br /><br />'."\n";
     $result.=&show_grading_menu_form($symb);
     return $result;