From ce2413cb7fc1cb0ce94dd3d37da6e5bdd8079998 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sat, 8 Nov 2008 02:39:18 +0000 Subject: [PATCH] Use ndash for number range, props demetris, fixes #8088 git-svn-id: http://svn.automattic.com/wordpress/trunk@9565 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 2 +- wp-admin/edit-pages.php | 2 +- wp-admin/edit.php | 2 +- wp-admin/includes/user.php | 2 +- wp-admin/themes.php | 2 +- wp-admin/upload.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 1e31228e2..bd0d4451d 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -190,7 +190,7 @@ $page_links = paginate_links( array(
-
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), +
' . __( 'Displaying %s–%s of %s' ) . '' . __( '%s' ), number_format_i18n( $start + 1 ), number_format_i18n( min( $page * $comments_per_page, $total ) ), number_format_i18n( $total ), diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 28b9e2710..168319404 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -187,7 +187,7 @@ $page_links = paginate_links( array( )); if ( $page_links ) : ?> -
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), +
' . __( 'Displaying %s–%s of %s' ) . '' . __( '%s' ), number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), number_format_i18n( min( $pagenum * $per_page, $wp_query->post_count ) ), number_format_i18n( $wp_query->post_count ), diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 3b7577092..51c82a297 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -225,7 +225,7 @@ do_action('restrict_manage_posts');
-
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), +
' . __( '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 ), diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 2fbc5532d..f5c19f83f 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -666,7 +666,7 @@ class WP_User_Search { 'add_args' => $args ) ); if ( $this->paging_text ) { - $this->paging_text = sprintf( '' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), + $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 ), diff --git a/wp-admin/themes.php b/wp-admin/themes.php index a116346ad..dad2677a4 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -125,7 +125,7 @@ function theme_update_available( $theme ) {
-
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), +
' . __( '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 ), diff --git a/wp-admin/upload.php b/wp-admin/upload.php index a6a6c03f0..c4b55c941 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -236,7 +236,7 @@ $page_links = paginate_links( array( )); if ( $page_links ) : ?> -
' . __( 'Displaying %s-%s of %s' ) . '' . __( '%s' ), +
' . __( '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 ),