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

bisitz bisitz@source.lon-capa.org
Thu, 16 Apr 2009 16:36:39 -0000


bisitz		Thu Apr 16 16:36:39 2009 EDT

  Modified files:              
    /loncom/homework	grades.pm 
    /loncom/localize/localize	de.pm 
  Log:
  - Optimized and localized "Access Denied" output
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.561 loncom/homework/grades.pm:1.562
--- loncom/homework/grades.pm:1.561	Wed Apr 15 17:02:35 2009
+++ loncom/homework/grades.pm	Thu Apr 16 16:36:32 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.561 2009/04/15 17:02:35 bisitz Exp $
+# $Id: grades.pm,v 1.562 2009/04/16 16:36:32 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9102,7 +9102,7 @@
         } elsif ($command eq 'checksubmissions' && $perm{'vgr'}) {
             $request->print(&checkscantron_results($request));     
 	} elsif ($command) {
-	    $request->print("Access Denied ($command)");
+	    $request->print('<p class="LC_error">'.&mt('Access Denied ([_1])',$command).'</p>');
 	}
     }
     if ($ssi_error) {
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.275 loncom/localize/localize/de.pm:1.276
--- loncom/localize/localize/de.pm:1.275	Thu Apr 16 16:31:35 2009
+++ loncom/localize/localize/de.pm	Thu Apr 16 16:36:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.275 2009/04/16 16:31:35 bisitz Exp $
+# $Id: de.pm,v 1.276 2009/04/16 16:36:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -12875,6 +12875,9 @@
    'Access control'
 => 'Zugriffskontrolle',
 
+   'Access Denied ([_1])'
+=> 'Zugriff verweigert ([_1])',
+
    'Additional information'
 => 'Zusätzliche Informationen',