Make WordPress Core

Ticket #15859: 15859.3.diff

File 15859.3.diff, 981 bytes (added by nacin, 14 years ago)
  • wp-content/themes/twentyten/loop.php

     
    8282                                                <div class="gallery-thumb">
    8383                                                        <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
    8484                                                </div><!-- .gallery-thumb -->
    85                                                 <p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
     85                                                <p><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyten' ),
    8686                                                                'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
    87                                                                 $total_images
     87                                                                number_format_i18n( $total_images )
    8888                                                        ); ?></em></p>
    8989                                <?php endif; ?>
    9090                                                <?php the_excerpt(); ?>