[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
bisitz
bisitz at source.lon-capa.org
Fri Mar 28 10:43:26 EDT 2014
bisitz Fri Mar 28 14:43:26 2014 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
- Internationalization: Added missing &mt() call
- Consistent standard styles: Error style for error messages
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.173 loncom/interface/statistics/lonstudentassessment.pm:1.174
--- loncom/interface/statistics/lonstudentassessment.pm:1.173 Mon Jul 22 18:06:58 2013
+++ loncom/interface/statistics/lonstudentassessment.pm Fri Mar 28 14:43:26 2014
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.173 2013/07/22 18:06:58 bisitz Exp $
+# $Id: lonstudentassessment.pm,v 1.174 2014/03/28 14:43:26 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -430,7 +430,7 @@
sub OutputDescriptions {
my $Str = '';
- $Str .= "<h2>Output Formats</h2>\n";
+ $Str .= '<h2>'.&mt('Output Formats')."</h2>\n";
$Str .= "<dl>\n";
foreach my $outputmode (@OutputOptions) {
$Str .=" <dt>".$outputmode->{'name'}."</dt>\n";
@@ -1103,9 +1103,9 @@
&Apache::lonstatistics::selected_sequences_with_assessments();
if (! ref($navmap)) {
# Unable to get data, so bail out
- $r->print("<h3>".
+ $r->print('<p class="LC_error">'.
&mt('Unable to retrieve course information.').
- '</h3>');
+ '</p>');
}
#
my $total_columns = scalar(&get_student_fields_to_show());
@@ -1646,9 +1646,9 @@
&Apache::lonstatistics::selected_sequences_with_assessments();
if (! ref($navmap)) {
# Unable to get data, so bail out
- $r->print("<h3>".
+ $r->print('p class="LC_error">'.
&mt('Unable to retrieve course information.').
- '</h3>');
+ '</p>');
}
#
# Deal with unimplemented requests
More information about the LON-CAPA-cvs
mailing list