I18N: Clarify translator comment for an a11y label added in [36618].

Props TacoVerdo.
See #35111.
Fixes #36396.

git-svn-id: https://develop.svn.wordpress.org/trunk@37155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-04-02 11:11:52 +00:00
parent bd800fbca4
commit 6bf0509046
1 changed files with 2 additions and 2 deletions

View File

@ -584,7 +584,7 @@ function install_plugin_information() {
foreach ( $api->ratings as $key => $ratecount ) {
// Avoid div-by-zero.
$_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
/* translators: 1: number of stars, 2: number of reviews */
/* translators: 1: number of stars (used to determine singular/plural), 2: number of reviews */
$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 ),
$key,
number_format_i18n( $ratecount )