bad gettext interpretation
-
Hello,
in the bishop template for woocommerce, the gettext _e( ‘Shopping Bag ‘, ‘yit’ ) is not well recognized. The result is
"CURRENT" >486>SHOPPING BAG. Can you fix it please ?wp-content\themes\bishop\theme\templates\header\slogan.php (line 26)
The code :
ob_start(); ?> <span <?php if ( is_cart() ) { ?> class="current"<?php } ?> ><?php _e( 'Shopping Bag ', 'yit' ); ?></span> <span <?php if ( ( is_checkout() && !is_account_page() ) && ! is_order_received_page() ) { ?> class="current"<?php } ?> ><?php _e( 'Checkout Details ', 'yit' ); ?></span> <span <?php if ( is_order_received_page() ) { ?> class="current"<?php } ?> ><?php _e( 'Order Complete', 'yit' ); ?></span> <?php $slogan = ob_get_clean();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘bad gettext interpretation’ is closed to new replies.