--- loncom/interface/lonhelper.pm 2004/04/21 17:29:57 1.71 +++ loncom/interface/lonhelper.pm 2004/04/21 17:57:02 1.72 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # .helper XML handler to implement the LON-CAPA helper # -# $Id: lonhelper.pm,v 1.71 2004/04/21 17:29:57 sakharuk Exp $ +# $Id: lonhelper.pm,v 1.72 2004/04/21 17:57:02 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3126,7 +3126,7 @@ sub render { # Print the granularity, depending on the action if ($vars->{GRANULARITY} eq 'whole_course') { - $resourceString .= '
  • for all resources in the course
  • '; + $resourceString .= '
  • '.&mt('for').' '.&mt('all resources in the course').'
  • '; $level = 9; # general course, see lonparmset.pm perldoc $affectedResourceId = "0.0"; $symb = 'a'; @@ -3196,7 +3196,7 @@ sub render { $result .= '
  • '.&mt('for').' '.&mt('all students in course').'
  • '; } elsif ($vars->{TARGETS} eq 'section') { my $section = $vars->{SECTION_NAME}; - $result .= "
  • for section $section
  • "; + $result .= "
  • ".&mt('for section')." $section
  • "; $level -= 3; $result .= "&"') . "' />\n"; @@ -3207,7 +3207,7 @@ sub render { # Chop off everything after the last colon (section) $username = substr($username, 0, rindex($username, ':')); my $name = $classlist->{$username}->[6]; - $result .= "
  • for $name
  • "; + $result .= "
  • ".&mt('for')." $name
  • "; $level -= 6; my ($uname, $udom) = split /:/, $vars->{USER_NAME}; $result .= "{ACTION_TYPE} ne 'weight') { - $result .= "
  • to " . ctime($vars->{PARM_DATE}) . " (" . + $result .= "
  • ".&mt('to')." " . ctime($vars->{PARM_DATE}) . " (" . Apache::lonnavmaps::timeToHumanString($vars->{PARM_DATE}) . ")
  • \n"; }