diff options
Diffstat (limited to 'plugins/akismet/views/config.php')
-rw-r--r-- | plugins/akismet/views/config.php | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/plugins/akismet/views/config.php b/plugins/akismet/views/config.php index 232d1078..d84e21a8 100644 --- a/plugins/akismet/views/config.php +++ b/plugins/akismet/views/config.php @@ -17,23 +17,19 @@ <li> <h3><?php esc_html_e( 'Past six months' , 'akismet');?></h3> <span><?php echo number_format( $stat_totals['6-months']->spam );?></span> - <?php esc_html_e( 'Spam blocked' , 'akismet');?> + <?php echo esc_html( _n( 'Spam blocked', 'Spam blocked', $stat_totals['6-months']->spam, 'akismet' ) ); ?> </li> <li> <h3><?php esc_html_e( 'All time' , 'akismet');?></h3> <span><?php echo number_format( $stat_totals['all']->spam );?></span> - <?php esc_html_e( 'Spam blocked' , 'akismet');?> + <?php echo esc_html( _n( 'Spam blocked', 'Spam blocked', $stat_totals['all']->spam, 'akismet' ) ); ?> </li> <li> <h3><?php esc_html_e( 'Accuracy' , 'akismet');?></h3> <span><?php echo $stat_totals['all']->accuracy; ?>%</span> - <?php printf( - esc_html( - _n( '%s missed spam, %s false positive', '%s missed spam, %s false positives', $stat_totals['all']->false_positives , 'akismet') - ), - number_format( $stat_totals['all']->missed_spam ), - number_format( $stat_totals['all']->false_positives ) - ); ?> + <?php printf( _n( '%s missed spam', '%s missed spam', $stat_totals['all']->missed_spam, 'akismet' ), number_format( $stat_totals['all']->missed_spam ) ); ?> + | + <?php printf( _n( '%s false positive', '%s false positives', $stat_totals['all']->false_positives, 'akismet' ), number_format( $stat_totals['all']->false_positives ) ); ?> </li> </ul> <div class="clearfix"></div> @@ -67,7 +63,7 @@ <th class="akismet-api-key" width="10%" align="left" scope="row"><?php esc_html_e('API Key', 'akismet');?></th> <td width="5%"/> <td align="left"> - <span class="api-key"><input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $akismet_user->status;?>"></span> + <span class="api-key"><input id="key" name="key" type="text" size="15" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $akismet_user->status;?>"></span> </td> </tr> <?php endif; ?> |