mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
adds translation key to the included in price validation
This commit is contained in:
@@ -7,7 +7,7 @@ module Spree
|
||||
|
||||
return if Zone.default_tax
|
||||
|
||||
record.errors.add(:included_in_price, Spree.t(:included_price_validation))
|
||||
record.errors.add(:included_in_price, Spree.t("errors.messages.included_price_validation"))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3221,6 +3221,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
payment_state: "Payment State"
|
||||
errors:
|
||||
messages:
|
||||
included_price_validation: "cannot be selected unless you have set a Default Tax Zone"
|
||||
blank: "can't be blank"
|
||||
layouts:
|
||||
admin:
|
||||
|
||||
Reference in New Issue
Block a user