mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
8ecb461bed
commit
00aaf8de18
@ -2325,6 +2325,7 @@ div.action-links {
|
|||||||
#plugin-information .counter-label {
|
#plugin-information .counter-label {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
min-width: 55px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .counter-back {
|
#plugin-information .counter-back {
|
||||||
|
@ -2325,6 +2325,7 @@ div.action-links {
|
|||||||
#plugin-information .counter-label {
|
#plugin-information .counter-label {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
min-width: 55px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .counter-back {
|
#plugin-information .counter-back {
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -457,12 +457,12 @@ function install_plugin_information() {
|
|||||||
<div class="counter-container">
|
<div class="counter-container">
|
||||||
<a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $api->slug . '&section=reviews' ) ); ?>"
|
<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 ) ); ?>">
|
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-back">
|
||||||
<span class="counter-bar" style="width: <?php echo 92 * $_rating; ?>px;"></span>
|
<span class="counter-bar" style="width: <?php echo 92 * $_rating; ?>px;"></span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<span class="counter-count"><?php echo $ratecount; ?></span>
|
<span class="counter-count"><?php echo number_format_i18n( $ratecount ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user