I18N: Correct translator comments in WP_Users_List_Table::get_views() to provide information about each placeholder.

Props ramiy.
Fixes #49242.

git-svn-id: https://develop.svn.wordpress.org/trunk@47089 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-01-20 14:06:57 +00:00
parent a8f4ed69de
commit 5f937b4c70

View File

@ -223,7 +223,7 @@ class WP_Users_List_Table extends WP_List_Table {
$name = translate_user_role( $name );
$name = sprintf(
/* translators: User role name with count. */
/* translators: 1: User role name, 2: Number of users. */
__( '%1$s <span class="count">(%2$s)</span>' ),
$name,
number_format_i18n( $avail_roles[ $this_role ] )
@ -242,7 +242,7 @@ class WP_Users_List_Table extends WP_List_Table {
$name = __( 'No role' );
$name = sprintf(
/* translators: User role name with count. */
/* translators: 1: User role name, 2: Number of users. */
__( '%1$s <span class="count">(%2$s)</span>' ),
$name,
number_format_i18n( $avail_roles['none'] )