'."\n";
unshift (@{$maprows},$output);
@@ -1622,7 +1623,7 @@ sub show_reservations {
my %log=&Apache::lonnet::dump('nohist_'.$cdom.'_'.$cnum.'_slotlog',$udom,$uname);
if ($env{'form.origin'} eq 'aboutme') {
$r->print('
'.
- &mt('History of student-schedulable slots for: [_1]',
+ &mt('History of student-reservable slots for: [_1]',
&Apache::loncommon::plainname($env{'form.uname'},$env{'form.udom'},
'firstname')).'
');
}
@@ -1735,7 +1736,7 @@ ENDSCRIPT
}
} else {
$r->print(''
- .&mt('There are no transactions to display')
+ .&mt('There are no transactions to display.')
.''
);
}
@@ -1763,7 +1764,7 @@ sub show_reservations_log {
$badslot = 1;
} elsif ($slot{type} ne 'schedulable_student') {
my $description = &get_description($env{'form.slotname'},\%slot);
- $r->print('
'.&mt('Reservation history unavailable for non-student-schedulable slot: [_1].',$description).'
');
+ $r->print('
'.&mt('Reservation history unavailable for non-student-reservable slot: [_1].',$description).'
');
$badslot = 1;
}
}
@@ -1835,7 +1836,7 @@ sub show_reservations_log {
my %slot=&Apache::lonnet::get_slot($env{'form.slotname'});
my $description = $slot{'description'};
$r->print(''.
- &mt('Reservation changes for student-schedulable slot: [_1]',$description).' ');
+ &mt('Reservation changes for student-reservable slot: [_1]',$description).' ');
$r->print(&display_filter($formname,$cdom,$cnum,\%curr,$version,\@allsymbs));
my $showntablehdr = 0;
@@ -1932,7 +1933,7 @@ function chgPage(caller) {
ENDSCRIPT
}
} else {
- $r->print(&mt('There are no records to display'));
+ $r->print(&mt('There are no records to display.'));
}
$r->print(''.
''.
@@ -2051,36 +2052,41 @@ sub display_filter {
}
$output .= '
'.
- ''.
- &mt('[_1]Note:[_2] Only changes made from servers running LON-CAPA 2.8.99.0 or later are displayed.');
+ '
'.
+ &mt('Only changes made from servers running LON-CAPA [_1] or later are displayed.'
+ ,'2.8.99.0');
if ($version) {
- $output .= ' '.&mt('This server is version [_3].','','',$version);
+ $output .= ' '.&mt('This LON-CAPA server is version [_1]',$version);
}
- $output .= '
';
+ $output .= ' ';
return $output;
}
sub upload_start {
my ($r)=@_;
- $r->print(&Apache::grades::checkforfile_js());
- my $result.='
'."\n";
- $result.=' '.
- &mt('Specify a file containing the slot definitions.').
- '
'."\n";
- $result.='
'."\n";
- my $upfile_select=&Apache::loncommon::upfile_select_html();
- my $ignore=&mt('Ignore First Line');
- $result.=<
-
-$upfile_select
-
-
-
-ENDUPFORM
- $result.='
'.&mt('Specify a file containing the slot definitions.').'
'
+ .''
+ );
}
sub csvuploadmap_header {
@@ -2102,8 +2108,8 @@ sub csvuploadmap_header {
Total number of records found in file: $distotal
Enter as many fields as you can. The system will inform you and bring you back
to this page if the data selected is insufficient to create the slots.
-
-
+
+
@@ -2127,7 +2133,7 @@ sub csvuploadmap_footer {
-
+
ENDPICK
}