Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
b0554701
Unverified
Commit
b0554701
authored
Jun 09, 2023
by
KVOJJJin
Committed by
GitHub
Jun 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: xls not supported (#329)
parent
5943385d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
web/app/components/datasets/create/file-uploader/index.tsx
+1
-1
dataset-creation.en.ts
web/i18n/lang/dataset-creation.en.ts
+1
-1
dataset-creation.zh.ts
web/i18n/lang/dataset-creation.zh.ts
+1
-1
No files found.
web/app/components/datasets/create/file-uploader/index.tsx
View file @
b0554701
...
@@ -22,7 +22,7 @@ const ACCEPTS = [
...
@@ -22,7 +22,7 @@ const ACCEPTS = [
'.md'
,
'.md'
,
'.markdown'
,
'.markdown'
,
'.txt'
,
'.txt'
,
'.xls'
,
//
'.xls',
'.xlsx'
,
'.xlsx'
,
'.csv'
,
'.csv'
,
]
]
...
...
web/i18n/lang/dataset-creation.en.ts
View file @
b0554701
...
@@ -22,7 +22,7 @@ const translation = {
...
@@ -22,7 +22,7 @@ const translation = {
title
:
'Upload text file'
,
title
:
'Upload text file'
,
button
:
'Drag and drop file, or'
,
button
:
'Drag and drop file, or'
,
browse
:
'Browse'
,
browse
:
'Browse'
,
tip
:
'Supports txt, html, markdown, xlsx,
xls,
and pdf.'
,
tip
:
'Supports txt, html, markdown, xlsx, and pdf.'
,
validation
:
{
validation
:
{
typeError
:
'File type not supported'
,
typeError
:
'File type not supported'
,
size
:
'File too large. Maximum is 15MB'
,
size
:
'File too large. Maximum is 15MB'
,
...
...
web/i18n/lang/dataset-creation.zh.ts
View file @
b0554701
...
@@ -22,7 +22,7 @@ const translation = {
...
@@ -22,7 +22,7 @@ const translation = {
title
:
'上传文本文件'
,
title
:
'上传文本文件'
,
button
:
'拖拽文件至此,或者'
,
button
:
'拖拽文件至此,或者'
,
browse
:
'选择文件'
,
browse
:
'选择文件'
,
tip
:
'已支持 TXT, HTML, Markdown, PDF, XLSX
, XLS
'
,
tip
:
'已支持 TXT, HTML, Markdown, PDF, XLSX'
,
validation
:
{
validation
:
{
typeError
:
'文件类型不支持'
,
typeError
:
'文件类型不支持'
,
size
:
'文件太大了,不能超过 15MB'
,
size
:
'文件太大了,不能超过 15MB'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment