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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Tue, 23 Sep 2008 14:41:04 -0000


bisitz		Tue Sep 23 10:41:04 2008 EDT

  Modified files:              
    /loncom/localize/localize	de.pm 
    /loncom/interface	coursecatalog.pm 
  Log:
  Optimized output in course catalog for 'Student Counts' column:
    - Optimized output for no sections and changed German translation correspondingly
    - Corrected German translations for access output
  
  
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.145 loncom/localize/localize/de.pm:1.146
--- loncom/localize/localize/de.pm:1.145	Tue Sep 23 09:22:27 2008
+++ loncom/localize/localize/de.pm	Tue Sep 23 10:40:59 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.145 2008/09/23 13:22:27 bisitz Exp $
+# $Id: de.pm,v 1.146 2008/09/23 14:40:59 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9200,11 +9200,14 @@
    'section:'
 => 'Sektion:', # n.t.
 
-   'Current access:'
-=> 'Aktueller Zugriff:', # n.t.
+   'Previous access'
+=> 'In der Vergangenheit liegender Zugriff',
+
+   'Current access'
+=> 'Aktueller Zugriff',
 
-   'Future access:'
-=> 'Zukünftiger Zugriff:', # n.t.
+   'Future access'
+=> 'Zukünftiger Zugriff',
 
    'Back to course listing'
 => 'Zurück zur Kursübersicht',
@@ -14538,8 +14541,8 @@
    'Currently enabled'
 => 'Derzeit aktiviert',
 
-   '[quant,_1,section]'
-=> '[quant,_1,Sektion,Sektionen]',
+   '[quant,_1,section:,sections:,No sections]'
+=> '[quant,_1,Sektion:,Sektionen:,Keine Sektionen]',
 
    'No information available for [_1].'
 => 'Für "[_1]" sind keine Informationen verfügbar.',
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.42 loncom/interface/coursecatalog.pm:1.43
--- loncom/interface/coursecatalog.pm:1.42	Tue Sep 23 09:14:32 2008
+++ loncom/interface/coursecatalog.pm	Tue Sep 23 10:41:00 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.42 2008/09/23 13:14:32 bisitz Exp $
+# $Id: coursecatalog.pm,v 1.43 2008/09/23 14:41:00 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1019,10 +1019,10 @@
         $student_count{$data->[$idx{'status'}]} ++;
     }
 
-    my $countslist = &mt('[quant,_1,section]',$numsec).':<br />';
+    my $countslist = &mt('[quant,_1,section:,sections:,No sections]',$numsec).'<br />';
     foreach my $status ('Active','Future') {
-        $countslist .= '<nobr>'.$status_title{$status}.': '.
-                       $student_count{$status}.'</nobr><br />';
+        $countslist .= '<span class="LC_nobreak">'.$status_title{$status}.': '.
+                       $student_count{$status}.'</span><br />';
     }
     return $countslist;
 }