--- loncom/interface/statistics/lonproblemanalysis.pm 2008/10/30 17:45:25 1.132
+++ loncom/interface/statistics/lonproblemanalysis.pm 2010/06/10 16:14:39 1.139
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemanalysis.pm,v 1.132 2008/10/30 17:45:25 bisitz Exp $
+# $Id: lonproblemanalysis.pm,v 1.139 2010/06/10 16:14:39 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -663,7 +663,7 @@ sub numerical_determine_answers {
}
$answers{$correct->{$sname.':'.$sdom}{'answer'}}++;
&Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state,
- &mt('last student'));
+ 'last student');
}
&Apache::lonstathelpers::write_analysis_cache();
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
@@ -1332,7 +1332,7 @@ sub OR_tries_analysis {
if ($try > 1) {
$analysis_html.= '
'
.''
- .&mt('None of the selected students attempted the problem more than [_1] times.'
+ .&mt('None of the selected students attempted the problem more than [quant,_1,time].'
,$try-1)
.'
'
.' ';
@@ -1558,7 +1558,7 @@ sub OR_time_analysis {
$table .= ''.
&mt('Start time: [_1]',$startdateform).' '.
&mt('End time: [_1]',$enddateform).' '.$/;
- $table.= '  '.$/;
+ $table.= ' '.$/;
}
$table .= '';
#
@@ -1901,17 +1901,17 @@ sub CreateInterface {
#
##
##
- $Str .= '';
+ $Str .= ' ';
##
my $showprob_checkbox =
- ' ';
- $Str.= ''.
- &mt('Show problem [_1]',$showprob_checkbox).
- ' ';
+ $Str.= ''.
+ $showprob_checkbox.' '.&mt('Show problem').
+ ' ';
##
my $analyze_selector = '';
$analyze_selector .= '';
$analyze_selector .= ' ';
- $Str .= ''.
+ $Str .= ''.
&mt('Analyze Over [_1] [_2]',
$analyze_selector,
&Apache::loncommon::help_open_topic('Analysis_Analyze_Over')).
- ' '.$/;
+ ' '.$/;
##
my $numplots_selector = '';
if (! exists($env{'form.NumPlots'})
@@ -1942,9 +1942,9 @@ sub CreateInterface {
if ($env{'form.NumPlots'} == $i) { $numplots_selector.=' selected="selected" '; }
$numplots_selector .= '>'.$i.'';
}
- $numplots_selector .= ' ';
- $Str .= ''.&mt('Number of Plots [_1]',$numplots_selector).
- ' ';
+ $numplots_selector .= '';
+ $Str .= ''.&mt('Number of Plots [_1]',$numplots_selector).
+ ' ';
##
$Str .= ' ';
##