Theme Installer: Center spinner, remove plural string.

fixes #27581. see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-04-04 00:45:13 +00:00
parent 96563b4143
commit e8ad1fbf6c
2 changed files with 8 additions and 3 deletions

View File

@@ -212,7 +212,11 @@ if ( $tab ) {
<span class="three"></span>
<span class="four"></span>
<span class="five"></span>
<p class="votes"><?php printf( __( 'Based on %s ratings.' ), '{{ data.num_ratings }}' ); ?></p>
<# if ( data.num_ratings ) { #>
<p class="ratings">({{ data.num_ratings }})</p>
<# } else { #>
<p class="ratings"><?php _e( 'No ratings.' ); ?></p>
<# } #>
</div>
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
<div class="theme-description">{{ data.description }}</div>