--- loncom/interface/loncoursegroups.pm 2009/01/20 16:38:39 1.89 +++ loncom/interface/loncoursegroups.pm 2009/01/30 16:13:04 1.90 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursegroups.pm,v 1.89 2009/01/20 16:38:39 bisitz Exp $ +# $Id: loncoursegroups.pm,v 1.90 2009/01/30 16:13:04 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -75,7 +75,7 @@ sub handler { my $crstype = &Apache::loncommon::course_type(); my %functions = ( - email => 'Send Messages', + communication => 'Send Messages', discussion => 'Discussion Boards', chat => 'Chat', files => 'File Repository', @@ -1649,7 +1649,7 @@ END for (my $i=0; $i<$halfnum; $i++) { $r->print(' + &mt($$functions{$allfunctions[$i]}).'   '); } $r->print('print(' + &mt($$functions{$allfunctions[$j]}).'   '); } if ($remnum) { @@ -2299,8 +2299,12 @@ sub default_privileges { ); $r->print(&Apache::lonhtmlcommon::start_pick_box('LC_group_priv_box'). &Apache::lonhtmlcommon::row_title($lt{'func'},undef, - 'LC_groups_functionality')); - $r->print(join('',@{$tools})); + 'LC_groups_functionality')); + my @printtool = @{$tools}; + foreach my $printtool (@printtool){ + $printtool = &mt($printtool); + } + $r->print(join('', @printtool)); $r->print(&Apache::lonhtmlcommon::row_closure(1)); my $fixed = ''; my $dynamic = ''; @@ -2316,7 +2320,7 @@ sub default_privileges { $fixed .= ''; } $fixed .= '' - .''.$$toolprivs{$tool}{$priv}.' '; + .''.&mt($$toolprivs{$tool}{$priv}).' '; if ($action eq 'modify') { if (grep(/^$tool$/,@{$available})) { $fixed .= ''.&mt('(on)').' '; @@ -2331,7 +2335,7 @@ sub default_privileges { $dynamic .= ' '."\n"; } - $dynamic .= ''."\n"; + $dynamic .= ''."\n"; } } if ($privcount == 0) {