[LON-CAPA-cvs] cvs: loncom /interface lonstatistics.pm /interface/statistics loncorrectproblemplot.pm lonproblemanalysis.pm lonproblemstatistics.pm lonstudentassessment.pm lonstudentsubmissions.pm lonsubmissiontimeanalysis.pm

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 20 Feb 2004 16:38:49 -0000


This is a MIME encoded message

--matthew1077295129
Content-Type: text/plain

matthew		Fri Feb 20 11:38:49 2004 EDT

  Modified files:              
    /loncom/interface	lonstatistics.pm 
    /loncom/interface/statistics	loncorrectproblemplot.pm 
                                	lonproblemanalysis.pm 
                                	lonproblemstatistics.pm 
                                	lonstudentassessment.pm 
                                	lonstudentsubmissions.pm 
                                	lonsubmissiontimeanalysis.pm 
  Log:
  Translate text passed in to &Apache::lonhtmlcommon::breadcrumbs and
  &Apache::lonhtmlcommon::add_breadcrumb.
  
  
--matthew1077295129
Content-Type: text/plain
Content-Disposition: attachment; filename="matthew-20040220113849.txt"

Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.98 loncom/interface/lonstatistics.pm:1.99
--- loncom/interface/lonstatistics.pm:1.98	Fri Feb 20 11:24:20 2004
+++ loncom/interface/lonstatistics.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstatistics.pm,v 1.98 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonstatistics.pm,v 1.99 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1112,14 +1112,14 @@
     # Either print out a menu for them or send them to a report
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/statistics',
-                                            title=>'Statistics',
-                                            text =>'Statistics',
+                                            title=>&mt('Statistics'),
+                                            text =>&mt('Statistics'),
                                             faq=>139,
                                             bug=>'Statistics and Charts'});
     if (! exists($ENV{'form.reportSelected'}) || 
         $ENV{'form.reportSelected'} eq '') {
         $r->print(&Apache::lonhtmlcommon::breadcrumbs
-                  (undef,'Statistics Main Page').
+                  (undef,&mt('Statistics Main Page')).
                   &CreateMainMenu());
     } else {
     #
@@ -1162,40 +1162,40 @@
         } elsif($GoToPage eq 'problem_statistics') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=problem_statistics',
-                  text=>'Overall Problem Statistics',
+                  text=>&mt('Overall Problem Statistics'),
                   faq=>139,bug=>'Statistics and Charts'});
             &Apache::lonproblemstatistics::BuildProblemStatisticsPage($r,$c);
         } elsif($GoToPage eq 'problem_analysis') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=problem_analysis',
-                  text=>'Detailed Problem Analysis',
+                  text=>&mt('Detailed Problem Analysis'),
                   faq=>139,bug=>'Statistics and Charts'});
             &Apache::lonproblemanalysis::BuildProblemAnalysisPage($r,$c);
         } elsif($GoToPage eq 'submissiontime_analysis') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>
                       '/adm/statistics?reportselected=submissiontime_analysis',
-                      text=>'Submission Time Plots',
+                      text=>&mt('Submission Time Plots'),
                       faq=>139,bug=>'Statistics and Charts'});
             &Apache::lonsubmissiontimeanalysis::BuildSubmissionTimePage($r,$c);
         } elsif($GoToPage eq 'student_submission_reports') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>
                   '/adm/statistics?reportselected=student_submission_reports',
-                  text=>'Student Submission Reports',
+                  text=>&mt('Student Submission Reports'),
                   faq=>139,bug=>'Statistics and Charts'});
             &Apache::lonstudentsubmissions::BuildStudentSubmissionsPage($r,$c);
         } elsif($GoToPage eq 'correct_problems_plot') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=correct_problems_plot',
-                  text=>'Correct Problems Plot',
+                  text=>&mt('Correct Problems Plot'),
                   faq=>139,bug=>'Statistics and Charts'});
             &Apache::loncorrectproblemplot::BuildCorrectProblemsPage($r,$c);
         } elsif($GoToPage eq 'student_assessment') {
             &Apache::lonhtmlcommon::clear_breadcrumbs();
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=student_assessment',
-                  text=>'Chart',
+                  text=>&mt('Chart'),
                   faq=>139,bug=>'Statistics and Charts'});
             &Apache::lonstudentassessment::BuildStudentAssessmentPage($r,$c);
         }
Index: loncom/interface/statistics/loncorrectproblemplot.pm
diff -u loncom/interface/statistics/loncorrectproblemplot.pm:1.6 loncom/interface/statistics/loncorrectproblemplot.pm:1.7
--- loncom/interface/statistics/loncorrectproblemplot.pm:1.6	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/loncorrectproblemplot.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncorrectproblemplot.pm,v 1.6 2004/02/20 16:24:20 matthew Exp $
+# $Id: loncorrectproblemplot.pm,v 1.7 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -255,7 +255,8 @@
     ##
     ## Environment variable initialization
     my $Str;
-    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Correct Problems Plot');
+    $Str .= &Apache::lonhtmlcommon::breadcrumbs
+        (undef,&mt('Correct Problems Plot'));
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.72 loncom/interface/statistics/lonproblemanalysis.pm:1.73
--- loncom/interface/statistics/lonproblemanalysis.pm:1.72	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/lonproblemanalysis.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemanalysis.pm,v 1.72 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonproblemanalysis.pm,v 1.73 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1299,7 +1299,7 @@
     ## Build the menu
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,'Detailed Problem Analysis');
+        (undef,&mt('Detailed Problem Analysis'));
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.67 loncom/interface/statistics/lonproblemstatistics.pm:1.68
--- loncom/interface/statistics/lonproblemstatistics.pm:1.67	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/lonproblemstatistics.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemstatistics.pm,v 1.67 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.68 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -209,7 +209,7 @@
 sub CreateInterface {
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,'Overall Problem Statistics','Statistics_Overall_Key');
+        (undef,&mt('Overall Problem Statistics'),'Statistics_Overall_Key');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.92 loncom/interface/statistics/lonstudentassessment.pm:1.93
--- loncom/interface/statistics/lonstudentassessment.pm:1.92	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/lonstudentassessment.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.92 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.93 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -306,7 +306,7 @@
 #######################################################
 sub CreateInterface {
     my $Str = '';
-    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Chart');
+    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,&mt('Chart'));
 #    $Str .= &CreateLegend();
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.2 loncom/interface/statistics/lonstudentsubmissions.pm:1.3
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.2	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.2 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.3 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -328,7 +328,7 @@
     ## Environment variable initialization
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,'Student Submission Reports');
+        (undef,&mt('Student Submission Reports'));
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonsubmissiontimeanalysis.pm
diff -u loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.12 loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.13
--- loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.12	Fri Feb 20 11:24:20 2004
+++ loncom/interface/statistics/lonsubmissiontimeanalysis.pm	Fri Feb 20 11:38:49 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsubmissiontimeanalysis.pm,v 1.12 2004/02/20 16:24:20 matthew Exp $
+# $Id: lonsubmissiontimeanalysis.pm,v 1.13 2004/02/20 16:38:49 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -333,7 +333,8 @@
     ##
     ## Build the menu
     my $Str = '';
-    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Submission Time Plots');
+    $Str .= &Apache::lonhtmlcommon::breadcrumbs
+        (undef,&mt('Submission Time Plots'));
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';

--matthew1077295129--