Update translation scope for PayPal checkout cancellation message

This commit is contained in:
Rob Harrington
2017-09-23 12:51:01 +10:00
parent 131d9384c2
commit d2d07f0362

View File

@@ -3,7 +3,7 @@ Spree::PaypalController.class_eval do
before_filter :enable_embedded_shopfront
def cancel
flash[:notice] = t('flash.cancel', :scope => 'paypal')
flash[:notice] = Spree.t('flash.cancel', :scope => 'paypal')
redirect_to main_app.checkout_path
end