Permalink
Browse files

Make order of words in image navigation localized

  • Loading branch information...
obenland committed Aug 24, 2012
1 parent 131a97c commit 63e4b844aa9e18fa668d0345d188c20b842237d2
Showing with 3 additions and 4 deletions.
  1. +3 −4 image.php
View
@@ -40,12 +40,11 @@
<span class="gallery-link pull-left">
<a href="<?php echo get_permalink( $post->post_parent ); ?>">
<?php printf(
- '&laquo; %1$s (%2$s)',
+ _x( '&laquo; %1$s (%2$s)', 'Post title, amount of images', 'the-bootstrap' ),
get_the_title( $post->post_parent ),
sprintf(
- '%d %s',
- $total_images,
- _n( 'image', 'images', $total_images, 'the-bootstrap' )
+ _nx( '%d image', '%d images', $total_images, 'Amount of images', 'the-bootstrap' ),
+ $total_images
)
); ?>
</a>

0 comments on commit 63e4b84

Please sign in to comment.