%2$s photos.', 'twentyten' ),
+ %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ),
'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
- $total_images
+ number_format_i18n( $total_images )
); ?>