--- loncom/interface/lonstatistics.pm 2011/01/17 00:19:38 1.154 +++ loncom/interface/lonstatistics.pm 2012/05/03 11:21:27 1.156 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.154 2011/01/17 00:19:38 www Exp $ +# $Id: lonstatistics.pm,v 1.156 2012/05/03 11:21:27 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -413,7 +413,7 @@ sub StudentDataSelect { last; } } - $Str .= ">all\n"; + $Str .= '>'.&mt('all')."\n"; # # Loop through the student data fields foreach my $item (@StudentDataOrder) { @@ -424,7 +424,7 @@ sub StudentDataSelect { last; } } - $Str .= '>'.$item."\n"; + $Str .= '>'.&mt($item)."\n"; } $Str .= "\n"; return $Str; @@ -846,9 +846,9 @@ ENDSTYLE # if (! &Apache::lonmysql::verify_sql_connection()) { my $serveradmin = $r->dir_config('lonAdmEMail'); - $r->print('

'. + $r->print('

'. &mt('Unable to connect to database!'). - '

'); + '

'); $r->print('

' .&mt('Please notify the server administrator [_1]', ,''.$serveradmin.'')