mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Plugin details: Use translation functions.
props jesin. fixes #29220. git-svn-id: https://develop.svn.wordpress.org/trunk@29510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c4f784ba8e
commit
e22782e068
@ -2325,6 +2325,7 @@ div.action-links {
|
||||
#plugin-information .counter-label {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
min-width: 55px;
|
||||
}
|
||||
|
||||
#plugin-information .counter-back {
|
||||
|
||||
@ -457,12 +457,12 @@ function install_plugin_information() {
|
||||
<div class="counter-container">
|
||||
<a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $api->slug . '&section=reviews' ) ); ?>"
|
||||
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 ) ); ?>">
|
||||
<span class="counter-label"><?php echo $key; ?> stars</span>
|
||||
<span class="counter-label"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></span>
|
||||
<span class="counter-back">
|
||||
<span class="counter-bar" style="width: <?php echo 92 * $_rating; ?>px;"></span>
|
||||
</span>
|
||||
</a>
|
||||
<span class="counter-count"><?php echo $ratecount; ?></span>
|
||||
<span class="counter-count"><?php echo number_format_i18n( $ratecount ); ?></span>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user