[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 04 Dec 2003 21:45:18 -0000


This is a MIME encoded message

--sakharuk1070574318
Content-Type: text/plain

sakharuk		Thu Dec  4 16:45:18 2003 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  Localization continues.
  
  
--sakharuk1070574318
Content-Type: text/plain
Content-Disposition: attachment; filename="sakharuk-20031204164518.txt"

Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.140 loncom/interface/lonparmset.pm:1.141
--- loncom/interface/lonparmset.pm:1.140	Thu Dec  4 15:06:29 2003
+++ loncom/interface/lonparmset.pm	Thu Dec  4 16:45:18 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.140 2003/12/04 20:06:29 sakharuk Exp $
+# $Id: lonparmset.pm,v 1.141 2003/12/04 21:45:18 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1508,6 +1508,7 @@
 
     my %values=&Apache::lonnet::dump('environment',$dom,$crs);
     my $SelectStyleFile=&mt('Select Style File');
+    my $SelectSpreadsheetFile=&mt('Select Spreadsheet File');
     my $output='';
     if (! exists($values{'con_lost'})) {
         my %descriptions=
@@ -1530,74 +1531,72 @@
                     '<a href="javascript:openbrowser'.
                     "('envform','default_xml_style'".
                     ",'sty')\">$SelectStyleFile</a><br>",
-             'question.email' => '<b>Feedback Addresses for Resource Content '.
-                                 'Questions</b><br />(<tt>user:domain,'.
+             'question.email' => '<b>'.&mt('Feedback Addresses for Resource Content Question').
+                                 '</b><br />(<tt>user:domain,'.
                                  'user:domain(section;section;...;*;...),...</tt>)',
-             'comment.email'  => '<b>Feedback Addresses for Course Content Comments</b><br />'.
+             'comment.email'  => '<b>'.&mt('Feedback Addresses for Course Content Comments').'</b><br />'.
                                  '(<tt>user:domain,user:domain(section;section;...;*;...),...</tt>)',
-             'policy.email'   => '<b>Feedback Addresses for Course Policy</b>'.
+             'policy.email'   => '<b>'.&mt('Feedback Addresses for Course Policy').'</b>'.
                                  '<br />(<tt>user:domain,user:domain(section;section;...;*;...),...</tt>)',
-             'hideemptyrows'  => '<b>Hide Empty Rows in Spreadsheets</b><br />'.
+             'hideemptyrows'  => '<b>'.&mt('Hide Empty Rows in Spreadsheets').'</b><br />'.
                                  '("<tt>yes</tt>" for default hiding)',
-             'pageseparators'  => '<b>Visibly Separate Items on Pages</b><br />'.
-                                 '("<tt>yes</tt>" for visible separation, '.
-                                 'changes will not show until next login)',
+             'pageseparators'  => '<b>'.&mt('Visibly Separate Items on Pages').'</b><br />'.
+                                 '("<tt>'.&mt('yes').'</tt>" '.&mt('for visible separation').', '.
+                                 &mt('changes will not show until next login').')',
 
-             'plc.roles.denied'=> '<b>Disallow live chatroom use for '.
-                                  'Roles</b><br />"<tt>st</tt>": '.
+             'plc.roles.denied'=> '<b>'.&mt('Disallow live chatroom use for Roles').
+                                  '</b><br />"<tt>st</tt>": '.
                                   'student, "<tt>ta</tt>": '.
                                   'TA, "<tt>in</tt>": '.
                                   'instructor;<br /><tt>role,role,...</tt>) '.
 	       Apache::loncommon::help_open_topic("Course_Disable_Discussion"),
              'plc.users.denied' => 
-                          '<b>Disallow live chatroom use for Users</b><br />'.
+                          '<b>'.&mt('Disallow live chatroom use for Users').'</b><br />'.
                                  '(<tt>user:domain,user:domain,...</tt>)',
 
-             'pch.roles.denied'=> '<b>Disallow Resource Discussion for '.
-                                  'Roles</b><br />"<tt>st</tt>": '.
+             'pch.roles.denied'=> '<b>'.&mt('Disallow Resource Discussion for Roles').
+                                  '</b><br />"<tt>st</tt>": '.
                                   'student, "<tt>ta</tt>": '.
                                   'TA, "<tt>in</tt>": '.
                                   'instructor;<br /><tt>role,role,...</tt>) '.
 	       Apache::loncommon::help_open_topic("Course_Disable_Discussion"),
              'pch.users.denied' => 
-                          '<b>Disallow Resource Discussion for Users</b><br />'.
+                          '<b>'.&mt('Disallow Resource Discussion for Users').'</b><br />'.
                                  '(<tt>user:domain,user:domain,...</tt>)',
              'spreadsheet_default_classcalc' 
-                 => '<b>Default Course Spreadsheet</b> '.
+                 => '<b>'.&mt('Default Course Spreadsheet').'</b> '.
                     '<a href="javascript:openbrowser'.
                     "('envform','spreadsheet_default_classcalc'".
-                    ",'spreadsheet')\">Select Spreadsheet File</a><br />",
+                    ",'spreadsheet')\">$SelectSpreadsheetFile</a><br />",
              'spreadsheet_default_studentcalc' 
-                 => '<b>Default Student Spreadsheet</b> '.
+                 => '<b>'.&mt('Default Student Spreadsheet').'</b> '.
                     '<a href="javascript:openbrowser'.
                     "('envform','spreadsheet_default_calc'".
-                    ",'spreadsheet')\">Select Spreadsheet File</a><br />",
+                    ",'spreadsheet')\">$SelectSpreadsheetFile</a><br />",
              'spreadsheet_default_assesscalc' 
-                 => '<b>Default Assessment Spreadsheet</b> '.
+                 => '<b>'.&mt('Default Assessment Spreadsheet').'</b> '.
                     '<a href="javascript:openbrowser'.
                     "('envform','spreadsheet_default_assesscalc'".
-                    ",'spreadsheet')\">Select Spreadsheet File</a><br />",
+                    ",'spreadsheet')\">$SelectSpreadsheetFile</a><br />",
 	     'allow_limited_html_in_feedback'
-	         => '<b>Allow limited HTML in discussion posts</b><br />'.
-	            '(Set value to "<tt>yes</tt>" to allow)',
+	         => '<b>'.&mt('Allow limited HTML in discussion posts').'</b><br />'.
+	            '('.&mt('Set value to').' "<tt>'.&mt('yes').'</tt>" '.&mt('to allow').')',
 	     'rndseed'
 	         => '<b>'.&mt('Randomization algorithm used').'</b> <br />'.
                     '<font color="red">'.&mt('Modifying this will make problems').' '.
                     &mt('have different numbers and answers').'</font>',
              'problem_stream_switch'
-                 => '<b>Allow problems to be split over pages</b><br />'.
-                    ' ("<tt>yes</tt>" if allowed, anything else if not)',
+                 => '<b>'.&mt('Allow problems to be split over pages').'</b><br />'.
+                    ' ("<tt>'.&mt('yes').'</tt>" '.&mt('if allowed, anything else if not').')',
              'anonymous_quiz'
-                 => '<b>Anonimous quiz/exam</b><br />'.
-                    ' (<tt><b>yes</b> to avoid print students names </tt>)',
-             'default_enrollment_start_date' => '<b>Default beginning date '.
-                                                'when enrolling students</b>',
-             'default_enrollment_end_date'   => '<b>Default ending date '.
-                                                'when enrolling students</b>',
+                 => '<b>'.&mt('Anonimous quiz/exam').'</b><br />'.
+                    ' (<tt><b>'.&mt('yes').'</b> '.&mt('to avoid print students names').' </tt>)',
+             'default_enrollment_start_date' => '<b>'.&mt('Default beginning date when enrolling students').'</b>',
+             'default_enrollment_end_date'   => '<b>'.&mt('Default ending date when enrolling students').'</b>',
              'languages' => '<b>'.&mt('Languages used').'</b>',
              'disable_receipt_display'
-                 => '<b>Disable display of problem receipts</b><br />'.
-                    ' ("<tt>yes</tt>" to disable, anything else if not)'
+                 => '<b>'.&mt('Disable display of problem receipts').'</b><br />'.
+                    ' ("<tt>'.&mt('yes').'</tt>" '.&mt('to disable, anything else if not').')'
              ); 
         my @Display_Order = ('url','description','courseid','grading',
                              'default_xml_style','pageseparators',
@@ -1659,6 +1658,7 @@
     }
     my $Parameter=&mt('Parameter');
     my $Value=&mt('Value');
+    my $Set=&mt('Set');
     $r->print(<<ENDENV);
 <html>
 <script type="text/javascript" language="Javascript" >
@@ -1693,7 +1693,7 @@
 $setoutput
 <p>
 <table border=2>
-<tr><th>$Parameter</th><th>$Value</th><th>Set?</th></tr>
+<tr><th>$Parameter</th><th>$Value</th><th>$Set?</th></tr>
 $output
 </table>
 <input type="submit" name="crsenv" value="Set Course Environment">

--sakharuk1070574318--