replace default message on "download" button below dropzone

This commit is contained in:
Julien Fastré 2019-01-15 12:15:04 +01:00
parent 8bc1b5f769
commit 927d7e6e85
3 changed files with 8 additions and 1 deletions

View File

@ -17,3 +17,9 @@ Version 1.5.3
=============
- the javascript for uploading a file now works within collections, listening to collection events.
`Master` branch
===============
- replace default message on download button below dropzone ;

View File

@ -3,6 +3,7 @@ Documents for %name%: Documents de %name%
Preparing: En préparation
Ready to show: Prêt à être visualisé
Download: Télécharger
Download existing file: Télécharger le fichier existant
Create new document: Créer un nouveau document
New document for %name%: Nouveau document pour %name%
Editing document for %name%: Modification d'un document pour %name%

View File

@ -2,7 +2,7 @@
<div
data-stored-object="data-stored-object"
data-label-preparing="{{ ('Preparing'|trans ~ '...')|escape('html_attr') }}"
data-label-quiet-button="{{ 'Download'|trans|escape('html_attr') }}"
data-label-quiet-button="{{ 'Download existing file'|trans|escape('html_attr') }}"
data-label-ready="{{ 'Ready to show'|trans|escape('html_attr') }}"
data-dict-file-too-big="{{ 'File too big'|trans|escape('html_attr') }}"
data-dict-default-message="{{ "Drop your file or click here"|trans|escape('html_attr') }}"