Changeset 4231
- Timestamp:
- 10/12/2016 08:35:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r4230 r4231 183 183 <?php 184 184 echo \WPORG_Ratings::get_dashicons_stars( $this->avg_rating ); 185 /* translators: %s: number of stars */ 186 printf( __( '%s out of <span itemprop="bestRating">5</span> stars', 'wporg-forums' ), 187 round( isset( $this->avg_rating ) ? $this->avg_rating : 0, 1 ) 185 printf( 186 /* translators: 1: number of stars in rating, 2: total number of stars (5) */ 187 __( '%1$s out of %2$s stars', 'wporg-forums' ), 188 round( isset( $this->avg_rating ) ? $this->avg_rating : 0, 1 ), 189 '<span itemprop="bestRating">5</span>' 188 190 ); 189 191 ?>
Note: See TracChangeset
for help on using the changeset viewer.