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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 28 Apr 2004 18:10:54 -0000


sakharuk		Wed Apr 28 14:10:54 2004 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  1. Added some localization statements. 2. Changed some localization statements to more appropriate form (with parameters).
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.157 loncom/interface/lonparmset.pm:1.158
--- loncom/interface/lonparmset.pm:1.157	Wed Apr 28 11:33:12 2004
+++ loncom/interface/lonparmset.pm	Wed Apr 28 14:10:54 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.157 2004/04/28 15:33:12 sakharuk Exp $
+# $Id: lonparmset.pm,v 1.158 2004/04/28 18:10:54 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1530,7 +1530,7 @@
                                  &mt('Modification may make assessment data inaccessible').
                                  '</font>',
              'description'    => '<b>'.&mt('Course Description').'</b>',
-             'courseid'       => '<b>'.&mt('Course ID').' '.&mt('or').' '.&mt('number').
+             'courseid'       => '<b>'.&mt('Course ID or number').
                                  '</b><br />'.
                                  '('.&mt('internal').', '.&mt('optional').')',
              'grading'        => '<b>'.&mt('Grading').'</b><br />'.
@@ -1547,16 +1547,16 @@
              'policy.email'   => '<b>'.&mt('Feedback Addresses for Course Policy').'</b>'.
                                  '<br />(<tt>user:domain,user:domain(section;section;...;*;...),...</tt>)',
              'hideemptyrows'  => '<b>'.&mt('Hide Empty Rows in Spreadsheets').'</b><br />'.
-                                 '("<tt>yes</tt>" for default hiding)',
+                                 '('.&mt('"[_1]" for default hiding','<tt>yes</tt>').')',
              'pageseparators'  => '<b>'.&mt('Visibly Separate Items on Pages').'</b><br />'.
-                                 '("<tt>'.&mt('yes').'</tt>" '.&mt('for visible separation').', '.
+                                 '('.&mt('"[_1]" for visible separation','<tt>yes</tt>').', '.
                                  &mt('changes will not show until next login').')',
 
              'plc.roles.denied'=> '<b>'.&mt('Disallow live chatroom use for Roles').
                                   '</b><br />"<tt>st</tt>": '.
-                                  'student, "<tt>ta</tt>": '.
+                                  &mt('student').', "<tt>ta</tt>": '.
                                   'TA, "<tt>in</tt>": '.
-                                  'instructor;<br /><tt>role,role,...</tt>) '.
+                                  &mt('instructor').';<br /><tt>'.&mt('role,role,...').'</tt>) '.
 	       Apache::loncommon::help_open_topic("Course_Disable_Discussion"),
              'plc.users.denied' => 
                           '<b>'.&mt('Disallow live chatroom use for Users').'</b><br />'.
@@ -1588,7 +1588,7 @@
                     ",'spreadsheet')\">$SelectSpreadsheetFile</a><br />",
 	     'allow_limited_html_in_feedback'
 	         => '<b>'.&mt('Allow limited HTML in discussion posts').'</b><br />'.
-	            '('.&mt('Set value to').' "<tt>'.&mt('yes').'</tt>" '.&mt('to allow').')',
+	            '('.&mt('Set value to "[_1]" to allow',"<tt>yes</tt>").')',
 	     'rndseed'
 	         => '<b>'.&mt('Randomization algorithm used').'</b> <br />'.
                     '<font color="red">'.&mt('Modifying this will make problems').' '.
@@ -1598,7 +1598,7 @@
                     &mt('This controls how receipt numbers are generated.'),
              'problem_stream_switch'
                  => '<b>'.&mt('Allow problems to be split over pages').'</b><br />'.
-                    ' ("<tt>'.&mt('yes').'</tt>" '.&mt('if allowed, anything else if not').')',
+                    ' ('.&mt('"[_1]" if allowed, anything else if not','<tt>yes</tt>').')',
              'anonymous_quiz'
                  => '<b>'.&mt('Anonymous quiz/exam').'</b><br />'.
                     ' (<tt><b>'.&mt('yes').'</b> '.&mt('to avoid print students names').' </tt>)',
@@ -1609,7 +1609,7 @@
              'languages' => '<b>'.&mt('Languages used').'</b>',
              'disable_receipt_display'
                  => '<b>'.&mt('Disable display of problem receipts').'</b><br />'.
-                    ' ("<tt>'.&mt('yes').'</tt>" '.&mt('to disable, anything else if not').')',
+                    ' ('.&mt('"[_1]" to disable, anything else if not','<tt>yes</tt>').')',
 	     'tthoptions'
 	         => '<b>'.&mt('Default set of options to pass to tth/m when converting tex').'</b>'
              );