Feat/customizable file upload config (#818)

This commit is contained in:
Matri 2023-08-16 23:14:27 +08:00 • committed by GitHub
commit 155a4733f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 122 additions and 83 deletions

View file

@ -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',