diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 95e27c4bc5..3408d8a4bd 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -150,7 +150,7 @@ $status_links = array(); $num_posts = wp_count_posts('page', 'readable'); $total_posts = array_sum( (array) $num_posts ); $class = empty($_GET['post_status']) ? ' class="current"' : ''; -$status_links[] = "
  • " . sprintf( _n( 'All (%s)', 'All (%s)', $total_posts ), number_format_i18n( $total_posts ) ) . ''; +$status_links[] = "
  • " . sprintf( _nx( 'All (%s)', 'All (%s)', $total_posts, 'pages' ), number_format_i18n( $total_posts ) ) . ''; foreach ( $post_stati as $status => $label ) { $class = ''; diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 551cfb9892..fa5a84994d 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -141,7 +141,7 @@ $status_links = array(); $num_posts = wp_count_posts( 'post', 'readable' ); $total_posts = array_sum( (array) $num_posts ); $class = empty( $_GET['post_status'] ) ? ' class="current"' : ''; -$status_links[] = "
  • " . sprintf( _n( 'All (%s)', 'All (%s)', $total_posts ), number_format_i18n( $total_posts ) ) . ''; +$status_links[] = "
  • " . sprintf( _nx( 'All (%s)', 'All (%s)', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . ''; foreach ( $post_stati as $status => $label ) { diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index f762a72793..2a546b0ba8 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -439,7 +439,7 @@ function print_plugin_actions($context) { " . sprintf( _n( 'All (%s)', 'All (%s)', $total_all_plugins ), number_format_i18n( $total_all_plugins ) ) . ''; +$status_links[] = "
  • " . sprintf( _nx( 'All (%s)', 'All (%s)', $total_all_plugins, 'plugins' ), number_format_i18n( $total_all_plugins ) ) . ''; if ( ! empty($active_plugins) ) { $class = ( 'active' == $status ) ? ' class="current"' : ''; $status_links[] = "
  • " . sprintf( _n( 'Active (%s)', 'Active (%s)', $total_active_plugins ), number_format_i18n( $total_active_plugins ) ) . ''; diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 29c29ee071..b01f7a08aa 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -187,7 +187,7 @@ foreach ( $matches as $type => $reals ) $num_posts[$type] = ( isset( $num_posts[$type] ) ) ? $num_posts[$type] + $_num_posts[$real] : $_num_posts[$real]; $class = empty($_GET['post_mime_type']) && ! isset($_GET['detached']) ? ' class="current"' : ''; -$type_links[] = "
  • " . sprintf( _n( 'All (%s)', 'All (%s)', $_total_posts ), number_format_i18n( $_total_posts ) ) . ''; +$type_links[] = "
  • " . sprintf( _nx( 'All (%s)', 'All (%s)', $_total_posts, 'uploaded files' ), number_format_i18n( $_total_posts ) ) . ''; foreach ( $post_mime_types as $mime_type => $label ) { $class = ''; diff --git a/wp-admin/users.php b/wp-admin/users.php index 9cd069cf5d..a180fae986 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -264,7 +264,7 @@ unset($users_of_blog); $current_role = false; $class = empty($role) ? ' class="current"' : ''; -$role_links[] = "
  • " . sprintf( _n( 'All (%s)', 'All (%s)', $total_users ), number_format_i18n( $total_users ) ) . ''; +$role_links[] = "
  • " . sprintf( _nx( 'All (%s)', 'All (%s)', $total_users, 'users' ), number_format_i18n( $total_users ) ) . ''; foreach ( $wp_roles->get_names() as $this_role => $name ) { if ( !isset($avail_roles[$this_role]) ) continue;