[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Mon, 17 Mar 2008 15:40:31 -0000


bisitz		Mon Mar 17 11:40:31 2008 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  Localization:
  Optimized &mt() calls for feedback and help on ranking problems
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.241 loncom/homework/inputtags.pm:1.242
--- loncom/homework/inputtags.pm:1.241	Mon Mar  3 17:49:55 2008
+++ loncom/homework/inputtags.pm	Mon Mar 17 11:40:31 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.241 2008/03/03 22:49:55 www Exp $
+# $Id: inputtags.pm,v 1.242 2008/03/17 15:40:31 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -745,10 +745,10 @@
 	$css_class=$possible_class{'not_charged_try'};
 	$button=1;
     } elsif ($award eq 'MISORDERED_RANK') {
-	$message = &mt('You have provided an invalid ranking');
-	if ($target ne 'tex') {
-	    $message.=', '.&mt('please refer to').' '.&Apache::loncommon::help_open_topic('Ranking_Problems',&mt('help on ranking problems'));
-	}
+        $message = &mt('You have provided an invalid ranking.');
+        if ($target ne 'tex') {
+            $message.=' '.&mt('Please refer to [_1]',&Apache::loncommon::help_open_topic('Ranking_Problems',&mt('help on ranking problems')));
+        }
 	$css_class=$possible_class{'not_charged_try'};
 	$button=1;
     } elsif ($award eq 'INVALID_FILETYPE') {