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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 10 Oct 2006 02:15:11 -0000


albertel		Mon Oct  9 22:15:11 2006 EDT

  Modified files:              
    /loncom/interface	lonpickcode.pm 
  Log:
  - BUG#5039
  
  
Index: loncom/interface/lonpickcode.pm
diff -u loncom/interface/lonpickcode.pm:1.10 loncom/interface/lonpickcode.pm:1.11
--- loncom/interface/lonpickcode.pm:1.10	Thu Mar 16 16:54:40 2006
+++ loncom/interface/lonpickcode.pm	Mon Oct  9 22:15:10 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a CODE from the list of possible CODEs
 #
-# $Id: lonpickcode.pm,v 1.10 2006/03/16 21:54:40 albertel Exp $
+# $Id: lonpickcode.pm,v 1.11 2006/10/10 02:15:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -143,7 +143,7 @@
     my %code_freq=&get_code_freq($r);
     my $num_matches=length($env{'form.curCODE'});
     for (my $i=$num_matches;$i>=0;$i--) {
-	my $to_print="<p> CODEs with $i matches</p>";
+	my $to_print="<p>"&mt("CODEs with [_1] matching letters",$i)."</p>";
 	$to_print.='<table border="1"><tr><td></td><td>CODE</td><td>exams using this CODE</td>';
 	my $print;
 	foreach my $code (sort(keys(%codes))) {