fix(upload): missing i18n key
This commit is contained in:
parent
a931bea712
commit
8a340b6f74
3 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ en:
|
|||
delete_file: Delete file %{filename}
|
||||
replace: Replace
|
||||
replace_file: Replace file %{filename}
|
||||
open_file: Open file %{filename}
|
||||
errors:
|
||||
uploading: "An error occurred while sending the file."
|
||||
virus_infected: "Virus detected, please send another file."
|
||||
|
|
|
@ -7,6 +7,7 @@ fr:
|
|||
delete_file: Supprimer le fichier %{filename}
|
||||
replace: Remplacer
|
||||
replace_file: Remplacer le fichier %{filename}
|
||||
open_file: Ouvrir le fichier %{filename}
|
||||
errors:
|
||||
uploading: "Une erreur s’est produite pendant l’envoi du fichier."
|
||||
virus_infected: "Virus détecté, merci d’envoyer un autre fichier."
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
= render Dsfr::DownloadComponent.new(attachment:)
|
||||
- else
|
||||
.fr-py-1v
|
||||
%span.attachment-filename.fr-mr-1w= link_to_if(viewable?, attachment.filename.to_s, helpers.url_for(attachment.blob), title: "Ouvrir le fichier #{attachment.filename.to_s}", **helpers.external_link_attributes)
|
||||
%span.attachment-filename.fr-mr-1w= link_to_if(viewable?, attachment.filename.to_s, helpers.url_for(attachment.blob), title: t(".open_file", filename: attachment.filename), **helpers.external_link_attributes)
|
||||
|
||||
= render Attachment::ProgressComponent.new(attachment: attachment)
|
||||
|
||||
|
|
Loading…
Reference in a new issue