[LON-CAPA-cvs] cvs: loncom(version_2_7_X) /interface loncommon.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Fri, 19 Sep 2008 22:52:42 -0000


raeburn		Fri Sep 19 18:52:42 2008 EDT

  Modified files:              (Branch: version_2_7_X)
    /loncom/interface	loncommon.pm 
  Log:
  Backport 1.683
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.679.2.1 loncom/interface/loncommon.pm:1.679.2.2
--- loncom/interface/loncommon.pm:1.679.2.1	Fri Sep 19 18:50:01 2008
+++ loncom/interface/loncommon.pm	Fri Sep 19 18:52:41 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.679.2.1 2008/09/19 22:50:01 raeburn Exp $
+# $Id: loncommon.pm,v 1.679.2.2 2008/09/19 22:52:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1507,9 +1507,9 @@
     $fh = Apache::File->new('>/home/httpd'.$filename);
     if (! defined($fh)) {
         $r->log_error("Couldn't open $filename for output $!");
-        $r->print("Problems occured in creating the output file.  ".
-                  "This error has been logged.  ".
-                  "Please alert your LON-CAPA administrator.");
+        $r->print(&mt('Problems occurred in creating the output file. '
+                     .'This error has been logged. '
+                     .'Please alert your LON-CAPA administrator.'));
     }
     return ($fh,$filename)
 }