Ah oops, I should've caught that one too. We have _translations file in the backend which defines `Spree.translations` to be used in JS. Just add that translation to the en.yml file and use `Spree.translations.problem_adding_coupon_code` there and that will work fine.