Skip to content

Commit

Permalink
Mobile Theme: Fix translation call.
Browse files Browse the repository at this point in the history
Translation function should use context function.
See #9
Props @jeherve, @deckerweb
  • Loading branch information
georgestephanis committed Jan 1, 2014
1 parent e93d031 commit f6c261d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/minileven/theme/pub/minileven/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</article><!-- #post-<?php the_ID(); ?> -->

<nav id="nav-single">
<h3 class="assistive-text"><?php _e( 'Image navigation', 'next-saturday' , 'jetpack' ); ?></h3>
<h3 class="assistive-text"><?php _ex( 'Image navigation', 'next-saturday' , 'jetpack' ); ?></h3>
<span class="nav-previous"><?php previous_image_link( false, __( '&laquo; Previous' , 'jetpack' ) ); ?></span>
<span class="nav-next"><?php next_image_link( false, __( 'Next &raquo; ' , 'jetpack' ) ); ?></span>
</nav><!-- #nav-single -->
Expand All @@ -95,4 +95,4 @@

</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>
<?php get_footer(); ?>

0 comments on commit f6c261d

Please sign in to comment.