--- loncom/homework/grades.pm 2008/12/15 16:37:49 1.535
+++ loncom/homework/grades.pm 2008/12/15 20:55:38 1.536
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.535 2008/12/15 16:37:49 raeburn Exp $
+# $Id: grades.pm,v 1.536 2008/12/15 20:55:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2758,8 +2758,10 @@ sub handback_files {
$newflg.'_'.$part_resp.'_returndoc'.$file_counter,
$save_file_name);
if ($result !~ m|^/uploaded/|) {
- $request->print('An error occurred ('.$result.
- ') while trying to upload '.$newflg.'_'.$part_resp.'_returndoc'.$file_counter.'
');
+ $request->print('
'.
+ &mt('An error occurred ([_1]) while trying to upload [_2].',
+ $result,$newflg.'_'.$part_resp.'_returndoc'.$file_counter).
+ '');
} else {
# mark the file as read only
my @files = ($save_file_name);