[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm
bisitz
bisitz at source.lon-capa.org
Mon Feb 17 14:36:34 EST 2014
bisitz Mon Feb 17 19:36:34 2014 EDT
Modified files:
/loncom/interface lonhelper.pm
Log:
Corrected rev. 1.191 - scope of &mt() call
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.191 loncom/interface/lonhelper.pm:1.192
--- loncom/interface/lonhelper.pm:1.191 Tue Feb 11 19:11:24 2014
+++ loncom/interface/lonhelper.pm Mon Feb 17 19:36:34 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.191 2014/02/11 19:11:24 bisitz Exp $
+# $Id: lonhelper.pm,v 1.192 2014/02/17 19:36:34 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2396,7 +2396,7 @@
$result .= "<th>$text</th>";
}
}
- $result .= '<th>'.&mt('Select').'</th>';
+ $result .= '<th>'.&Apache::lonlocal::mt('Select').'</th>';
$result .= "</tr><tr>"; # Close off the extra row and start a new one.
$headings_done = 1;
}
@@ -2493,9 +2493,9 @@
&HTML::Entities::encode(&$valueFunc($resource),"<>&\"'");
if ($addparts && (scalar(@{$resource->parts}) > 1)) {
$col .= "<select onclick=\"javascript:updateRadio(this.form,'${var}_forminput','$resource_name');updateHidden(this.form,'$id','${var}');\" name='part_${id}_forminput'>\n";
- $col .= "<option value=\"$part\">'.&mt('All Parts').'</option>\n";
+ $col .= "<option value=\"$part\">'.&Apache::lonlocal::mt('All Parts').'</option>\n";
foreach my $part (@{$resource->parts}) {
- $col .= "<option value=\"$part\">".&mt('Part: [_1]',$part)."</option>\n";
+ $col .= "<option value=\"$part\">".&Apache::lonlocal::mt('Part: [_1]',$part)."</option>\n";
}
$col .= "</select>";
}
More information about the LON-CAPA-cvs
mailing list