localize Closes #1266.
This commit is contained in:
parent
1be0b9f8f2
commit
5ec11abf9c
|
@ -29,7 +29,7 @@ class WC_Product_Cat_Dropdown_Walker extends Walker {
|
|||
|
||||
$output .= '>';
|
||||
|
||||
$output .= $pad . $cat_name;
|
||||
$output .= $pad . __( $cat_name, 'woocommerce' );
|
||||
|
||||
if ( $args['show_count'] )
|
||||
$output .= ' (' . $cat->count . ')';
|
||||
|
|
|
@ -60,7 +60,7 @@ class WC_Product_Cat_List_Walker extends Walker {
|
|||
if ( $args['current_category_ancestors'] && $args['current_category'] && in_array( $cat->term_id, $args['current_category_ancestors'] ) )
|
||||
$output .= ' current-cat-parent';
|
||||
|
||||
$output .= '"><a href="' . get_term_link( (int) $cat->term_id, 'product_cat' ) . '">' . $cat->name . '</a>';
|
||||
$output .= '"><a href="' . get_term_link( (int) $cat->term_id, 'product_cat' ) . '">' . __( $cat->name, 'woocommerce' ) . '</a>';
|
||||
|
||||
if ( $args['show_count'] )
|
||||
$output .= ' <span class="count">(' . $cat->count . ')</span>';
|
||||
|
|
Loading…
Reference in New Issue