demarches-normaliennes/config/locales/active_storage_validations.en.yml
Pierre de La Morinerie 60c2718f29 models: remove custom code for file size validation message
With active_storage_validations 0.9.6, we can use the %{max_size}
variable directly in the error message.
2021-11-24 10:06:45 +01:00

5 lines
163 B
YAML

en:
errors:
messages:
content_type_invalid: is not of an accepted type
file_size_out_of_range: is too big. The file must be at most %{max_size}.