[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

raeburn raeburn at source.lon-capa.org
Wed Sep 9 20:28:48 EDT 2020


raeburn		Thu Sep 10 00:28:48 2020 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - Facilitate localization.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.464 loncom/xml/londefdef.pm:1.465
--- loncom/xml/londefdef.pm:1.464	Fri Jan 27 19:58:21 2017
+++ loncom/xml/londefdef.pm	Thu Sep 10 00:28:48 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.464 2017/01/27 19:58:21 damieng Exp $
+# $Id: londefdef.pm,v 1.465 2020/09/10 00:28:48 raeburn Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -98,7 +98,7 @@
             # On top of that, MathJax will render math without $, but
             # it will fail with tth. This is worth a warning.
             # (even though some people might just use latex for printing)
-            &Apache::lonxml::warning(&mt("Missing \$ in <m>."));
+            &Apache::lonxml::warning(&mt('Missing $ in [_1].','<m>'));
         }
 	my $eval=&Apache::lonxml::get_param('eval',$parstack,$safeeval);
 	if ($eval eq 'on') {




More information about the LON-CAPA-cvs mailing list