protected function dropzoneAttributes($url)
    {

        $init      = new JavaScriptExpression($this->init('translationImport'));
        $validator = app(CsvValidator::class);
        $rules     = $this->getValidationRules('file', $validator);
        return [
            'container'     => 'translationImport',
            'paramName'     => 'file',
            'view'          => 'antares/translations::admin.partials._dropzone',
            'url'           => $url,
            'maxFiles'      => 1,
            'acceptedFiles' => '.csv',
            'init'          => $init] + $rules;
    }