Home Reference Source

application/lang/en/dropzone.js

export const language = {
    complete: () => {
        return 'Upload complete'
    },
    failed: (filenames) => {
        return (
            <p>
                Unable to upload some files:<br />
                {filenames.map((file, i) => {
                    return <div key={i}>{file}</div>;
                })}
            </p>
        )
    },
    placeholder: () => {
        return (
            <h4>Drop your files here, or <span className='faux-link'>click to select files from your computer</span>.</h4>
        )
    },
    uploading: (total) => {
        return (
            <strong>Uploading {total} file(s)...</strong>
        );
    }
}