Feat/customizable file upload config (#818)
This commit is contained in:
parent
b7c29ea1b6
commit
155a4733f6
13 changed files with 122 additions and 83 deletions
|
|
@ -23,10 +23,10 @@ const translation = {
|
|||
title: 'Upload text file',
|
||||
button: 'Drag and drop file, or',
|
||||
browse: 'Browse',
|
||||
tip: 'Supports txt, html, markdown, xlsx, and pdf. Max 15MB each.',
|
||||
tip: 'Supports txt, html, markdown, xlsx, and pdf. Max {{size}}MB each.',
|
||||
validation: {
|
||||
typeError: 'File type not supported',
|
||||
size: 'File too large. Maximum is 15MB',
|
||||
size: 'File too large. Maximum is {{size}}MB',
|
||||
count: 'Multiple files not supported',
|
||||
},
|
||||
cancel: 'Cancel',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue