lion/packages/ui/components/input-file/translations/en.js
Vladimir Skorokhod f9f55193c3
LionInputFile: Customize the text content of the selected files for screen reader if uploadOnSelect is enabled (#2509)
* update lion input file component and en translations

* update tests for input file

* add changeset

* add german and russian translations

* chore: add NL translations and fix small 2 bugs in fileNameDescriptionLabels

* fix lint error

---------

Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2025-05-13 13:00:20 +02:00

19 lines
1,004 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: ',
generalValidatorMessage: '"{validatorMessage}", for {listOfErroneousFiles}.',
noFilesSelected: 'No files selected.',
noFilesUploaded: 'No files uploaded.',
fileSelected: 'Selected file: ',
fileUploaded: 'Uploaded file: ',
filesSelected: 'Selected files: {numberOfFiles} files.',
filesUploaded: 'Uploaded files: {numberOfFiles} files.',
removeButtonLabel: 'Remove {fileName} file',
selectTextDuplicateFileName: 'A file with same filename was already present.',
selectTextMultipleFile: 'Select files',
selectTextSingleFile: 'Select file',
};