From 1f5dc1f864dfbed4df38caa160b90883465afecd Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Wed, 9 Aug 2023 16:56:47 +0200 Subject: [PATCH] Add ActiveRecords messages for translation in account creation --- config/locales/en.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index bcf99fc388..44d90938dd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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: