--- loncom/interface/loncoursegroups.pm 2008/12/24 07:36:39 1.80.2.4 +++ loncom/interface/loncoursegroups.pm 2008/12/16 19:33:36 1.85 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursegroups.pm,v 1.80.2.4 2008/12/24 07:36:39 raeburn Exp $ +# $Id: loncoursegroups.pm,v 1.85 2008/12/16 19:33:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -76,10 +76,10 @@ sub handler { my %functions = ( email => 'E-mail', - discussion => 'Discussion boards', + discussion => 'Discussion Boards', chat => 'Chat', - files => 'File repository', - roster => 'Membership roster', + files => 'File Repository', + roster => 'Membership Roster', homepage => $ucgpterm.' home page', ); @@ -349,8 +349,8 @@ END ''.$quota.''. ''.$totalmembers.''. ''. - ''.&mt('Files: [_1]',$totalfiles).'
'. - ''.&mt('Folders: [_1]',$totaldirs).''. + '
'.&mt('Files: [_1]',$totalfiles).'
'. + '
'.&mt('Folders: [_1]',$totaldirs).'
'. ''. ''.$boards.''. ''.$diskuse.''. @@ -1674,8 +1674,8 @@ END '.&mt('Granularity:').' '.$lt{'doyo'}.'  '); if ($action eq 'modify') { - $r->print('  ('.&mt('Currently set to "[_1]"', - &mt($$stored{'granularity'})).')'); + $r->print('  ('.&mt('Currently set to [_1].' + ,'"'.&mt($$stored{'granularity'}).'"').')'); } $r->print(' @@ -3238,7 +3238,7 @@ sub write_group_data { my $outcome = &map_updater($cdom,$cnum,'group_boards_'. $groupname.'.sequence','bbseq', $disctitle,$grpmap); - my ($furl,$ferr) = + my ($furl,$ferr) = &Apache::lonuserstate::readmap($cdom.'/'.$cnum); # modify parameter if ($outcome eq 'ok') { @@ -3528,7 +3528,6 @@ sub mapping_options { 'adds' => "If automatic $gpterm enrollment is enabled, when a user is newly assigned a ".lc($crstype)."-wide or section-specific role, he/she will automatically be added as a member of the $gpterm, with start and end access dates defined by the default dates set for the $gpterm, unless he/she is already a $gpterm member, with access dates that permit either current or future $gpterm access.", 'drops' => "If automatic $gpterm disenrollment is enabled, when a user's role is expired, access to the $gpterm will be terminated unless the user continues to have other ".lc($crstype)."-wide or section-specific active or future roles which receive automatic membership in the $gpterm.", 'pirs' => "Pick roles and sections for automatic $gpterm enrollment", - 'curr' => 'Currently set to', 'on' => 'on', 'off' => 'off', 'auad' => "Automatically enable $gpterm membership when roles are added?", @@ -3556,14 +3555,14 @@ sub automapping { '.$$lt{'auad'}.':  '); if ($action eq 'modify') { - $r->print('    ('.$$lt{'curr'}.' '.$$lt{$add}.')'); + $r->print('    ('.&mt('Currently set to [_1].',''.$$lt{$add}.'').')'); } $r->print('
'.$$lt{'auex'}.':  '); if ($action eq 'modify') { - $r->print('    ('.$$lt{'curr'}.' '.$$lt{$drop}.')'); + $r->print('    ('.&mt('Currently set to [_1].',''.$$lt{$drop}.'').')'); } $r->print('

'.$$lt{'mapr'}); } @@ -3957,11 +3956,8 @@ sub parm_setter { my ($navmap,$cdom,$url,$groupname) = @_; my $allresults; if (!defined($navmap)) { - $allresults = '
'. - &mt('Parameters not set for [_1] because the contents of the course could not be retrieved.',$url).' '. - &mt('You need to reinitialize the course.'). - '
'; - return $allresults; + $allresults = &mt('Parameters not set for [_1] because the contents of the course could not be retrieved.',$url).' '. + &mt('You need to reinitialize the course.').'
'; } my %hide_settings = ( 'course' => {