- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r45926 r45932 200 200 $current_link_attributes, 201 201 sprintf( 202 /* translators: %s: number of users*/202 /* translators: %s: Number of users. */ 203 203 _nx( 204 204 'All <span class="count">(%s)</span>', … … 223 223 224 224 $name = translate_user_role( $name ); 225 /* translators: User role name with count */ 226 $name = sprintf( __( '%1$s <span class="count">(%2$s)</span>' ), $name, number_format_i18n( $avail_roles[ $this_role ] ) ); 225 $name = sprintf( 226 /* translators: User role name with count. */ 227 __( '%1$s <span class="count">(%2$s)</span>' ), 228 $name, 229 number_format_i18n( $avail_roles[ $this_role ] ) 230 ); 231 227 232 $role_links[ $this_role ] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$current_link_attributes>$name</a>"; 228 233 } … … 237 242 238 243 $name = __( 'No role' ); 239 /* translators: User role name with count */ 240 $name = sprintf( __( '%1$s <span class="count">(%2$s)</span>' ), $name, number_format_i18n( $avail_roles['none'] ) ); 244 $name = sprintf( 245 /* translators: User role name with count. */ 246 __( '%1$s <span class="count">(%2$s)</span>' ), 247 $name, 248 number_format_i18n( $avail_roles['none'] ) 249 ); 250 241 251 $role_links['none'] = "<a href='" . esc_url( add_query_arg( 'role', 'none', $url ) ) . "'$current_link_attributes>$name</a>"; 242 243 252 } 244 253 … … 457 466 '<a href="%s" aria-label="%s">%s</a>', 458 467 esc_url( $author_posts_url ), 459 /* translators: %s: author's display name*/468 /* translators: %s: Author's display name. */ 460 469 esc_attr( sprintf( __( 'View posts by %s' ), $user_object->display_name ) ), 461 470 __( 'View' ) … … 483 492 '<input type="checkbox" name="users[]" id="user_%1$s" class="%3$s" value="%1$s" />', 484 493 $user_object->ID, 485 /* translators: %s: user login*/494 /* translators: %s: User login. */ 486 495 sprintf( __( 'Select %s' ), $user_object->user_login ), 487 496 $role_classes … … 553 562 $numposts, 554 563 sprintf( 555 /* translators: %s: number of posts*/564 /* translators: %s: Number of posts. */ 556 565 _n( '%s post by this author', '%s posts by this author', $numposts ), 557 566 number_format_i18n( $numposts )
Note: See TracChangeset
for help on using the changeset viewer.