filepond
Version:
FilePond, Where files go to stretch their bits.
40 lines (39 loc) • 2.13 kB
JavaScript
export default {
labelIdle: 'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>',
labelInvalidField: 'Field contains invalid files',
labelFileWaitingForSize: 'Waiting for size',
labelFileSizeNotAvailable: 'Size not available',
labelFileLoading: 'Loading',
labelFileLoadError: 'Error during load',
labelFileProcessing: 'Uploading',
labelFileProcessingComplete: 'Upload complete',
labelFileProcessingAborted: 'Upload cancelled',
labelFileProcessingError: 'Error during upload',
labelFileProcessingRevertError: 'Error during revert',
labelFileRemoveError: 'Error during remove',
labelTapToCancel: 'tap to cancel',
labelTapToRetry: 'tap to retry',
labelTapToUndo: 'tap to undo',
labelButtonRemoveItem: 'Remove',
labelButtonAbortItemLoad: 'Abort',
labelButtonRetryItemLoad: 'Retry',
labelButtonAbortItemProcessing: 'Cancel',
labelButtonUndoItemProcessing: 'Undo',
labelButtonRetryItemProcessing: 'Retry',
labelButtonProcessItem: 'Upload',
labelMaxFileSizeExceeded: 'File is too large',
labelMaxFileSize: 'Maximum file size is {filesize}',
labelMaxTotalFileSizeExceeded: 'Maximum total size exceeded',
labelMaxTotalFileSize: 'Maximum total file size is {filesize}',
labelFileTypeNotAllowed: 'File of invalid type',
fileValidateTypeLabelExpectedTypes: 'Expects {allButLastType} or {lastType}',
imageValidateSizeLabelFormatError: 'Image type not supported',
imageValidateSizeLabelImageSizeTooSmall: 'Image is too small',
imageValidateSizeLabelImageSizeTooBig: 'Image is too big',
imageValidateSizeLabelExpectedMinSize: 'Minimum size is {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: 'Maximum size is {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: 'Resolution is too low',
imageValidateSizeLabelImageResolutionTooHigh: 'Resolution is too high',
imageValidateSizeLabelExpectedMinResolution: 'Minimum resolution is {minResolution}',
imageValidateSizeLabelExpectedMaxResolution: 'Maximum resolution is {maxResolution}'
};