--- loncom/interface/slotrequest.pm 2008/01/14 14:32:30 1.81 +++ loncom/interface/slotrequest.pm 2008/09/11 14:47:21 1.82 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.81 2008/01/14 14:32:30 raeburn Exp $ +# $Id: slotrequest.pm,v 1.82 2008/09/11 14:47:21 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -335,7 +335,7 @@ sub remove_registration { my %consumed=&Apache::lonnet::dump('slot_reservations',$cdom,$cnum, "^$slot_name\0"); if (&Apache::lonnet::error(%consumed)) { - $r->print("

".&mt('A network error has occured.').'

'); + $r->print("

".&mt('A network error has occrured.').'

'); return; } if (!%consumed) { @@ -569,7 +569,9 @@ sub get_slot { my $slot_name=&check_for_conflict($symb,$env{'form.slotname'},\%slot); if ($slot_name =~ /^error: (.*)/) { - $r->print("

An error occured while attempting to make a reservation. ($1)

"); + $r->print('

' + .&mt('An error occurred while attempting to make a reservation. ([_1])',$1) + .'

'); &return_link($r); return 0; } @@ -610,7 +612,9 @@ STUFF if (defined($reserved)) { my $retvalue = 0; if ($slot_name =~ /^error: (.*)/) { - $r->print("

An error occured while attempting to make a reservation. ($1)

"); + $r->print('

' + .&mt('An error occurred while attempting to make a reservation. ([_1])',$1) + .'

'); } elsif ($reserved > -1) { $r->print("

Success: $description

"); $retvalue = 1;