WordPress.org

Make WordPress Core

Ticket #36396: 36396.diff

File 36396.diff, 803 bytes (added by TacoVerdo, 6 years ago)
  • src/wp-admin/includes/plugin-install.php

     
    584584                        foreach ( $api->ratings as $key => $ratecount ) {
    585585                                // Avoid div-by-zero.
    586586                                $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
    587                                 /* translators: 1: number of stars, 2: number of reviews */
     587                                /* translators: 1: number of stars (this is used to determine singular/plural), 2: number of reviews */
    588588                                $aria_label = esc_attr( sprintf( _n( 'Reviews with %1$d star: %2$d. Opens in a new window.', 'Reviews with %1$d stars: %2$d. Opens in a new window.', $key ),
    589589                                        $key,
    590590                                        number_format_i18n( $ratecount )