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:
parent
bd800fbca4
commit
6bf0509046
@ -584,7 +584,7 @@ function install_plugin_information() {
|
|||||||
foreach ( $api->ratings as $key => $ratecount ) {
|
foreach ( $api->ratings as $key => $ratecount ) {
|
||||||
// Avoid div-by-zero.
|
// Avoid div-by-zero.
|
||||||
$_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
|
$_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 ),
|
$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,
|
$key,
|
||||||
number_format_i18n( $ratecount )
|
number_format_i18n( $ratecount )
|
||||||
|
Loading…
Reference in New Issue
Block a user