[LON-CAPA-cvs] cvs: loncom /homework grades.pm /localize/localize de.pm

kruse kruse at source.lon-capa.org
Wed Jul 24 11:12:33 EDT 2013


kruse		Wed Jul 24 15:12:33 2013 EDT

  Modified files:              
    /loncom/localize/localize	de.pm 
    /loncom/homework	grades.pm 
  Log:
  Improved wording, punctuation and line breaks on "hand grading"-screen for uploaded submissions
  and updated German translations.
  
  
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.515 loncom/localize/localize/de.pm:1.516
--- loncom/localize/localize/de.pm:1.515	Mon Jul 22 18:06:47 2013
+++ loncom/localize/localize/de.pm	Wed Jul 24 15:12:29 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.515 2013/07/22 18:06:47 bisitz Exp $
+# $Id: de.pm,v 1.516 2013/07/24 15:12:29 kruse Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1160,8 +1160,11 @@
    'It is recommended that you use an up-to-date virus scanner before handling this file.'
 => 'Es wird grundsätzlich empfohlen, einen aktuellen Virenscanner zu benutzen, bevor Sie diese Datei verwenden.',
 
-   'Like all files provided by users, this file may contain viruses'
-=> 'Diese Datei kann, so wie alle Dateien, die von Benutzern stammen, Viren enthalten.',
+   'Like all files provided by users, this file may contain viruses!'
+=> 'Diese Datei kann, so wie alle Dateien, die von Benutzern stammen, Viren enthalten!',
+
+   'Like all files provided by users, these files may contain viruses!'
+=> 'Diese Dateien können, so wie alle Dateien, die von Benutzern stammen, Viren enthalten!',
 
    'not displayed'
 => 'nicht angezeigt',
@@ -22719,6 +22722,9 @@
    'Submitted Files'
 => 'Eingereichte Dateien',
 
+   'Submitted Files:'
+=> 'Eingereichte Dateien:',
+
    'Currently submitted files'
 => 'Derzeit eingereichte Dateien',
 
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.697 loncom/homework/grades.pm:1.698
--- loncom/homework/grades.pm:1.697	Mon Jul 22 18:06:54 2013
+++ loncom/homework/grades.pm	Wed Jul 24 15:12:33 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.697 2013/07/22 18:06:54 bisitz Exp $
+# $Id: grades.pm,v 1.698 2013/07/24 15:12:33 kruse Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2239,11 +2239,19 @@
                             '('.&mt('Response ID: [_1]',$respid).')'.
                             '</span>   ';
 			my $files=&get_submitted_files($udom,$uname,$partid,$respid,\%record);
+
 			if (@$files) {
                             if ($hide eq 'anon') {
                                 $lastsubonly.='<br />'.&mt('[quant,_1,file] uploaded to this anonymous survey',scalar(@{$files}));
                             } else {
-                                $lastsubonly.='<br /><span class="LC_warning">'.&mt('Like all files provided by users, this file may contain viruses').'</span><br />';
+                                $lastsubonly.='<br /><br />'.'<b>'.&mt('Submitted Files:').'</b>'
+                                            .'<br /><span class="LC_warning">';
+                                if(@$files == 1) {
+                                    $lastsubonly .= &mt('Like all files provided by users, this file may contain viruses!');
+                                } else {
+                                    $lastsubonly .= &mt('Like all files provided by users, these files may contain viruses!');
+                                }
+                                $lastsubonly .= '</span>';                         
                                 foreach my $file (@$files) {
                                     &Apache::lonnet::allowuploaded('/adm/grades',$file);
                                     $lastsubonly.='<br /><a href="'.$file.'?rawmode=1" target="lonGRDs"><img src="'.&Apache::loncommon::icon($file).'" border="0" alt="" /> '.$file.'</a>';
@@ -2252,9 +2260,9 @@
 			    $lastsubonly.='<br />';
 			}
                         if ($hide eq 'anon') {
-                            $lastsubonly.='<b>'.&mt('Anonymous Survey').'</b>'; 
+                            $lastsubonly.='<br /><b>'.&mt('Anonymous Survey').'</b>'; 
                         } else {
-			    $lastsubonly.='<b>'.&mt('Submitted Answer:').' </b>'.
+			    $lastsubonly.='<br /><b>'.&mt('Submitted Answer:').' </b>'.
 			        &cleanRecord($subval,$responsetype,$symb,$partid,
 					     $respid,\%record,$order,undef,$uname,$udom,$type,$trial,$rndseed);
                         }




More information about the LON-CAPA-cvs mailing list