fix: ui bugs

This commit is contained in:
Junyan Qin
2025-07-12 18:12:53 +08:00
parent a10e61735d
commit de76fed25a
5 changed files with 58 additions and 7 deletions

View File

@@ -254,7 +254,7 @@ const enUS = {
documentsTab: {
name: 'Name',
status: 'Status',
noResults: 'No results',
noResults: 'No documents',
dragAndDrop: 'Drag and drop files here or click to upload',
uploading: 'Uploading...',
supportedFormats:
@@ -267,6 +267,8 @@ const enUS = {
fileDeleteSuccess: 'File deleted successfully',
fileDeleteFailed: 'File deletion failed',
},
deleteKnowledgeBaseConfirmation:
'Are you sure you want to delete this knowledge base? All documents in this knowledge base will be deleted.',
},
register: {
title: 'Initialize LangBot 👋',

View File

@@ -256,7 +256,7 @@ const jaJP = {
documentsTab: {
name: '名前',
status: 'ステータス',
noResults: '結果がありません',
noResults: 'ドキュメントがありません',
dragAndDrop:
'ファイルをここにドラッグ&ドロップするか、クリックしてアップロードしてください',
uploading: 'アップロード中...',
@@ -265,7 +265,13 @@ const jaJP = {
uploadSuccess: 'ファイルのアップロードに成功しました!',
uploadError: 'ファイルのアップロードに失敗しました。再度お試しください',
uploadingFile: 'ファイルをアップロード中...',
actions: 'アクション',
delete: 'ドキュメントを削除',
fileDeleteSuccess: 'ドキュメントの削除に成功しました',
fileDeleteFailed: 'ドキュメントの削除に失敗しました',
},
deleteKnowledgeBaseConfirmation:
'本当にこの知識ベースを削除しますか?この知識ベースに紐付けられたドキュメントは削除されます。',
},
register: {
title: 'LangBot を初期化 👋',

View File

@@ -248,14 +248,20 @@ const zhHans = {
documentsTab: {
name: '名称',
status: '状态',
noResults: '暂无结果',
noResults: '暂无文档',
dragAndDrop: '拖拽文件到此处或点击上传',
uploading: '上传中...',
supportedFormats: '支持 PDF、Word、TXT、Markdown 等文档格式',
uploadSuccess: '文件上传成功!',
uploadError: '文件上传失败,请重试',
uploadingFile: '上传文件中...',
actions: '操作',
delete: '删除文件',
fileDeleteSuccess: '文件删除成功',
fileDeleteFailed: '文件删除失败',
},
deleteKnowledgeBaseConfirmation:
'你确定要删除这个知识库吗?此知识库下的所有文档将被删除。',
},
register: {
title: '初始化 LangBot 👋',