Merge branch 'next' of https://github.com/n4ze3m/page-assist into next
This commit is contained in:
commit
559e89c0c8
@ -32,7 +32,7 @@
|
|||||||
"uploadFile": {
|
"uploadFile": {
|
||||||
"label": "Upload File",
|
"label": "Upload File",
|
||||||
"uploadText": "Drag and drop a file here or click to upload",
|
"uploadText": "Drag and drop a file here or click to upload",
|
||||||
"uploadHint": "Supported file types: .pdf, .csv, .txt",
|
"uploadHint": "Supported file types: .pdf, .csv, .txt, .md",
|
||||||
"required": "File is required"
|
"required": "File is required"
|
||||||
},
|
},
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"uploadFile": {
|
"uploadFile": {
|
||||||
"label": "ഫയല് അപ്ലോഡ് ചെയ്യുക",
|
"label": "ഫയല് അപ്ലോഡ് ചെയ്യുക",
|
||||||
"uploadText": "ഇവിടെ ഒരു ഫയല് എടുത്തിടുക അല്ലെങ്കില് അപ്ലോഡ് ചെയ്യാന് ക്ലിക്ക് ചെയ്യുക",
|
"uploadText": "ഇവിടെ ഒരു ഫയല് എടുത്തിടുക അല്ലെങ്കില് അപ്ലോഡ് ചെയ്യാന് ക്ലിക്ക് ചെയ്യുക",
|
||||||
"uploadHint": "പിന്തുണയുള്ള ഫയല് തരങ്ങള്: .pdf, .csv, .txt",
|
"uploadHint": "പിന്തുണയുള്ള ഫയല് തരങ്ങള്: .pdf, .csv, .txt, .md",
|
||||||
"required": "ഫയല് ആവശ്യമാണ്"
|
"required": "ഫയല് ആവശ്യമാണ്"
|
||||||
},
|
},
|
||||||
"submit": "സമര്പ്പിക്കുക",
|
"submit": "സമര്പ്പിക്കുക",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"uploadFile": {
|
"uploadFile": {
|
||||||
"label": "上传文件",
|
"label": "上传文件",
|
||||||
"uploadText": "将文件拖放到此处或点击上传",
|
"uploadText": "将文件拖放到此处或点击上传",
|
||||||
"uploadHint": "支持的文件类型: .pdf, .csv, .txt",
|
"uploadHint": "支持的文件类型: .pdf, .csv, .txt, .md",
|
||||||
"required": "文件是必需的"
|
"required": "文件是必需的"
|
||||||
},
|
},
|
||||||
"submit": "提交",
|
"submit": "提交",
|
||||||
|
@ -90,7 +90,7 @@ export const AddKnowledge = ({ open, setOpen }: Props) => {
|
|||||||
return e?.fileList
|
return e?.fileList
|
||||||
}}>
|
}}>
|
||||||
<Upload.Dragger
|
<Upload.Dragger
|
||||||
accept={".pdf, .csv, .txt"}
|
accept={".pdf, .csv, .txt, .md"}
|
||||||
multiple={true}
|
multiple={true}
|
||||||
maxCount={10}
|
maxCount={10}
|
||||||
beforeUpload={(file) => {
|
beforeUpload={(file) => {
|
||||||
@ -113,8 +113,8 @@ export const AddKnowledge = ({ open, setOpen }: Props) => {
|
|||||||
return false
|
return false
|
||||||
}}>
|
}}>
|
||||||
<div className="p-3">
|
<div className="p-3">
|
||||||
<p className="ant-upload-drag-icon justify-center flex">
|
<p className="flex justify-center ant-upload-drag-icon">
|
||||||
<InboxIcon className="h-10 w-10 text-gray-400" />
|
<InboxIcon className="w-10 h-10 text-gray-400" />
|
||||||
</p>
|
</p>
|
||||||
<p className="ant-upload-text">
|
<p className="ant-upload-text">
|
||||||
{t("form.uploadFile.uploadText")}
|
{t("form.uploadFile.uploadText")}
|
||||||
@ -130,7 +130,7 @@ export const AddKnowledge = ({ open, setOpen }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={isSaving}
|
disabled={isSaving}
|
||||||
className="inline-flex w-full text-center justify-center items-center rounded-md border border-transparent bg-black px-2 py-2 text-md font-medium leading-4 text-white shadow-sm hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-white dark:text-gray-800 dark:hover:bg-gray-100 dark:focus:ring-gray-500 dark:focus:ring-offset-gray-100 disabled:opacity-50">
|
className="inline-flex items-center justify-center w-full px-2 py-2 font-medium leading-4 text-center text-white bg-black border border-transparent rounded-md shadow-sm text-md hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-white dark:text-gray-800 dark:hover:bg-gray-100 dark:focus:ring-gray-500 dark:focus:ring-offset-gray-100 disabled:opacity-50">
|
||||||
{t("form.submit")}
|
{t("form.submit")}
|
||||||
</button>
|
</button>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user