WordPress.org

Make WordPress Core

Changeset 9565


Ignore:
Timestamp:
11/08/08 02:39:18 (5 years ago)
Author:
azaozz
Message:

Use ndash for number range, props demetris, fixes #8088

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r9563 r9565  
    191191 
    192192<?php if ( $page_links ) : ?> 
    193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     193<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    194194    number_format_i18n( $start + 1 ), 
    195195    number_format_i18n( min( $page * $comments_per_page, $total ) ), 
  • trunk/wp-admin/edit-pages.php

    r9563 r9565  
    188188 
    189189if ( $page_links ) : ?> 
    190 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     190<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    191191    number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), 
    192192    number_format_i18n( min( $pagenum * $per_page, $wp_query->post_count ) ), 
  • trunk/wp-admin/edit.php

    r9563 r9565  
    226226 
    227227<?php if ( $page_links ) { ?> 
    228 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     228<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    229229    number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), 
    230230    number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ), 
  • trunk/wp-admin/includes/user.php

    r9556 r9565  
    667667            ) ); 
    668668            if ( $this->paging_text ) { 
    669                 $this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     669                $this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    670670                    number_format_i18n( ( $this->page - 1 ) * $this->users_per_page + 1 ), 
    671671                    number_format_i18n( min( $this->page * $this->users_per_page, $this->total_users_for_query ) ), 
  • trunk/wp-admin/themes.php

    r9556 r9565  
    126126 
    127127<?php if ( $page_links ) : ?> 
    128 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     128<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    129129    number_format_i18n( $start + 1 ), 
    130130    number_format_i18n( min( $page * $per_page, $theme_total ) ), 
  • trunk/wp-admin/upload.php

    r9563 r9565  
    237237 
    238238if ( $page_links ) : ?> 
    239 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ), 
     239<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ), 
    240240    number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), 
    241241    number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ), 
Note: See TracChangeset for help on using the changeset viewer.