diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php
index 17d0e90026..8c24ff45be 100644
--- a/wp-admin/edit-pages.php
+++ b/wp-admin/edit-pages.php
@@ -73,11 +73,11 @@ wp_enqueue_script('inline-edit-post');
wp_enqueue_script('pages');
$post_stati = array( // array( adj, noun )
- 'publish' => array(__('Published'), __('Published pages'), __ngettext_noop('Published (%s)', 'Published (%s)')),
- 'future' => array(__('Scheduled'), __('Scheduled pages'), __ngettext_noop('Scheduled (%s)', 'Scheduled (%s)')),
- 'pending' => array(__('Pending Review'), __('Pending pages'), __ngettext_noop('Pending Review (%s)', 'Pending Review (%s)')),
- 'draft' => array(__('Draft'), _c('Drafts|manage posts header'), __ngettext_noop('Draft (%s)', 'Drafts (%s)')),
- 'private' => array(__('Private'), __('Private pages'), __ngettext_noop('Private (%s)', 'Private (%s)'))
+ 'publish' => array(__('Published'), __('Published pages'), __ngettext_noop('Published
(%s)', 'Published
(%s)')),
+ 'future' => array(__('Scheduled'), __('Scheduled pages'), __ngettext_noop('Scheduled
(%s)', 'Scheduled
(%s)')),
+ 'pending' => array(__('Pending Review'), __('Pending pages'), __ngettext_noop('Pending Review
(%s)', 'Pending Review
(%s)')),
+ 'draft' => array(__('Draft'), _c('Drafts|manage posts header'), __ngettext_noop('Draft
(%s)', 'Drafts
(%s)')),
+ 'private' => array(__('Private'), __('Private pages'), __ngettext_noop('
Private (%s)', '
Private (%s)'))
);
$query = array('post_type' => 'page', 'orderby' => 'menu_order title', 'what_to_show' => 'posts',
@@ -137,8 +137,9 @@ $avail_post_stati = get_available_post_statuses('page');
if ( empty($locked_post_status) ) :
$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[] = "
".__('All Pages')."";
+$status_links[] = "" . sprintf( __ngettext( 'All (%s)', 'All (%s)', $total_posts ), number_format_i18n( $total_posts ) ) . '';
foreach ( $post_stati as $status => $label ) {
$class = '';
@@ -148,10 +149,9 @@ foreach ( $post_stati as $status => $label ) {
if ( isset( $_GET['post_status'] ) && $status == $_GET['post_status'] )
$class = ' class="current"';
- $status_links[] = "" .
- sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), number_format_i18n( $num_posts->$status ) ) . '';
+ $status_links[] = "" . sprintf( __ngettext( $label[2][0], $label[2][1], $num_posts->$status ), number_format_i18n( $num_posts->$status ) ) . '';
}
-echo implode(' |', $status_links) . '';
+echo implode( " |\n", $status_links ) . '';
unset($status_links);
endif;
?>
@@ -186,9 +186,14 @@ $page_links = paginate_links( array(
'current' => $pagenum
));
-if ( $page_links )
- echo "
$page_links
";
-?>
+if ( $page_links ) : ?>
+
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ),
+ number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ),
+ number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ),
+ number_format_i18n( $wp_query->found_posts ),
+ $page_links
+); echo $page_links_text; ?>
+
-
+
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ),
+ number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ),
+ number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ),
+ number_format_i18n( $wp_query->found_posts ),
+ $page_links
+); echo $page_links_text; ?>
@@ -242,7 +249,7 @@ do_action('restrict_manage_posts');
$page_links
";
+ echo "
$page_links_text
";
?>
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index e032a2c832..584d5ce548 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -331,7 +331,7 @@ function wp_dashboard_quick_press() {
-
+
diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
index e6cc1a6e7e..d9ca48d94f 100644
--- a/wp-admin/includes/post.php
+++ b/wp-admin/includes/post.php
@@ -727,11 +727,11 @@ function wp_edit_posts_query( $q = false ) {
$q['m'] = isset($q['m']) ? (int) $q['m'] : 0;
$q['cat'] = isset($q['cat']) ? (int) $q['cat'] : 0;
$post_stati = array( // array( adj, noun )
- 'publish' => array(__('Published'), __('Published posts'), __ngettext_noop('Published (%s)', 'Published (%s)')),
- 'future' => array(__('Scheduled'), __('Scheduled posts'), __ngettext_noop('Scheduled (%s)', 'Scheduled (%s)')),
- 'pending' => array(__('Pending Review'), __('Pending posts'), __ngettext_noop('Pending Review (%s)', 'Pending Review (%s)')),
- 'draft' => array(__('Draft'), _c('Drafts|manage posts header'), __ngettext_noop('Draft (%s)', 'Drafts (%s)')),
- 'private' => array(__('Private'), __('Private posts'), __ngettext_noop('Private (%s)', 'Private (%s)')),
+ 'publish' => array(__('Published'), __('Published posts'), __ngettext_noop('Published
(%s)', 'Published
(%s)')),
+ 'future' => array(__('Scheduled'), __('Scheduled posts'), __ngettext_noop('Scheduled
(%s)', 'Scheduled
(%s)')),
+ 'pending' => array(__('Pending Review'), __('Pending posts'), __ngettext_noop('Pending Review
(%s)', 'Pending Review
(%s)')),
+ 'draft' => array(__('Draft'), _c('Drafts|manage posts header'), __ngettext_noop('Draft
(%s)', 'Drafts
(%s)')),
+ 'private' => array(__('Private'), __('Private posts'), __ngettext_noop('Private
(%s)', 'Private
(%s)')),
);
$post_stati = apply_filters('post_stati', $post_stati);
@@ -794,9 +794,9 @@ function wp_edit_attachments_query( $q = false ) {
$q['post_status'] = 'any';
$q['posts_per_page'] = 15;
$post_mime_types = array( // array( adj, noun )
- 'image' => array(__('Images'), __('Manage Images'), __ngettext_noop('Image (%s)', 'Images (%s)')),
- 'audio' => array(__('Audio'), __('Manage Audio'), __ngettext_noop('Audio (%s)', 'Audio (%s)')),
- 'video' => array(__('Video'), __('Manage Video'), __ngettext_noop('Video (%s)', 'Video (%s)')),
+ 'image' => array(__('Images'), __('Manage Images'), __ngettext_noop('Image
(%s)', 'Images
(%s)')),
+ 'audio' => array(__('Audio'), __('Manage Audio'), __ngettext_noop('Audio
(%s)', 'Audio
(%s)')),
+ 'video' => array(__('Video'), __('Manage Video'), __ngettext_noop('Video
(%s)', 'Video
(%s)')),
);
$post_mime_types = apply_filters('post_mime_types', $post_mime_types);
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index d82775dca5..cca8bf6241 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -687,7 +687,7 @@ function tag_rows( $page = 1, $pagesize = 20, $searchterms = '' ) {
function wp_manage_posts_columns() {
$posts_columns = array();
$posts_columns['cb'] = '
';
- $posts_columns['title'] = __('Title');
+ $posts_columns['title'] = __('Post');
$posts_columns['author'] = __('Author');
$posts_columns['categories'] = __('Categories');
$posts_columns['tags'] = __('Tags');
diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php
index 4b663e7bb1..2fbc5532d6 100644
--- a/wp-admin/includes/user.php
+++ b/wp-admin/includes/user.php
@@ -665,6 +665,14 @@ class WP_User_Search {
'format' => 'userspage=%#%',
'add_args' => $args
) );
+ if ( $this->paging_text ) {
+ $this->paging_text = sprintf( '
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ),
+ number_format_i18n( ( $this->page - 1 ) * $this->users_per_page + 1 ),
+ number_format_i18n( min( $this->page * $this->users_per_page, $this->total_users_for_query ) ),
+ number_format_i18n( $this->total_users_for_query ),
+ $this->paging_text
+ );
+ }
}
}
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index 09e8be0859..a116346adc 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -125,11 +125,12 @@ function theme_update_available( $theme ) {
-
-$page_links
"; ?>
-
-
-
+
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ),
+ number_format_i18n( $start + 1 ),
+ number_format_i18n( min( $page * $per_page, $theme_total ) ),
+ number_format_i18n( $theme_total ),
+ $page_links
+); echo $page_links_text; ?>
@@ -199,7 +200,7 @@ foreach ( $cols as $col => $theme_name ) {
-$page_links
"; ?>
+$page_links_text
"; ?>