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

bisitz bisitz@source.lon-capa.org
Sun, 17 May 2009 22:49:48 -0000


bisitz		Sun May 17 22:49:48 2009 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
    /loncom/localize/localize	de.pm 
  Log:
  - Removed <h1> which was used for informal text instead of headline
  - Optimized &mt usage (quantization of student counter)
  - Added missing &mt
  - Added translation to de.pm
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.152 loncom/interface/statistics/lonstudentassessment.pm:1.153
--- loncom/interface/statistics/lonstudentassessment.pm:1.152	Sat Apr  4 20:06:49 2009
+++ loncom/interface/statistics/lonstudentassessment.pm	Sun May 17 22:49:42 2009
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.152 2009/04/04 20:06:49 bisitz Exp $
+# $Id: lonstudentassessment.pm,v 1.153 2009/05/17 22:49:42 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1439,14 +1439,10 @@
     if ($env{'form.SelectedStudent'}) {
         $studentcount = '1';
     }
-    if ($studentcount > 1) {
-        $r->print('<h1>'.&mt('Compiling Excel spreadsheet for [_1] students',
-                             $studentcount)."</h1>\n");
-    } else {
-        $r->print('<h1>'.
-                  &mt('Compiling Excel spreadsheet for 1 student').
-                  "</h1>\n");
-    }
+    $r->print('<p>'
+             .&mt('Compiling Excel spreadsheet for [quant,_1,student]...',$studentcount)
+            ."</p>\n"
+    );
     $r->rflush();
     #
     # Initialize progress window
@@ -1594,7 +1590,7 @@
     #
     # Tell the user where to get their excel file
     $r->print('<br />'.
-              '<a href="'.$filename.'">Your Excel spreadsheet.</a>'."\n");
+              '<a href="'.$filename.'">'.&mt('Your Excel spreadsheet').'</a>'."\n");
     $r->rflush();
     &excel_cleanup();
     return;
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.298 loncom/localize/localize/de.pm:1.299
--- loncom/localize/localize/de.pm:1.298	Sat May 16 00:28:45 2009
+++ loncom/localize/localize/de.pm	Sun May 17 22:49:48 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.298 2009/05/16 00:28:45 bisitz Exp $
+# $Id: de.pm,v 1.299 2009/05/17 22:49:48 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -279,6 +279,9 @@
    'Course Statistics and Charts'
 => 'Kursstatistiken und Notenübersicht',
 
+   'Compiling Excel spreadsheet for [quant,_1,student]...'
+=> 'Erstelle Exceldatei für [quant,_1,Studenten/in,Studierende]...',
+
    'Course announcements and my calendar'
 #=> 'Kurs-Bekanntmachungen und mein Kalender',
 => 'Bekanntmachungen und Kalender',