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

Props ramiy.
Fixes #49242.
Built from https://develop.svn.wordpress.org/trunk@47089


git-svn-id: http://core.svn.wordpress.org/trunk@46889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-20 14:08:05 +00:00
parent 2900bb8ea7
commit d5be8f0635
2 changed files with 3 additions and 3 deletions

View File

@ -223,7 +223,7 @@ class WP_Users_List_Table extends WP_List_Table {
$name = translate_user_role( $name ); $name = translate_user_role( $name );
$name = sprintf( $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>' ), __( '%1$s <span class="count">(%2$s)</span>' ),
$name, $name,
number_format_i18n( $avail_roles[ $this_role ] ) number_format_i18n( $avail_roles[ $this_role ] )
@ -242,7 +242,7 @@ class WP_Users_List_Table extends WP_List_Table {
$name = __( 'No role' ); $name = __( 'No role' );
$name = sprintf( $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>' ), __( '%1$s <span class="count">(%2$s)</span>' ),
$name, $name,
number_format_i18n( $avail_roles['none'] ) number_format_i18n( $avail_roles['none'] )

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-47088'; $wp_version = '5.4-alpha-47089';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.