chore(messagerie): mention multiple files are possible

This commit is contained in:
Colin Darie 2024-04-15 12:34:22 +02:00 committed by Kara Diaby
parent 6748551240
commit 9e3bf50e61
3 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@ en:
retry: Retry retry: Retry
delete: Delete delete: Delete
delete_file: Delete file %{filename} delete_file: Delete file %{filename}
multiple_files: Multiple files possible.
replace: Replace replace: Replace
replace_file: Replace file %{filename} replace_file: Replace file %{filename}
open_file: Open file %{filename} open_file: Open file %{filename}

View file

@ -5,6 +5,7 @@ fr:
retry: Réessayer retry: Réessayer
delete: Supprimer delete: Supprimer
delete_file: Supprimer le fichier %{filename} delete_file: Supprimer le fichier %{filename}
multiple_files: Plusieurs fichiers possibles.
replace: Remplacer replace: Remplacer
replace_file: Remplacer le fichier %{filename} replace_file: Remplacer le fichier %{filename}
open_file: Ouvrir le fichier %{filename} open_file: Ouvrir le fichier %{filename}

View file

@ -43,6 +43,8 @@
= t('.max_file_size', max_file_size: number_to_human_size(max_file_size)) = t('.max_file_size', max_file_size: number_to_human_size(max_file_size))
- if allowed_formats.present? - if allowed_formats.present?
= t('.allowed_formats', formats: allowed_formats.join(', ')) = t('.allowed_formats', formats: allowed_formats.join(', '))
- if as_multiple?
= t('.multiple_files')
- if !persisted? || champ.present? && champ.titre_identite? - if !persisted? || champ.present? && champ.titre_identite?
= file_field(champ, field_name, **file_field_options) = file_field(champ, field_name, **file_field_options)