[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm

bisitz bisitz at source.lon-capa.org
Tue Mar 20 12:05:26 EDT 2012


bisitz		Tue Mar 20 16:05:26 2012 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Localization of fields in Progress Chart (Assessment Overview Chart) for Excel output
      - Header with information about section, group, access status
      - Headline with student fields
  
  (Excel output still needs global correction of character encoding.)
  
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.168 loncom/interface/statistics/lonstudentassessment.pm:1.169
--- loncom/interface/statistics/lonstudentassessment.pm:1.168	Fri Feb 17 21:44:11 2012
+++ loncom/interface/statistics/lonstudentassessment.pm	Tue Mar 20 16:05:26 2012
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.168 2012/02/17 21:44:11 raeburn Exp $
+# $Id: lonstudentassessment.pm,v 1.169 2012/03/20 16:05:26 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1179,7 +1179,7 @@
     my $sectionstring = '';
     my @Sections = &Apache::lonstatistics::get_selected_sections();
     $excel_sheet->write($header_row,$cols_output++,
-                        &Apache::lonstatistics::section_and_enrollment_description('plaintext'),
+                        &Apache::lonstatistics::section_and_enrollment_description('localized'),
                         $format->{'h3'});
     #
     # Put the date in there too
@@ -1203,7 +1203,7 @@
     # Add the student headers
     $cols_output = 0;
     foreach my $field (&get_student_fields_to_show()) {
-        $excel_sheet->write($resource_name_row,$cols_output++,$field,
+        $excel_sheet->write($resource_name_row,$cols_output++,&mt($field),
                             $format->{'bold'});
     }
     #




More information about the LON-CAPA-cvs mailing list