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

bisitz bisitz at source.lon-capa.org
Thu Feb 13 07:43:50 EST 2014


bisitz		Thu Feb 13 12:43:50 2014 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  Internationalization: Added missing &mt() calls
  
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.234 loncom/homework/response.pm:1.235
--- loncom/homework/response.pm:1.234	Sat Dec 28 23:16:02 2013
+++ loncom/homework/response.pm	Thu Feb 13 12:43:50 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.234 2013/12/28 23:16:02 raeburn Exp $
+# $Id: response.pm,v 1.235 2014/02/13 12:43:50 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -399,7 +399,7 @@
 		    $Apache::lonhomework::results{"resource.$partid.$id.awarddetail"}='SUBMITTED';
 		}
 	    } else {
-		$result='Not Permitted to change values.'
+                $result=&mt('Not Permitted to change values');
 	    }
 	}
     }
@@ -863,8 +863,8 @@
 	if ($Apache::lonhomework::type eq 'exam') {
 	    $bit = ($Apache::lonxml::counter+$increment).') ';
 	} else {
-	    $bit .= ' Answer for Part: \verb|'.
-		$Apache::inputtags::part.'| ';
+            $bit .= ' '.&mt('Answer for Part: [_1]',
+                                '\verb|'.$Apache::inputtags::part.'|').' ';
 	}
 	push(@answer_bits,$bit);
     } else {




More information about the LON-CAPA-cvs mailing list