--- loncom/interface/lonparmset.pm 2003/12/12 19:41:11 1.139.2.2
+++ loncom/interface/lonparmset.pm 2003/12/08 23:17:52 1.143
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.139.2.2 2003/12/12 19:41:11 albertel Exp $
+# $Id: lonparmset.pm,v 1.143 2003/12/08 23:17:52 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1507,94 +1507,96 @@ sub crsenv {
# -------------------------------------------------------- Get parameters again
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=
- ('url' => 'Top Level Map '.
+ ('url' => ''.&mt('Top Level Map').' '.
'".
- 'Select Map
'.
- 'Modification may make assessment data '.
- 'inaccessible',
- 'description' => 'Course Description',
- 'courseid' => 'Course ID or number
'.
- '(internal, optional)',
- 'grading' => 'Grading'.
- '"standard", "external", or any other value.'.
- ' Default for new courses is "standard".',
-
- 'default_xml_style' => 'Default XML Style File '.
+ &mt('Select Map').'
'.
+ &mt('Modification may make assessment data inaccessible').
+ '',
+ 'description' => ''.&mt('Course Description').'',
+ 'courseid' => ''.&mt('Course ID').' '.&mt('or').' '.&mt('number').
+ '
'.
+ '('.&mt('internal').', '.&mt('optional').')',
+ 'grading' => ''.&mt('Grading').''.
+ ' "'.&mt('standard').'", "'.&mt('external').'", '.
+ &mt('or any other value').'.'.
+ ' '.&mt('Default for new courses is').' "'.
+ &mt('standard').'".',
+ 'default_xml_style' => ''.&mt('Default XML Style File').' '.
'Select Style File
",
- 'question.email' => 'Feedback Addresses for Resource Content '.
- 'Questions
(user:domain,'.
+ ",'sty')\">$SelectStyleFile
",
+ 'question.email' => ''.&mt('Feedback Addresses for Resource Content Question').
+ '
(user:domain,'.
'user:domain(section;section;...;*;...),...)',
- 'comment.email' => 'Feedback Addresses for Course Content Comments
'.
+ 'comment.email' => ''.&mt('Feedback Addresses for Course Content Comments').'
'.
'(user:domain,user:domain(section;section;...;*;...),...)',
- 'policy.email' => 'Feedback Addresses for Course Policy'.
+ 'policy.email' => ''.&mt('Feedback Addresses for Course Policy').''.
'
(user:domain,user:domain(section;section;...;*;...),...)',
- 'hideemptyrows' => 'Hide Empty Rows in Spreadsheets
'.
+ 'hideemptyrows' => ''.&mt('Hide Empty Rows in Spreadsheets').'
'.
'("yes" for default hiding)',
- 'pageseparators' => 'Visibly Separate Items on Pages
'.
- '("yes" for visible separation, '.
- 'changes will not show until next login)',
+ 'pageseparators' => ''.&mt('Visibly Separate Items on Pages').'
'.
+ '("'.&mt('yes').'" '.&mt('for visible separation').', '.
+ &mt('changes will not show until next login').')',
- 'plc.roles.denied'=> 'Disallow live chatroom use for '.
- 'Roles
"st": '.
+ 'plc.roles.denied'=> ''.&mt('Disallow live chatroom use for Roles').
+ '
"st": '.
'student, "ta": '.
'TA, "in": '.
'instructor;
role,role,...) '.
Apache::loncommon::help_open_topic("Course_Disable_Discussion"),
'plc.users.denied' =>
- 'Disallow live chatroom use for Users
'.
+ ''.&mt('Disallow live chatroom use for Users').'
'.
'(user:domain,user:domain,...)',
- 'pch.roles.denied'=> 'Disallow Resource Discussion for '.
- 'Roles
"st": '.
+ 'pch.roles.denied'=> ''.&mt('Disallow Resource Discussion for Roles').
+ '
"st": '.
'student, "ta": '.
'TA, "in": '.
'instructor;
role,role,...) '.
Apache::loncommon::help_open_topic("Course_Disable_Discussion"),
'pch.users.denied' =>
- 'Disallow Resource Discussion for Users
'.
+ ''.&mt('Disallow Resource Discussion for Users').'
'.
'(user:domain,user:domain,...)',
'spreadsheet_default_classcalc'
- => 'Default Course Spreadsheet '.
+ => ''.&mt('Default Course Spreadsheet').' '.
'Select Spreadsheet File
",
+ ",'spreadsheet')\">$SelectSpreadsheetFile
",
'spreadsheet_default_studentcalc'
- => 'Default Student Spreadsheet '.
+ => ''.&mt('Default Student Spreadsheet').' '.
'Select Spreadsheet File
",
+ ",'spreadsheet')\">$SelectSpreadsheetFile
",
'spreadsheet_default_assesscalc'
- => 'Default Assessment Spreadsheet '.
+ => ''.&mt('Default Assessment Spreadsheet').' '.
'Select Spreadsheet File
",
+ ",'spreadsheet')\">$SelectSpreadsheetFile
",
'allow_limited_html_in_feedback'
- => 'Allow limited HTML in discussion posts
'.
- '(Set value to "yes" to allow)',
+ => ''.&mt('Allow limited HTML in discussion posts').'
'.
+ '('.&mt('Set value to').' "'.&mt('yes').'" '.&mt('to allow').')',
'rndseed'
- => 'Randomization algorithm used
'.
- 'Modifying this will make problems '.
- 'have different numbers and answers',
+ => ''.&mt('Randomization algorithm used').'
'.
+ ''.&mt('Modifying this will make problems').' '.
+ &mt('have different numbers and answers').'',
'problem_stream_switch'
- => 'Allow problems to be split over pages
'.
- ' ("yes" if allowed, anything else if not)',
+ => ''.&mt('Allow problems to be split over pages').'
'.
+ ' ("'.&mt('yes').'" '.&mt('if allowed, anything else if not').')',
'anonymous_quiz'
- => 'Anonimous quiz/exam
'.
- ' (yes to avoid print students names )',
- 'default_enrollment_start_date' => 'Default beginning date '.
- 'when enrolling students',
- 'default_enrollment_end_date' => 'Default ending date '.
- 'when enrolling students',
- 'languages' => 'Languages used',
+ => ''.&mt('Anonimous quiz/exam').'
'.
+ ' ('.&mt('yes').' '.&mt('to avoid print students names').' )',
+ 'default_enrollment_start_date' => ''.&mt('Default beginning date when enrolling students').'',
+ 'default_enrollment_end_date' => ''.&mt('Default ending date when enrolling students').'',
+ 'languages' => ''.&mt('Languages used').'',
'disable_receipt_display'
- => 'Disable display of problem receipts
'.
- ' ("yes" to disable, anything else if not)'
+ => ''.&mt('Disable display of problem receipts').'
'.
+ ' ("'.&mt('yes').'" '.&mt('to disable, anything else if not').')'
);
my @Display_Order = ('url','description','courseid','grading',
'default_xml_style','pageseparators',
@@ -1656,6 +1658,9 @@ sub crsenv {
$onchange.' />'.
' | ';
}
+ my $Parameter=&mt('Parameter');
+ my $Value=&mt('Value');
+ my $Set=&mt('Set');
$r->print(<