[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

www lon-capa-cvs-allow@mail.lon-capa.org
Mon, 10 Sep 2007 13:39:16 -0000


www		Mon Sep 10 09:39:16 2007 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  Make this translatable
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.392 loncom/homework/structuretags.pm:1.393
--- loncom/homework/structuretags.pm:1.392	Fri Aug 31 15:31:16 2007
+++ loncom/homework/structuretags.pm	Mon Sep 10 09:39:16 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.392 2007/08/31 19:31:16 albertel Exp $
+# $Id: structuretags.pm,v 1.393 2007/09/10 13:39:16 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -765,7 +765,7 @@
 		    $msg.='<h1>'.&mt('Not open to be viewed').'</h1>';
 		}
 		if ($status eq 'CLOSED' || $status eq 'INVALID_ACCESS') {
-		    $msg.='The problem '.$accessmsg;
+		    $msg.=&mt('The problem ').$accessmsg;
 		} elsif ($status eq 'UNCHECKEDOUT') {
 		    $msg.=&checkout_msg();
 		} elsif ($status eq 'NOT_YET_VIEWED') {