lion/packages/ui/components/input-file/translations/en.js
gerjanvangeest b2d7d9b4a4
Fix/input file a11y (#2304)
* fix(input-file): improve accessibility

* chore: update the message

* chore: add the translations

* chore: fix linting

* chore: add changeset
2024-06-17 10:52:21 +02:00

15 lines
828 B
JavaScript

export default {
allowedFileSize: 'Please select a file with max {maxSize}.',
allowedFileValidatorSimple: 'Please select a(n) {allowedType} file with max {maxSize}.',
allowedFileValidatorComplex:
'Please select a {allowedTypesArray} or {allowedTypesLastItem} file with max {maxSize}.',
dragAndDropText: 'Drag & Drop your files here or', // TODO: or what? Why is Drag & Drop capitalized?
fileNameDescriptionLabel: 'File name: {fileName}',
generalValidatorMessage: '"{validatorMessage}", for {listOfErroneousFiles}.',
noFilesSelected: 'No files selected.',
numberOfFiles: '{numberOfFiles} files.',
removeButtonLabel: 'Remove {fileName} file',
selectTextDuplicateFileName: 'A file with same filename was already present.',
selectTextMultipleFile: 'Select files',
selectTextSingleFile: 'Select file',
};