Plugin details: Use translation functions.

props jesin.
fixes #29220.
Built from https://develop.svn.wordpress.org/trunk@29510


git-svn-id: http://core.svn.wordpress.org/trunk@29287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-08-15 20:51:16 +00:00
parent 8ecb461bed
commit 00aaf8de18
5 changed files with 6 additions and 4 deletions

View File

@ -2325,6 +2325,7 @@ div.action-links {
#plugin-information .counter-label {
float: right;
margin-left: 5px;
min-width: 55px;
}
#plugin-information .counter-back {

View File

@ -2325,6 +2325,7 @@ div.action-links {
#plugin-information .counter-label {
float: left;
margin-right: 5px;
min-width: 55px;
}
#plugin-information .counter-back {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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&amp;plugin=' . $api->slug . '&amp;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
}