Permalink
Browse files

Add context for “Select” button in “jigoshop_template_loop_add_to_car…

…t” function
  • Loading branch information...
1 parent 048a564 commit 70814b69284d6de9be1804754b221d89f3c6e97f @labreagent labreagent committed Jan 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jigoshop_template_functions.php
@@ -98,7 +98,7 @@ function jigoshop_template_loop_add_to_cart( $post, $_product ) {
if ( $_product->is_in_stock() OR $_product->is_type('external') ) :
if ( $_product->is_type(array('variable', 'grouped')) ) :
- $output = '<a href="'.get_permalink($_product->id).'" class="button">'.__('Select', 'jigoshop').'</a>';
+ $output = '<a href="'.get_permalink($_product->id).'" class="button">'._x('Select', 'verb', 'jigoshop').'</a>';
elseif ( $_product->is_type('external') ) :
$output = '<a href="'.get_post_meta( $_product->id, 'external_url', true ).'" class="button">'.__('Buy product', 'jigoshop').'</a>';
else :

0 comments on commit 70814b6

Please sign in to comment.