Przeglądaj źródła

Fix: xls not supported (#329)

tags/0.3.2
KVOJJJin 2 lat temu
rodzic
commit
b055470147
No account linked to committer's email address

+ 1
- 1
web/app/components/datasets/create/file-uploader/index.tsx Wyświetl plik

@@ -22,7 +22,7 @@ const ACCEPTS = [
'.md',
'.markdown',
'.txt',
'.xls',
// '.xls',
'.xlsx',
'.csv',
]

+ 1
- 1
web/i18n/lang/dataset-creation.en.ts Wyświetl plik

@@ -22,7 +22,7 @@ const translation = {
title: 'Upload text file',
button: 'Drag and drop file, or',
browse: 'Browse',
tip: 'Supports txt, html, markdown, xlsx, xls, and pdf.',
tip: 'Supports txt, html, markdown, xlsx, and pdf.',
validation: {
typeError: 'File type not supported',
size: 'File too large. Maximum is 15MB',

+ 1
- 1
web/i18n/lang/dataset-creation.zh.ts Wyświetl plik

@@ -22,7 +22,7 @@ const translation = {
title: '上传文本文件',
button: '拖拽文件至此,或者',
browse: '选择文件',
tip: '已支持 TXT, HTML, Markdown, PDF, XLSX, XLS',
tip: '已支持 TXT, HTML, Markdown, PDF, XLSX',
validation: {
typeError: '文件类型不支持',
size: '文件太大了,不能超过 15MB',

Ładowanie…
Anuluj
Zapisz