WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/15/2014 08:50:51 PM (6 years ago)
Author:
ocean90
Message:

Plugin details: Use translation functions.

props jesin.
fixes #29220.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r29506 r29510  
    458458                    <a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=' . $api->slug . '&amp;section=reviews' ) ); ?>"
    459459                       title="<?php echo esc_attr( sprintf( _n( 'Click to see reviews that provided a rating of %d star', 'Click to see reviews that provided a rating of %d stars', $key ), $key ) ); ?>">
    460                         <span class="counter-label"><?php echo $key; ?> stars</span>
     460                        <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></span>
    461461                        <span class="counter-back">
    462462                            <span class="counter-bar" style="width: <?php echo 92 * $_rating; ?>px;"></span>
    463463                        </span>
    464464                    </a>
    465                     <span class="counter-count"><?php echo $ratecount; ?></span>
     465                    <span class="counter-count"><?php echo number_format_i18n( $ratecount ); ?></span>
    466466                </div>
    467467                <?php
Note: See TracChangeset for help on using the changeset viewer.