Ticket #32034: 32034.patch
File 32034.patch, 1.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/class-wp-list-table.php
686 686 $infinite_scroll = $this->_pagination_args['infinite_scroll']; 687 687 } 688 688 689 $output = '<span class="displaying-num">' . sprintf( _n( ' 1item', '%s items', $total_items ), number_format_i18n( $total_items ) ) . '</span>';689 $output = '<span class="displaying-num">' . sprintf( _n( '%s item', '%s items', $total_items ), number_format_i18n( $total_items ) ) . '</span>'; 690 690 691 691 $current = $this->get_pagenum(); 692 692 … … 1110 1110 1111 1111 if ( isset( $this->_pagination_args['total_items'] ) ) { 1112 1112 $response['total_items_i18n'] = sprintf( 1113 _n( ' 1item', '%s items', $this->_pagination_args['total_items'] ),1113 _n( '%s item', '%s items', $this->_pagination_args['total_items'] ), 1114 1114 number_format_i18n( $this->_pagination_args['total_items'] ) 1115 1115 ); 1116 1116 }