--- loncom/publisher/lonrights.pm 2009/05/25 14:31:00 1.25 +++ loncom/publisher/lonrights.pm 2010/01/27 16:18:17 1.25.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to show and edit custom distribution rights # -# $Id: lonrights.pm,v 1.25 2009/05/25 14:31:00 bisitz Exp $ +# $Id: lonrights.pm,v 1.25.2.1 2010/01/27 16:18:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -196,7 +196,7 @@ sub handler { if ($constructmode) { $r->print(&Apache::loncommon::select_form('','action_0', ('' => '', - 'insertbelow' => 'Insert rule below'))); + 'insertbelow' => &mt('Insert rule below')))); } else { $r->print(' '); @@ -205,6 +205,7 @@ sub handler { if ($constructmode) { $r->print(&Apache::loncommon::select_form ($token->[2]->{'effect'},'effect_0', + &Apache::lonlocal::texthash ('allow' => 'allow', 'deny' => 'deny'))); } else { @@ -227,6 +228,7 @@ sub handler { if ($constructmode) { $r->print(&Apache::loncommon::select_form( '','action_'.$rulecounter, + &Apache::lonlocal::texthash ('' => '', 'delete' => 'Delete this rule', 'insertabove' => 'Insert rule above', @@ -241,6 +243,7 @@ sub handler { $r->print(&Apache::loncommon::select_form ($token->[2]->{'effect'}, 'effect_'.$rulecounter, + &Apache::lonlocal::texthash ('allow' => 'allow', 'deny' => 'deny'))); } else { @@ -253,6 +256,7 @@ sub handler { if ($constructmode) { $r->print(&Apache::loncommon::select_form($type, 'type_'.$rulecounter, + &Apache::lonlocal::texthash ('course' => 'Course', 'user' => 'User'))); } else {