Skip to content

Commit

Permalink
More fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Nov 21, 2023
1 parent 9007322 commit 53d2fca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/FilePond.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ final class FilePond extends InputWidget
/**
* @var string The label to show when there are no files.
*/
public string $labelIdle = 'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>';
public string $labelIdle = '';
/**
* @var string Label for max files size.
*/
Expand Down Expand Up @@ -309,7 +309,10 @@ public function init(): void
'imageTransformVariantsDefaultName' => $this->imageTransformVariantsDefaultName,
'imageTransformVariantsIncludeOriginal' => $this->imageTransformVariantsIncludeDefault,
'labelFileTypeNotAllowed' => Yii::t('yii.filepond', 'File type not allowed'),
'labelIdle' => $this->labelIdle,
'labelIdle' => Yii::t(
'yii.filepond',
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>',
),
'labelMaxFileSize' => Yii::t('yii.filepond', 'Maximum file size is {filesize}'),
'labelMaxFileSizeExceeded' => Yii::t('yii.filepond', 'File is too large'),
'labelMaxTotalFileSize' => Yii::t('yii.filepond', 'Maximum total file size is {filesize}'),
Expand Down

0 comments on commit 53d2fca

Please sign in to comment.