Changeset 21734

Show
Ignore:
Timestamp:
10/13/07 07:20:33 (9 months ago)
Author:
GamerZ
Message:

date_i18n() and number_format_i18n()

Files:

Legend:

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

    r20812 r21734  
    299299                                    $pollip_ip = $poll_ip->pollip_ip; 
    300300                                    $pollip_host = $poll_ip->pollip_host; 
    301                                     $pollip_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_ip->pollip_timestamp)); 
     301                                    $pollip_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_ip->pollip_timestamp); 
    302302                                    if($i%2 == 0) { 
    303303                                          $style = 'style=\'background-color: none\''; 
     
    327327                                    $pollip_ip = $poll_ip->pollip_ip; 
    328328                                    $pollip_host = $poll_ip->pollip_host; 
    329                                     $pollip_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_ip->pollip_timestamp)); 
     329                                    $pollip_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_ip->pollip_timestamp); 
    330330                                    if($pollip_aid != $poll_last_aid) { 
    331331                                          if($pollip_aid == 0) { 
     
    360360                        } 
    361361                        echo "<tr class=\"thead\">\n"; 
    362                         echo "<td colspan=\"4\">".sprintf(__('Total number of records that matches this filter: <strong>%s</strong>', 'wp-polls'), number_format($j))."</td>"; 
     362                        echo "<td colspan=\"4\">".sprintf(__('Total number of records that matches this filter: <strong>%s</strong>', 'wp-polls'), number_format_i18n($j))."</td>"; 
    363363                        echo "</tr>\n"; 
    364364                        echo '</table>'."\n"; 
  • wp-polls/trunk/polls/polls-manager.php

    r20812 r21734  
    398398                              <td width="20%" valign="top"><strong><?php _e('Start Date/Time', 'wp-polls'); ?></strong>:</td> 
    399399                              <td width="80%"> 
    400                                     <?php echo mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_timestamp)); ?><br /> 
     400                                    <?php echo date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_timestamp); ?><br /> 
    401401                                    <input type="checkbox" name="edit_polltimestamp" id="edit_polltimestamp" value="1" onclick="check_polltimestamp()" />&nbsp;<label for="edit_polltimestamp"><?php _e('Edit Start Date/Time', 'wp-polls'); ?></label><br /> 
    402402                                    <?php poll_timestamp($poll_timestamp, 'pollq_timestamp', 'none'); ?> 
     
    410410                                                _e('This Poll Will Not Expire', 'wp-polls'); 
    411411                                          } else { 
    412                                                 echo mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_expiry)); 
     412                                                echo date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_expiry); 
    413413                                          } 
    414414                                    ?> 
     
    487487                                          $poll_id = intval($poll->pollq_id); 
    488488                                          $poll_question = stripslashes($poll->pollq_question); 
    489                                           $poll_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll->pollq_timestamp)); 
     489                                          $poll_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll->pollq_timestamp); 
    490490                                          $poll_totalvotes = intval($poll->pollq_totalvotes); 
    491491                                          $poll_totalvoters = intval($poll->pollq_totalvoters); 
     
    495495                                                $poll_expiry_text  = __('No Expiry', 'wp-polls'); 
    496496                                          } else { 
    497                                                 $poll_expiry_text = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_expiry)); 
     497                                                $poll_expiry_text = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_expiry); 
    498498                                          } 
    499499                                          if($i%2 == 0) { 
     
    566566                  <tr> 
    567567                        <th align="left"><?php _e('Total Polls\' Answers:', 'wp-polls'); ?></th> 
    568                         <td align="left"><?php echo number_format($total_ans); ?></td> 
     568                        <td align="left"><?php echo number_format_i18n($total_ans); ?></td> 
    569569                  </tr> 
    570570                  <tr> 
    571571                        <th align="left"><?php _e('Total Votes Casted:', 'wp-polls'); ?></th> 
    572                         <td align="left"><?php echo number_format($total_votes); ?></td> 
     572                        <td align="left"><?php echo number_format_i18n($total_votes); ?></td> 
    573573                  </tr> 
    574574                  <tr> 
    575575                        <th align="left"><?php _e('Total Voters:', 'wp-polls'); ?></th> 
    576                         <td align="left"><?php echo number_format($total_voters); ?></td> 
     576                        <td align="left"><?php echo number_format_i18n($total_voters); ?></td> 
    577577                  </tr> 
    578578                  </table> 
  • wp-polls/trunk/polls/polls.php

    r20812 r21734  
    154154function poll_header() {       
    155155      echo "\n".'<!-- Start Of Script Generated By WP-Polls 2.20 -->'."\n"; 
    156       wp_register_script('wp-polls', '/wp-content/plugins/polls/polls-js.php', false, '2.20'); 
     156      wp_register_script('wp-polls', '/wp-content/plugins/polls/polls-js.php', false, '2.22'); 
    157157      wp_print_scripts(array('sack', 'wp-polls')); 
    158158      echo '<link rel="stylesheet" href="'.get_option('siteurl').'/wp-content/plugins/polls/polls-css.css" type="text/css" media="screen" />'."\n"; 
     
    179179      } 
    180180      echo '</style>'."\n"; 
    181       echo '<!-- End Of Script Generated By WP-Polls 2.20 -->'."\n"; 
     181      echo '<!-- End Of Script Generated By WP-Polls 2.22 -->'."\n"; 
    182182} 
    183183 
     
    348348      $poll_question_totalvotes = intval($poll_question->pollq_totalvotes); 
    349349      $poll_question_totalvoters = intval($poll_question->pollq_totalvoters); 
    350       $poll_start_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_question->pollq_timestamp)); 
     350      $poll_start_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_question->pollq_timestamp); 
    351351      $poll_expiry = trim($poll_question->pollq_expiry); 
    352352      if(empty($poll_expiry)) { 
    353353            $poll_end_date  = __('No Expiry', 'wp-polls'); 
    354354      } else { 
    355             $poll_end_date  = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_expiry)); 
     355            $poll_end_date  = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_expiry); 
    356356      } 
    357357      $poll_multiple_ans = intval($poll_question->pollq_multiple); 
     
    392392                  $template_answer = str_replace("%POLL_ANSWER_ID%", $poll_answer_id, $template_answer); 
    393393                  $template_answer = str_replace("%POLL_ANSWER%", $poll_answer_text, $template_answer); 
    394                   $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($poll_answer_votes), $template_answer); 
     394                  $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($poll_answer_votes), $template_answer); 
    395395                  if($poll_multiple_ans > 0) { 
    396396                        $template_answer = str_replace("%POLL_CHECKBOX_RADIO%", 'checkbox', $template_answer); 
     
    464464      $poll_question_totalvoters = intval($poll_question->pollq_totalvoters); 
    465465      $poll_question_active = intval($poll_question->pollq_active); 
    466       $poll_start_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_question->pollq_timestamp)); 
     466      $poll_start_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_question->pollq_timestamp); 
    467467      $poll_expiry = trim($poll_question->pollq_expiry); 
    468468      if(empty($poll_expiry)) { 
    469469            $poll_end_date  = __('No Expiry', 'wp-polls'); 
    470470      } else { 
    471             $poll_end_date  = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $poll_expiry)); 
     471            $poll_end_date  = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $poll_expiry); 
    472472      } 
    473473      $poll_multiple_ans = intval($poll_question->pollq_multiple); 
     
    528528                        $template_answer = str_replace("%POLL_ANSWER%", $poll_answer_text, $template_answer); 
    529529                        $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($poll_answer_text)), $template_answer); 
    530                         $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($poll_answer_votes), $template_answer); 
     530                        $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($poll_answer_votes), $template_answer); 
    531531                        $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    532532                        $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    539539                        $template_answer = str_replace("%POLL_ANSWER%", $poll_answer_text, $template_answer); 
    540540                        $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($poll_answer_text)), $template_answer); 
    541                         $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($poll_answer_votes), $template_answer); 
     541                        $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($poll_answer_votes), $template_answer); 
    542542                        $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    543543                        $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    570570            $template_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_footer); 
    571571            $template_footer = str_replace("%POLL_ID%", $poll_question_id, $template_footer); 
    572             $template_footer = str_replace("%POLL_TOTALVOTES%", number_format($poll_question_totalvotes), $template_footer); 
    573             $template_footer = str_replace("%POLL_TOTALVOTERS%", number_format($poll_question_totalvoters), $template_footer); 
     572            $template_footer = str_replace("%POLL_TOTALVOTES%", number_format_i18n($poll_question_totalvotes), $template_footer); 
     573            $template_footer = str_replace("%POLL_TOTALVOTERS%", number_format_i18n($poll_question_totalvoters), $template_footer); 
    574574            $template_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_footer); 
    575             $template_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_footer); 
     575            $template_footer = str_replace("%POLL_MOST_VOTES%", number_format_i18n($poll_most_votes), $template_footer); 
    576576            $template_footer = str_replace("%POLL_MOST_PERCENTAGE%", $poll_most_percentage, $template_footer); 
    577577            $template_footer = str_replace("%POLL_LEAST_ANSWER%", $poll_least_answer, $template_footer); 
    578             $template_footer = str_replace("%POLL_LEAST_VOTES%", number_format($poll_least_votes), $template_footer); 
     578            $template_footer = str_replace("%POLL_LEAST_VOTES%", number_format_i18n($poll_least_votes), $template_footer); 
    579579            $template_footer = str_replace("%POLL_LEAST_PERCENTAGE%", $poll_least_percentage, $template_footer); 
    580580            if($poll_multiple_ans > 0) { 
     
    650650            $totalpollq = $wpdb->get_var("SELECT COUNT(pollq_id) FROM $wpdb->pollsq"); 
    651651            if($display) { 
    652                   echo number_format($totalpollq); 
    653             } else { 
    654                   return number_format($totalpollq); 
     652                  echo number_format_i18n($totalpollq); 
     653            } else { 
     654                  return number_format_i18n($totalpollq); 
    655655            } 
    656656      } 
     
    664664            $totalpolla = $wpdb->get_var("SELECT COUNT(polla_aid) FROM $wpdb->pollsa"); 
    665665            if($display) { 
    666                   echo number_format($totalpolla); 
    667             } else { 
    668                   return number_format($totalpolla); 
     666                  echo number_format_i18n($totalpolla); 
     667            } else { 
     668                  return number_format_i18n($totalpolla); 
    669669            } 
    670670      } 
     
    678678            $totalvotes = $wpdb->get_var("SELECT SUM(pollq_totalvotes) FROM $wpdb->pollsq"); 
    679679            if($display) { 
    680                   echo number_format($totalvotes); 
    681             } else { 
    682                   return number_format($totalvotes); 
     680                  echo number_format_i18n($totalvotes); 
     681            } else { 
     682                  return number_format_i18n($totalvotes); 
    683683            } 
    684684      } 
     
    692692            $totalvoters = $wpdb->get_var("SELECT SUM(pollq_totalvoters) FROM $wpdb->pollsq"); 
    693693            if($display) { 
    694                   echo number_format($totalvoters); 
    695             } else { 
    696                   return number_format($totalvoters); 
     694                  echo number_format_i18n($totalvoters); 
     695            } else { 
     696                  return number_format_i18n($totalvoters); 
    697697            } 
    698698      } 
     
    721721### Function: Polls Archive Link 
    722722function polls_archive_link($page) { 
    723       $current_url = $_SERVER['REQUEST_URI']; 
    724       $curren_pollpage = intval($_GET['poll_page']); 
    725       $polls_archive_url = preg_replace('/poll_page=(\d+)/i', 'poll_page='.$page, $current_url); 
    726       if($curren_pollpage == 0) { 
    727             if(strpos($current_url, '?') !== false) { 
     723      $polls_archive_url = get_option('poll_archive_url'); 
     724      if($page > 0) {          
     725            if(strpos($polls_archive_url, '?') !== false) { 
    728726                  $polls_archive_url = "$polls_archive_url&amp;poll_page=$page"; 
    729727            } else { 
     
    846844                  $poll_totalvotes_zero = false; 
    847845            } 
    848                   $poll_start_date = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $polls_question['start'])); 
     846                  $poll_start_date = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $polls_question['start']); 
    849847                  if(empty($polls_question['end'])) { 
    850848                        $poll_end_date  = __('No Expiry', 'wp-polls'); 
    851849                  } else { 
    852                         $poll_end_date  = mysql2date(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $polls_question['end'])); 
     850                        $poll_end_date  = date_i18n(sprintf(__('%s @ %s', 'wp-polls'), get_option('date_format'), get_option('time_format')), $polls_question['end']); 
    853851                  } 
    854852            // Archive Poll Header 
     
    858856            $template_question = str_replace("%POLL_QUESTION%", $polls_question['question'], $template_question); 
    859857            $template_question = str_replace("%POLL_ID%", $polls_question['id'], $template_question); 
    860             $template_question = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_question); 
    861             $template_question = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_question); 
     858            $template_question = str_replace("%POLL_TOTALVOTES%", number_format_i18n($polls_question['totalvotes']), $template_question); 
     859            $template_question = str_replace("%POLL_TOTALVOTERS%", number_format_i18n($polls_question['totalvoters']), $template_question); 
    862860            $template_question = str_replace("%POLL_START_DATE%", $poll_start_date, $template_question); 
    863861            $template_question = str_replace("%POLL_END_DATE%", $poll_end_date, $template_question); 
     
    892890                              $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer); 
    893891                              $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer); 
    894                               $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($polls_answer['votes']), $template_answer); 
     892                              $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($polls_answer['votes']), $template_answer); 
    895893                              $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    896894                              $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    903901                              $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer); 
    904902                              $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer); 
    905                               $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($polls_answer['votes']), $template_answer); 
     903                              $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($polls_answer['votes']), $template_answer); 
    906904                              $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    907905                              $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    932930            $template_footer = str_replace("%POLL_START_DATE%", $poll_start_date, $template_footer); 
    933931            $template_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_footer); 
    934             $template_footer = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_footer); 
    935             $template_footer = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_footer); 
     932            $template_footer = str_replace("%POLL_TOTALVOTES%", number_format_i18n($polls_question['totalvotes']), $template_footer); 
     933            $template_footer = str_replace("%POLL_TOTALVOTERS%", number_format_i18n($polls_question['totalvoters']), $template_footer); 
    936934            $template_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_footer); 
    937             $template_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_footer); 
     935            $template_footer = str_replace("%POLL_MOST_VOTES%", number_format_i18n($poll_most_votes), $template_footer); 
    938936            $template_footer = str_replace("%POLL_MOST_PERCENTAGE%", $poll_most_percentage, $template_footer); 
    939937            $template_footer = str_replace("%POLL_LEAST_ANSWER%", $poll_least_answer, $template_footer); 
    940             $template_footer = str_replace("%POLL_LEAST_VOTES%", number_format($poll_least_votes), $template_footer); 
     938            $template_footer = str_replace("%POLL_LEAST_VOTES%", number_format_i18n($poll_least_votes), $template_footer); 
    941939            $template_footer = str_replace("%POLL_LEAST_PERCENTAGE%", $poll_least_percentage, $template_footer); 
    942940            if($polls_question['multiple'] > 0) { 
     
    949947            $template_archive_footer = str_replace("%POLL_START_DATE%", $poll_start_date, $template_archive_footer); 
    950948            $template_archive_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_archive_footer); 
    951             $template_archive_footer = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_archive_footer); 
    952             $template_archive_footer = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_archive_footer); 
     949            $template_archive_footer = str_replace("%POLL_TOTALVOTES%", number_format_i18n($polls_question['totalvotes']), $template_archive_footer); 
     950            $template_archive_footer = str_replace("%POLL_TOTALVOTERS%", number_format_i18n($polls_question['totalvoters']), $template_archive_footer); 
    953951            $template_archive_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_archive_footer); 
    954             $template_archive_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_archive_footer); 
     952            $template_archive_footer = str_replace("%POLL_MOST_VOTES%", number_format_i18n($poll_most_votes), $template_archive_footer); 
    955953            $template_archive_footer = str_replace("%POLL_MOST_PERCENTAGE%", $poll_most_percentage, $template_archive_footer); 
    956954            $template_archive_footer = str_replace("%POLL_LEAST_ANSWER%", $poll_least_answer, $template_archive_footer); 
    957             $template_archive_footer = str_replace("%POLL_LEAST_VOTES%", number_format($poll_least_votes), $template_archive_footer); 
     955            $template_archive_footer = str_replace("%POLL_LEAST_VOTES%", number_format_i18n($poll_least_votes), $template_archive_footer); 
    958956            $template_archive_footer = str_replace("%POLL_LEAST_PERCENTAGE%", $poll_least_percentage, $template_archive_footer); 
    959957            if($polls_question['multiple'] > 0) { 
  • wp-polls/trunk/polls/wp-polls.pot

    r20812 r21734  
    33"Project-Id-Version: WP-Polls 2.22\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-10-04 01:30+0800\n" 
     5"PO-Revision-Date: 2007-10-13 15:18+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n" 
     
    419419#: polls.php:466 
    420420#: polls.php:471 
    421 #: polls.php:848 
    422 #: polls.php:852 
     421#: polls.php:846 
     422#: polls.php:850 
    423423#, php-format 
    424424msgid "%s @ %s" 
     
    584584#: polls-templates.php:116 
    585585#: polls-templates.php:119 
    586 #: polls.php:1316 
    587 #: polls.php:1319 
     586#: polls.php:1314 
     587#: polls.php:1317 
    588588msgid "Total Voters" 
    589589msgstr "" 
     
    600600#: polls.php:353 
    601601#: polls.php:469 
    602 #: polls.php:850 
     602#: polls.php:848 
    603603msgid "No Expiry" 
    604604msgstr "" 
     
    826826#: polls-templates.php:110 
    827827#: polls-templates.php:113 
    828 #: polls.php:1313 
    829 #: polls.php:1314 
     828#: polls.php:1311 
     829#: polls.php:1312 
    830830msgid "Votes" 
    831831msgstr "" 
     
    10151015#: polls-templates.php:104 
    10161016#: polls-templates.php:119 
    1017 #: polls.php:1307 
    1018 #: polls.php:1320 
     1017#: polls.php:1305 
     1018#: polls.php:1318 
    10191019msgid "Vote" 
    10201020msgstr "" 
    10211021 
    10221022#: polls-templates.php:104 
    1023 #: polls.php:1308 
     1023#: polls.php:1306 
    10241024msgid "View Results Of This Poll" 
    10251025msgstr "" 
    10261026 
    10271027#: polls-templates.php:104 
    1028 #: polls.php:1308 
     1028#: polls.php:1306 
    10291029msgid "View Results" 
    10301030msgstr "" 
    10311031 
    10321032#: polls-templates.php:113 
    1033 #: polls.php:1314 
     1033#: polls.php:1312 
    10341034msgid "You Have Voted For This Choice" 
    10351035msgstr "" 
    10361036 
    10371037#: polls-templates.php:119 
    1038 #: polls.php:1320 
     1038#: polls.php:1318 
    10391039msgid "Vote For This Poll" 
    10401040msgstr "" 
     
    10421042#: polls-templates.php:122 
    10431043#: polls-usage.php:80 
    1044 #: polls.php:1347 
     1044#: polls.php:1345 
    10451045msgid "Polls Archive" 
    10461046msgstr "" 
     
    10551055 
    10561056#: polls-templates.php:131 
    1057 #: polls.php:1322 
     1057#: polls.php:1320 
    10581058msgid "Sorry, there are no polls available at the moment." 
    10591059msgstr "" 
    10601060 
    10611061#: polls-templates.php:134 
    1062 #: polls.php:1323 
     1062#: polls.php:1321 
    10631063msgid "An error has occurred when processing your poll." 
    10641064msgstr "" 
     
    15311531msgstr "" 
    15321532 
    1533 #: polls.php:977 
     1533#: polls.php:975 
    15341534msgid "Previous Page" 
    15351535msgstr "" 
    15361536 
    1537 #: polls.php:985 
     1537#: polls.php:983 
    15381538msgid "Next Page" 
    15391539msgstr "" 
    15401540 
     1541#: polls.php:992 
     1542msgid "Pages" 
     1543msgstr "" 
     1544 
    15411545#: polls.php:994 
    1542 msgid "Pages" 
    1543 msgstr "" 
    1544  
    1545 #: polls.php:996 
    15461546msgid "Go to First Page" 
    15471547msgstr "" 
    15481548 
    1549 #: polls.php:996 
     1549#: polls.php:994 
    15501550msgid "First" 
    15511551msgstr "" 
    15521552 
    1553 #: polls.php:999 
    1554 #: polls.php:1011 
     1553#: polls.php:997 
     1554#: polls.php:1009 
    15551555msgid "Go to Page" 
    15561556msgstr "" 
    15571557 
    1558 #: polls.php:1006 
     1558#: polls.php:1004 
    15591559msgid "Page" 
    15601560msgstr "" 
    15611561 
    1562 #: polls.php:1014 
     1562#: polls.php:1012 
    15631563msgid "Go to Last Page" 
    15641564msgstr "" 
    15651565 
    1566 #: polls.php:1014 
     1566#: polls.php:1012 
    15671567msgid "Last" 
    15681568msgstr "" 
    15691569 
    1570 #: polls.php:1187 
     1570#: polls.php:1185 
    15711571#, php-format 
    15721572msgid "Unable To Update Poll Total Votes And Poll Total Voters. Poll ID #%s" 
    15731573msgstr "" 
    15741574 
    1575 #: polls.php:1191 
     1575#: polls.php:1189 
    15761576#, php-format 
    15771577msgid "You Had Already Voted For This Poll. Poll ID #%s" 
    15781578msgstr "" 
    15791579 
    1580 #: polls.php:1195 
     1580#: polls.php:1193 
    15811581#, php-format 
    15821582msgid "Invalid Poll ID. Poll ID #%s" 
    15831583msgstr "" 
    15841584 
     1585#: polls.php:1219 
    15851586#: polls.php:1221 
    1586 #: polls.php:1223 
     1587#: polls.php:1231 
     1588msgid "WP-Polls" 
     1589msgstr "" 
     1590 
    15871591#: polls.php:1233 
    1588 msgid "WP-Polls" 
     1592msgid "polls were created." 
     1593msgstr "" 
     1594 
     1595#: polls.php:1234 
     1596msgid "polls' answers were given." 
    15891597msgstr "" 
    15901598 
    15911599#: polls.php:1235 
    1592 msgid "polls were created." 
    1593 msgstr "" 
    1594  
    1595 #: polls.php:1236 
    1596 msgid "polls' answers were given." 
    1597 msgstr "" 
    1598  
    1599 #: polls.php:1237 
    16001600msgid "votes were casted." 
    16011601msgstr "" 
    16021602 
    1603 #: polls.php:1291 
     1603#: polls.php:1289 
    16041604msgid "How Is My Site?" 
    16051605msgstr "" 
    16061606 
     1607#: polls.php:1292 
     1608msgid "Good" 
     1609msgstr "" 
     1610 
     1611#: polls.php:1293 
     1612msgid "Excellent" 
     1613msgstr "" 
     1614 
    16071615#: polls.php:1294 
    1608 msgid "Good" 
     1616msgid "Bad" 
    16091617msgstr "" 
    16101618 
    16111619#: polls.php:1295 
    1612 msgid "Excellent
     1620msgid "Can Be Improved
    16131621msgstr "" 
    16141622 
    16151623#: polls.php:1296 
    1616 msgid "Bad" 
    1617 msgstr "" 
    1618  
    1619 #: polls.php:1297 
    1620 msgid "Can Be Improved" 
    1621 msgstr "" 
    1622  
    1623 #: polls.php:1298 
    16241624msgid "No Comments" 
    16251625msgstr "" 
  • wp-polls/trunk/readme.html

    r20812 r21734  
    223223                  <div class="SubSubTitle">Plugin Information</div> 
    224224                  <p> 
    225                         <strong>Author:</strong><br /><strong>&raquo;</strong> Lester 'GaMerZ' Chan</p> 
    226                   <p> 
    227                         <strong>EMail:</strong><br /><strong>&raquo;</strong> 
    228                         <script type="text/javascript"> 
    229                               /* <![CDATA[*/ 
    230                               document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-Polls%202.22%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
    231                               /* ]]> */ 
    232                         </script> 
     225                        <strong>Author:</strong><br /> 
     226                        <strong>&raquo;</strong> Lester 'GaMerZ' Chan 
    233227                  </p> 
    234228                  <p> 
     
    268262                  </p> 
    269263                  <p> 
    270                         <strong>Credits:</strong><br /> 
    271                         <strong>&raquo;</strong> Localization By <a href="http://4visions.nl/" title="http://4visions.nl/">Ravan</a><br /> 
    272                         <strong>&raquo;</strong> Uninstaller By Philippe Corbes 
    273                   </p> 
    274                   <p> 
    275264                        <strong>Updated:</strong><br /> 
    276                         <strong>&raquo;</strong> 1st October 2007 
     265                        <strong>&raquo;</strong> 1st January 2008 
    277266                  </p> 
    278267                  <p> 
     
    300289                              <strong>Version 2.22 (01-01-2008)</strong> 
    301290                              <ul> 
     291                                    <li>NEW: Use date_i18n() For Localizing Date</li> 
     292                                    <li>NEW: Use number_format_i18n() Instead</li> 
    302293                                    <li>FIXED: number_format() Not Used In Polls Archive</li> 
    303294                              </ul>