Add ActiveRecords messages for translation in account creation

This commit is contained in:
Jean-Baptiste Bellet
2023-08-09 16:56:47 +02:00
parent 2b108dfeee
commit 1f5dc1f864

View File

@@ -115,6 +115,10 @@ en:
using_producer_stock_settings_but_count_on_hand_set: "must be blank because using producer stock settings"
on_demand_but_count_on_hand_set: "must be blank if on demand"
limited_stock_but_no_count_on_hand: "must be specified because forcing limited stock"
messages:
confirmation: "doesn't match %{attribute}"
blank: "can't be blank"
too_short: "is too short (minimum is %{count} characters)"
# Used by active_storage_validations
errors:
messages: