Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ronin

    (@rpletcher)

    Thank you for bringing this to my attention. It looks like I did miss a line or two. I will review the code and release an update shortly with that change.

    Plugin Author Ronin

    (@rpletcher)

    If you want to update your copy faster I found the issue. It is like 139 of the admin/giftcard-functions.php file. If you are comfortable editing the file you would replace the text on line 139 with the following.

    <?php echo get_post_meta( $giftCard->ID, 'rpgc_from', true); ?> <?php _e('has selected a', WPR_CORE_TEXT_DOMAIN ); ?> <strong><a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'name' ); ?></a></strong> <?php _e( 'Gift Card for you! This card can be used for online purchases at', WPR_CORE_TEXT_DOMAIN ); ?> <?php bloginfo( 'name' ); ?>. <br />

    Ryan

    Thread Starter 2getgrip

    (@2getgrip)

    Ok thank you, that line is fixed.

    But the head text(from email) “New gift card from 2 Get Grip” and the subject “[2 Get Grip] Gift Card Information” are also missing.

    https://imageshack.com/i/f0OaegEgp

    Plugin Author Ronin

    (@rpletcher)

    Yes thank you for finding those as well. I have included the lines below so that you can fix it now and it will be on my next release. Same file as before.

    Line 91:
    $subject = apply_filters( ‘woocommerce_email_subject_gift_card’, sprintf( ‘[%s] %s’, $blogname, __( ‘Gift Card Information’, WPR_CORE_TEXT_DOMAIN ) ), $post->post_title );

    Line 101:
    $email_heading = __( ‘New gift card from ‘, WPR_CORE_TEXT_DOMAIN ) . $blogname;

    Thread Starter 2getgrip

    (@2getgrip)

    The Lines have been replaced, but still not working.

    When will you update this plugin?

    Plugin Author Ronin

    (@rpletcher)

    I plan on updating it today or tomorrow.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translation problem’ is closed to new replies.