The error message that appears in the cart when an incorrect gift card number is entered is the same error message for incorrect coupon codes. Using version 3.9
When entering wrong discount coupon code we use "ShoppingCart.DiscountCouponCode.WrongDiscount" locale. When entering wrong gift card code we use "ShoppingCart.GiftCardCouponCode.WrongGiftCard" locale. Their values are the same (it's by design). You can edit them in admin area > configuration > languages > resources.
When entering wrong discount coupon code we use "ShoppingCart.DiscountCouponCode.WrongDiscount" locale. When entering wrong gift card code we use "ShoppingCart.GiftCardCouponCode.WrongGiftCard" locale. Their values are the same (it's by design). You can edit them in admin area > configuration > languages > resources.
so everything works fine
Thanks for the reply. Yes the strings are the same for both. Why is that by design? I am not following you.
The string for both variables is: "The coupon code you entered couldn't be applied to your order"
Shouldn't "ShoppingCart.GiftCardCouponCode.WrongGiftCard" be something like "The gift card you entered couldn't be applied to your order".