--- loncom/interface/lonwhatsnew.pm 2007/03/02 20:58:32 1.69 +++ loncom/interface/lonwhatsnew.pm 2007/03/02 22:16:47 1.70 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.69 2007/03/02 20:58:32 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.70 2007/03/02 22:16:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -311,7 +311,7 @@ sub display_actions_box { $r->print(&mt('Page set to be displayed after you have selected a role in this '.$lctype). '. '.&mt('Currently: [_1]',$currinit).'.  '. &mt('Change for just this '.$lctype.'',$refpage).' '. - &mt('or for all your courses',$refpage).'

'); + &mt('or for all your courses.',$refpage).'

'); if ($command eq 'reset') { $result = &process_reset($cdom,$crs); @@ -470,9 +470,9 @@ sub display_threshold_config { $r->print('
'. &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_header_row(). - 'Threshold Name'."\n". - 'Current value'."\n". - 'Change?'."\n". + ''.&mt('Threshold Name').''."\n". + ''.&mt('Current value').''."\n". + ''.&mt('Change?').''."\n". &Apache::loncommon::end_data_table_header_row()); foreach my $type (@thresholditems) { my $parameter = $env{'request.course.id'}.':threshold_'.$type; @@ -521,7 +521,7 @@ sub display_interval_config {    @@ -556,7 +556,7 @@ function toggle_countunread(choice) { document.discussionswitch.submit(); } '); - $r->print('
'.&mt('Choose whether or not to display a count of the number of new posts for each resource or bulletin board which has unread posts.').'
'.&mt('This can increase the time taken to gather data for the [_1] page by a few seconds.',"What's New?").'  '.&mt('Currently set to [_1].',''.$current.'')); + $r->print('
'.&mt('Choose whether or not to display a count of the number of new posts for each resource or bulletin board which has unread posts.').'
'.&mt("This can increase the time taken to gather data for the 'What's New?' page by a few seconds.").'  '.&mt("Currently set to $current.")); $r->print('

@@ -1302,7 +1302,7 @@ sub display_coursediscussion { my $css_class = $rowNum%2?' class="LC_odd_row"':''; my $lastpost = &Apache::lonnavmaps::timeToHumanString( $$unread{$ressymb}{'lastpost'}); - $r->print(''.$forum_title.' '.$type.' '); + $r->print(''.$forum_title.' '.&mt($type).' '); if ($countunread eq 'on') { my $unreadnum = $$unread{$ressymb}{'unreadcount'}; $r->print(''.$lastpost.''. @@ -1514,11 +1514,13 @@ sub start_box { my $showhide; if ($$show{$caller}) { $showhide = 'Hide'; + 'display_'.$caller.",'hide'".');">'. + &mt('Hide').''; } else { $showhide = 'Show'; + 'display_'.$caller.",'show'".');">'. + &mt('Show').''; } $r->print('