Changeset 7207

Show
Ignore:
Timestamp:
01/04/07 15:34:36 (2 years ago)
Author:
GamerZ
Message:

BUGS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-stats/trunk/stats/stats.php

    r7204 r7207  
    563563 
    564564            $temp_stats .= '<h2>'.__('Comments Posted By', 'wp-stats').' '.$comment_author.'</h2>'."\n"; 
    565             $temp_stats .= '<p>'.sprintf(__('Displaying <strong>%s</strong> To <strong>%t</strong> Of <strong>%u</strong> Comments', 'wp-stats'), $displayonpage, $maxonpage, $totalcomments).'</p>'."\n"; 
     565            $temp_stats .= '<p>'.sprintf(__('Displaying <strong>%s</strong> To <strong>%s</strong> Of <strong>%s</strong> Comments', 'wp-stats'), $displayonpage, $maxonpage, $totalcomments).'</p>'."\n"; 
    566566 
    567567            // Get Comments 
     
    580580                              if($post_title != $cache_post_title) { 
    581581                                    $temp_stats .= "<p><strong><a href=\"".get_permalink()."\" title=\"".__('Posted On', 'wp-stats')." $post_date\">".__('Protected', 'wp-stats').": $post_title</a></strong></p>\n"; 
    582                                     $temp_stats .= '<blockquote>'.__('Comments Protected', 'wp-stats').'</blockquote>'."\n";       
     582                                    $temp_stats .= '<blockquote>'.__('Comments Protected', 'wp-stats').'</blockquote>';      
    583583                              }                                          
    584584                        } else { 
     
    587587                                    $temp_stats .= "<p><strong><a href=\"".get_permalink()."\" title=\"".__('Posted On', 'wp-stats')." $post_date\">$post_title</a></strong></p>\n"; 
    588588                              } 
    589                               $temp_stats .= "<blockquote>$comment_content <a href=\"".get_permalink()."#comment-$comment_id\">Comment</a> ".__('Posted By', 'wp-stats')." <strong>$comment_author2</strong> ".__('On', 'wp-stats')." $comment_date</blockquote>\n";                                 
     589                              $temp_stats .= "<blockquote>$comment_content <a href=\"".get_permalink()."#comment-$comment_id\">Comment</a> ".__('Posted By', 'wp-stats')." <strong>$comment_author2</strong> ".__('On', 'wp-stats')." $comment_date</blockquote>";                                   
    590590                        } 
    591591                        $cache_post_title = $post_title; 
     
    598598            if($totalpages > 1) { 
    599599                  // Previous Page 
    600                   $temp_stats .= '<p>'."\n"
    601                   $temp_stats .= '<span style="float: left">'."\n"
     600                  $temp_stats .= '<p>'
     601                  $temp_stats .= '<span style="float: left">'
    602602                  if($page > 1 && ((($page*$perpage)-($perpage-1)) < $totalcomments)) { 
    603                         $temp_stats .= '<strong>&laquo;</strong> <a href="'.stats_page_link($comment_author_link, $page-1).'" title="&laquo; '.__('Previous Page', 'wp-stats').'">'.__('Previous Page', 'wp-stats').'</a>'."\n"
     603                        $temp_stats .= '<strong>&laquo;</strong> <a href="'.stats_page_link($comment_author_link, $page-1).'" title="&laquo; '.__('Previous Page', 'wp-stats').'">'.__('Previous Page', 'wp-stats').'</a>'
    604604                  } else { 
    605                         $temp_stats .= '&nbsp;'."\n"
    606                   } 
    607                   $temp_stats .= '</span>'."\n"
     605                        $temp_stats .= '&nbsp;'
     606                  } 
     607                  $temp_stats .= '</span>'
    608608                  // Next Page 
    609                   $temp_stats .= '<span style="float: right">'."\n"
     609                  $temp_stats .= '<span style="float: right">'
    610610                  if($page >= 1 && ((($page*$perpage)+1) <  $totalcomments)) { 
    611                         $temp_stats .= '<a href="'.stats_page_link($comment_author_link, $page+1).'" title="'.__('Next Page', 'wp-stats').' &raquo;">'.__('Next Page', 'wp-stats').'</a> <strong>&raquo;</strong>'."\n"
     611                        $temp_stats .= '<a href="'.stats_page_link($comment_author_link, $page+1).'" title="'.__('Next Page', 'wp-stats').' &raquo;">'.__('Next Page', 'wp-stats').'</a> <strong>&raquo;</strong>'
    612612                  } else { 
    613                         $temp_stats .= '&nbsp;'."\n"
    614                   } 
    615                   $temp_stats .= '</span>'."\n"
    616                   $temp_stats .= '</p>'."\n"
     613                        $temp_stats .= '&nbsp;'
     614                  } 
     615                  $temp_stats .= '</span>'
     616                  $temp_stats .= '</p>'
    617617                  // Pages 
    618                   $temp_stats .= '<br style="clear: both" />'."\n"
    619                   $temp_stats .= '<p align="center">'."\n"
    620                   $temp_stats .= sprintf(__('Pages (%s)', 'wp-stats'), $totalpages).':'."\n"
     618                  $temp_stats .= '<br style="clear: both" />'
     619                  $temp_stats .= '<p align="center">'
     620                  $temp_stats .= sprintf(__('Pages (%s)', 'wp-stats'), $totalpages).': '
    621621                  if ($page >= 4) { 
    622                         $temp_stats .= '<strong><a href="'.stats_page_link($comment_author_link).'" title="'.__('Go to First Page', 'wp-stats').'">&laquo; '.__('First', 'wp-stats').'</a></strong> ... '."\n"
     622                        $temp_stats .= '<strong><a href="'.stats_page_link($comment_author_link).'" title="'.__('Go to First Page', 'wp-stats').'">&laquo; '.__('First', 'wp-stats').'</a></strong> ... '
    623623                  } 
    624624                  if($page > 1) { 
    625                         $temp_stats .= ' <strong><a href="'.stats_page_link($comment_author_link, $page-1).'" title="&laquo; '.__('Go to Page', 'wp-stats').' '.($page-1).'">&laquo;</a></strong> '."\n"
     625                        $temp_stats .= ' <strong><a href="'.stats_page_link($comment_author_link, $page-1).'" title="&laquo; '.__('Go to Page', 'wp-stats').' '.($page-1).'">&laquo;</a></strong> '
    626626                  } 
    627627                  for($i = $page - 2 ; $i  <= $page +2; $i++) { 
    628628                        if ($i >= 1 && $i <= $totalpages) { 
    629629                              if($i == $page) { 
    630                                     $temp_stats .= "<strong>[$i]</strong> "."\n"
     630                                    $temp_stats .= "<strong>[$i]</strong> "
    631631                              } else { 
    632                                     $temp_stats .= '<a href="'.stats_page_link($comment_author_link, $i).'" title="'.__('Page', 'wp-stats').' '.$i.'">'.$i.'</a> '."\n"
     632                                    $temp_stats .= '<a href="'.stats_page_link($comment_author_link, $i).'" title="'.__('Page', 'wp-stats').' '.$i.'">'.$i.'</a> '
    633633                              } 
    634634                        } 
    635635                  } 
    636636                  if($page < $totalpages) { 
    637                         $temp_stats .= ' <strong><a href="'.stats_page_link($comment_author_link, $page+1).'" title="'.__('Go to Page', 'wp-stats').' '.($page+1).' &raquo;">&raquo;</a></strong> '."\n"
     637                        $temp_stats .= ' <strong><a href="'.stats_page_link($comment_author_link, $page+1).'" title="'.__('Go to Page', 'wp-stats').' '.($page+1).' &raquo;">&raquo;</a></strong> '
    638638                  } 
    639639                  if (($page+2) < $totalpages) { 
    640                         $temp_stats .= ' ... <strong><a href="'.stats_page_link($comment_author_link, $totalpages).'" title="'.__('Go to Last Page', 'wp-stats').'">'.__('Last', 'wp-stats').' &raquo;</a></strong>'."\n"
     640                        $temp_stats .= ' ... <strong><a href="'.stats_page_link($comment_author_link, $totalpages).'" title="'.__('Go to Last Page', 'wp-stats').'">'.__('Last', 'wp-stats').' &raquo;</a></strong>'
    641641                  } 
    642642                  $temp_stats .= '</p>'."\n"; 
    643643            } 
    644             $temp_stats .= '<p><strong>&laquo;&laquo;</strong> <a href="'.$stats_url.'">'.__('Back To Stats Page', 'wp-stats').' </a></p>'."\n"
     644            $temp_stats .= '<p><strong>&laquo;&laquo;</strong> <a href="'.$stats_url.'">'.__('Back To Stats Page', 'wp-stats').' </a></p>'
    645645      } // End If 
    646646       
  • wp-stats/trunk/stats/wp-stats.pot

    r7204 r7207  
    33"Project-Id-Version: WP-Stats 2.06\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-01-04 21:57+0800\n" 
     5"PO-Revision-Date: 2007-01-04 23:34+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@homtail.com>\n" 
     
    400400 
    401401#: stats.php:565 
    402 msgid "Displaying <strong>%s</strong> To <strong>%t</strong> Of <strong>%u</strong> Comments" 
     402#, php-format 
     403msgid "Displaying <strong>%s</strong> To <strong>%s</strong> Of <strong>%s</strong> Comments" 
    403404msgstr "" 
    404405