--- loncom/interface/portfolio.pm 2008/01/21 18:00:30 1.188 +++ loncom/interface/portfolio.pm 2008/02/05 05:54:59 1.190 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.188 2008/01/21 18:00:30 bisitz Exp $ +# $Id: portfolio.pm,v 1.190 2008/02/05 05:54:59 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -538,7 +538,7 @@ sub delete { my @files=&Apache::loncommon::get_env_multiple('form.selectfile'); my ($uname,$udom) = &get_name_dom(); if (&Apache::lonnet::is_locked($file_name,$udom,$uname) eq 'true') { - $r->print("The file is locked and cannot be deleted.
"); + $r->print(&mt('The file is locked and cannot be deleted.').'
'); $r->print(&done('Back',$url)); } else { if (scalar(@files)) { @@ -679,7 +679,7 @@ sub rename_confirmed { $chg_access = &access_for_renamed($filenewname,$group,$udom,$uname); } else { $r->print(''. - &mt('An error occurred ([_1]) while trying to rename [_2] to [_3]' + &mt('An error occurred ([_1]) while trying to rename [_2] to [_3].' ,$result,&display_file(),&display_file('',$filenewname)) .'
'); return; @@ -823,7 +823,7 @@ sub view_access_settings { &build_access_summary($r,$count,$chg,%todisplay); $r->print(&Apache::loncommon::end_data_table()); } else { - $r->print(&mt('No access controil settings currently exist for this file.').'
'); + $r->print(&mt('No access control settings currently exist for this file.').'
'); } my %anchor_fields = ( 'currentpath' => $env{'form.currentpath'}