Fix: Optimize dataset page layout and internationalization and default values for multi selection #3221 (#9695)

### What problem does this PR solve?

Fix: Optimize dataset page layout and internationalization and Fix
setting default values for multi selection drop-down boxes #3221

-Adjust the style and layout of each component on the dataset page
-Add and update multilingual translation content

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-08-25 17:29:15 +08:00
committed by GitHub
parent a3aa3f0d36
commit d367c7e226
15 changed files with 99 additions and 39 deletions

View File

@ -67,10 +67,14 @@ export function SideBar({ refreshCount }: PropType) {
{data.name}
</h3>
<div className="flex justify-between">
<span>{data.doc_num} files</span>
<span>
{data.doc_num} {t('knowledgeDetails.files')}
</span>
<span>{formatBytes(data.size)}</span>
</div>
<div>Created {formatPureDate(data.create_time)}</div>
<div>
{t('knowledgeDetails.created')} {formatPureDate(data.create_time)}
</div>
</div>
</div>