diff --git a/app/views/admin/communication/websites/_form.html.erb b/app/views/admin/communication/websites/_form.html.erb index 57989105b5e04f9c3b03d6d12a98d914fb459282..a14cd00142bfbe5aed08ced7cfdbb516b924522c 100644 --- a/app/views/admin/communication/websites/_form.html.erb +++ b/app/views/admin/communication/websites/_form.html.erb @@ -39,8 +39,8 @@ <%= f.input :default_image, as: :single_deletable_file, direct_upload: true, - hint: '5 Mo max, .jpg, .jpeg, .png, .svg', - input_html: { accept: '.jpg,.jpeg,.png,.svg' }, + hint: t('default_images_hint', formats: default_images_formats_accepted), + input_html: { accept: default_images_formats_accepted }, preview: true %> <% end %> </div>