--- loncom/interface/groupboards.pm 2012/11/11 17:33:18 1.16 +++ loncom/interface/groupboards.pm 2013/11/23 20:40:57 1.21 @@ -1,7 +1,7 @@ # The LearningOnline Network # Group Bulletin Boards Manager # -# $Id: groupboards.pm,v 1.16 2012/11/11 17:33:18 raeburn Exp $ +# $Id: groupboards.pm,v 1.21 2013/11/23 20:40:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -72,7 +72,7 @@ sub handler { &Apache::lonhtmlcommon::clear_breadcrumbs(); if (!defined($group)) { - $earlyout = &mt('No [_1] defined, so there are no [_1] discussion boards to display',$gpterm); + $earlyout = &mt("No $gpterm defined, so there are no $gpterm discussion boards to display"); $r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, $ucgpterm,$bodytitle,$earlyout,$refarg)); return OK; @@ -96,7 +96,7 @@ sub handler { '/'.$group); } if (!$can_view) { - $earlyout=&mt('You do not have privileges to view discussion boards in this [_1]',$gpterm); + $earlyout=&mt("You do not have privileges to view discussion boards in this $gpterm"); $r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, $ucgpterm,$bodytitle,$earlyout,$refarg)); return OK; @@ -109,7 +109,7 @@ sub handler { &create_board($cdom,$cnum,$group,$env{'form.newbul'}); if ($outcome eq 'ok') { my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum); - $r->print(&mt('The new discussion board was added successfully.
')); + $r->print(&mt('The new discussion board was added successfully.').'
'); $r->print(''. @@ -119,8 +119,10 @@ sub handler { '
'. ''.&mt('Edit [_1] board',$bbtitle).'
'); if ($lockfreed ne 'ok') { $r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'
'. - &mt('This may prevent creation of additional bulletin boards in this group.').'
'. - &mt('Please contact the domain coordinator for your LON-CAPA domain.')); + &mt('This may prevent creation of additional discussion boards in this group.').'
'. + &mt('Please contact the [_1]helpdesk[_2] for assistance.', + '','') + ); } } else { $r->print(&mt('There was a problem creating the new discussion board - [_1]',''.$outcome.'').'
'. @@ -152,7 +154,7 @@ function makebulboard() { $r->print('
'. "\n".''."\n". + '" onclick="javascript:makebulboard();" />'."\n". ''."\n". ''. ''.