[LON-CAPA-cvs] cvs: loncom /homework radiobuttonresponse.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Thu, 28 Feb 2008 11:59:50 -0000
bisitz Thu Feb 28 06:59:50 2008 EDT
Modified files:
/loncom/homework radiobuttonresponse.pm
Log:
Localization:
Added missing &mt() to after solved messages "Correct:" and "Incorrect:"
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.131 loncom/homework/radiobuttonresponse.pm:1.132
--- loncom/homework/radiobuttonresponse.pm:1.131 Fri Feb 1 17:05:45 2008
+++ loncom/homework/radiobuttonresponse.pm Thu Feb 28 06:59:50 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.131 2008/02/01 22:05:45 raeburn Exp $
+# $Id: radiobuttonresponse.pm,v 1.132 2008/02/28 11:59:50 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -567,9 +567,14 @@
$result.='\item \vskip -2 mm ';
}
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
- if ($target ne 'tex') { $result.='Correct:<b>'; } else { $result.='Correct: \textbf{';}
+# if ($target ne 'tex') { $result.='Correct:<b>'; } else { $result.='Correct: \textbf{';}
+ if ($target ne 'tex') {
+ $result.=&mt('Correct:').'<b>';
+ } else {
+ $result.=&mt('Correct:').' \textbf{';
+ }
} else {
- $result.='Incorrect:';
+ $result.=&mt('Incorrect:');
}
if ($target eq 'web') { $result.="<label>"; }
$result.=$Apache::response::foilgroup{$name.'.text'};