--- loncom/interface/loncoursegroups.pm 2009/01/20 16:38:39 1.89 +++ loncom/interface/loncoursegroups.pm 2009/02/02 13:27:39 1.91 @@ -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.91 2009/02/02 13:27:39 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', @@ -915,11 +915,11 @@ function changeSort(caller) { result => 'Re-enabled' ); my %navbuttons = &Apache::lonlocal::texthash( - gtns => 'Go to next step', - gtps => 'Go to previous step', + gtns => 'Next',#'Go to next step', + gtps => 'Previous',#'Go to previous step', crgr => 'Create '.$gpterm, - mose => 'Modify settings', - gtpp => 'Go to previous page', + mose => 'Save',#'Modify settings', + gtpp => 'Previous',#'Go to previous page', adme => 'Add members', ); if ((($action eq 'create') || ($action eq 'modify') || ($action eq 'delete') || ($action eq 'reenable')) && @@ -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) {