• Resolved wpuser1543

    (@wpuser1543)


    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)
  • Thread Starter wpuser1543

    (@wpuser1543)

    After debugging; the error is not in the above part of code, but in the template function… :

    yit_decode_title( $slogan );

    So I don’t think the error is due to your plugin. My apologies 🙂

    Hey there,

    Thanks for looking at this with attention!

    Cheers,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘bad gettext interpretation’ is closed to new replies.