mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Use ndash for number range, props demetris, fixes #8088
git-svn-id: http://svn.automattic.com/wordpress/trunk@9565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ea03719b8b
commit
ce2413cb7f
@ -190,7 +190,7 @@ $page_links = paginate_links( array(
|
||||
<div class="tablenav">
|
||||
|
||||
<?php if ( $page_links ) : ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%s' ),
|
||||
number_format_i18n( $start + 1 ),
|
||||
number_format_i18n( min( $page * $comments_per_page, $total ) ),
|
||||
number_format_i18n( $total ),
|
||||
|
@ -187,7 +187,7 @@ $page_links = paginate_links( array(
|
||||
));
|
||||
|
||||
if ( $page_links ) : ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%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 ),
|
||||
|
@ -225,7 +225,7 @@ do_action('restrict_manage_posts');
|
||||
</div>
|
||||
|
||||
<?php if ( $page_links ) { ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%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 ),
|
||||
|
@ -666,7 +666,7 @@ class WP_User_Search {
|
||||
'add_args' => $args
|
||||
) );
|
||||
if ( $this->paging_text ) {
|
||||
$this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
$this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%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 ),
|
||||
|
@ -125,7 +125,7 @@ function theme_update_available( $theme ) {
|
||||
<br class="clear" />
|
||||
|
||||
<?php if ( $page_links ) : ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%s' ),
|
||||
number_format_i18n( $start + 1 ),
|
||||
number_format_i18n( min( $page * $per_page, $theme_total ) ),
|
||||
number_format_i18n( $theme_total ),
|
||||
|
@ -236,7 +236,7 @@ $page_links = paginate_links( array(
|
||||
));
|
||||
|
||||
if ( $page_links ) : ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%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 ),
|
||||
|
Loading…
Reference in New Issue
Block a user