refactor(frontend): 前端重构 V3
This commit is contained in:
1 parent
8d8b40812d
commit
ec97ea8787
80 files changed
+6887
-3733
No files matched your search
@@ -99,6 +99,265 @@
|
||||
"noDescription": "No description",
|
||||
"documentCount": "{count} docs",
|
||||
"updatedAt": "Updated at: "
|
||||
},
|
||||
"sidebar": {
|
||||
"groupsTitle": "Groups",
|
||||
"loadingGroups": "Loading groups...",
|
||||
"emptyGroups": "No knowledge base groups yet.",
|
||||
"noDescription": "No description"
|
||||
},
|
||||
"summary": {
|
||||
"currentGroup": "Current group",
|
||||
"documentCount": "Documents",
|
||||
"pendingSync": "Pending sync",
|
||||
"uploadFailed": "Upload failures",
|
||||
"cleanFailed": "Clean failures",
|
||||
"syncFailed": "Sync failures"
|
||||
},
|
||||
"filters": {
|
||||
"all": "All",
|
||||
"upload": "Upload",
|
||||
"clean": "Clean",
|
||||
"sync": "Sync"
|
||||
},
|
||||
"common": {
|
||||
"processing": "Processing...",
|
||||
"delete": "Delete",
|
||||
"close": "Close",
|
||||
"cancel": "Cancel",
|
||||
"retry": "Retry",
|
||||
"remove": "Remove",
|
||||
"none": "None",
|
||||
"countUnit": "items",
|
||||
"failureReason": "Reason: {reason}",
|
||||
"perPage": "Per page",
|
||||
"prevPage": "Previous",
|
||||
"nextPage": "Next"
|
||||
},
|
||||
"documents": {
|
||||
"title": "Documents",
|
||||
"infoTip": "Basic document entries in this group. Uploading files creates documents and starts cleaning automatically.",
|
||||
"uploadPath": "Upload path",
|
||||
"uploadFile": "Upload file",
|
||||
"batchClean": "Clean data",
|
||||
"batchCleanCount": "Clean data ({count})",
|
||||
"batchSync": "Batch sync",
|
||||
"batchSyncCount": "Batch sync ({count})",
|
||||
"batchDelete": "Batch delete",
|
||||
"batchDeleteCount": "Batch delete ({count})",
|
||||
"historyBatches": "History batches",
|
||||
"searchPlaceholder": "Search by file name",
|
||||
"clearSearch": "Clear search",
|
||||
"selectGroup": "Please select a knowledge base group.",
|
||||
"loadingDocuments": "Loading documents...",
|
||||
"emptyNoDocs": "No documents in this group. Upload a file above to create the first record.",
|
||||
"emptyNoSearchMatch": "No documents match the current search and filters.",
|
||||
"emptyNoFilterMatch": "No documents match the current filters.",
|
||||
"versionCount": "Versions: {count}",
|
||||
"currentVersion": "Current: v{version}",
|
||||
"viewRecord": "View history",
|
||||
"uploadVersion": "Upload version",
|
||||
"syncDify": "Sync to Dify",
|
||||
"syncingDify": "Syncing...",
|
||||
"updatedAt": "Updated: {time}",
|
||||
"selectedCount": "Selected {selected} · Total {total}",
|
||||
"showingRange": "Showing {start}-{end}",
|
||||
"pageInfo": "Page {page} / {totalPages} · {total} items",
|
||||
"documentFallback": "Document #{id}"
|
||||
},
|
||||
"pathUpload": {
|
||||
"progressTitle": "Path upload progress",
|
||||
"uploading": "Uploading",
|
||||
"completed": "Completed",
|
||||
"batchHint": "Recommended {batchSize} files per batch, auto-continue every {seconds}s.",
|
||||
"total": "Total {count}",
|
||||
"pending": "Pending {count}",
|
||||
"uploaded": "Uploaded {count}",
|
||||
"failed": "Failed {count}",
|
||||
"success": "Success {count}",
|
||||
"pendingProcess": "Pending {count}",
|
||||
"currentFile": "Current file: {name}",
|
||||
"details": "Upload details",
|
||||
"viewHistory": "View history",
|
||||
"retryFailedFiles": "Retry failed files",
|
||||
"retryAllFailed": "Retry all failed files",
|
||||
"selectAllFiltered": "Select all filtered",
|
||||
"deselectAllFiltered": "Deselect all",
|
||||
"selectAll": "Select all",
|
||||
"deselectAll": "Deselect all",
|
||||
"batchLabel": "Batch #{id}",
|
||||
"createdAt": "Created: {time}",
|
||||
"finishedAt": " · Finished: {time}",
|
||||
"noBatchMessage": "No batch description",
|
||||
"batchDelete": "Batch delete",
|
||||
"batchDeleteCount": "Batch delete ({count})",
|
||||
"deleting": "Deleting...",
|
||||
"emptyHistory": "No path upload history yet."
|
||||
},
|
||||
"recordModal": {
|
||||
"title": "Document history",
|
||||
"viewing": "Viewing: {name}",
|
||||
"loading": "Loading document history...",
|
||||
"versionsTitle": "Versions",
|
||||
"versionsCount": "{count} items",
|
||||
"versionsEmpty": "No versions yet. Upload a version to see it here.",
|
||||
"syncTitle": "Dify sync records",
|
||||
"syncEmpty": "No Dify sync records. Click \"Sync to Dify\" to create one.",
|
||||
"versionLabel": "Version: {id}",
|
||||
"sizeBytes": "Size: {size} bytes"
|
||||
},
|
||||
"markdownModal": {
|
||||
"readingVersion": "Loading current version...",
|
||||
"previewText": "Preview text",
|
||||
"cleanMarkdown": "Cleaned Markdown",
|
||||
"loading": "Loading cleaned Markdown...",
|
||||
"placeholder": "No Markdown yet. Paste or edit content here.",
|
||||
"saving": "Saving...",
|
||||
"save": "Save Markdown",
|
||||
"editorTitle": "Markdown editor"
|
||||
},
|
||||
"sourceInfoModal": {
|
||||
"title": "Source file info",
|
||||
"viewing": "Viewing: {name}",
|
||||
"loading": "Loading source file info...",
|
||||
"empty": "No source file info. Upload a version to see it here.",
|
||||
"currentVersion": "Current version",
|
||||
"opening": "Opening...",
|
||||
"fileName": "File: {name}",
|
||||
"fileSize": "Size: {size}",
|
||||
"fileType": "Type: {ext}"
|
||||
},
|
||||
"failureModal": {
|
||||
"uploadData": "Upload failures",
|
||||
"cleanData": "Clean failures",
|
||||
"syncData": "Sync failures",
|
||||
"generic": "Failure data",
|
||||
"stageUploadFailed": "Upload failed",
|
||||
"stageCleanFailed": "Clean failed",
|
||||
"stageSyncFailed": "Sync failed"
|
||||
},
|
||||
"pathUploadModal": {
|
||||
"title": "Upload path",
|
||||
"subtitle": "Select a local folder. Files are imported in batches and enter the cleaning workflow automatically.",
|
||||
"localPickerTitle": "Local folder picker",
|
||||
"localPickerHint": "You can add folders multiple times. Browsers cannot read arbitrary pasted paths.",
|
||||
"pickFolder": "Select local folder",
|
||||
"pathListLabel": "Path list",
|
||||
"pathListPlaceholder": "Paths fill in after folder selection; paste notes for multiple paths if needed.",
|
||||
"pendingFiles": "Pending files",
|
||||
"selectedRoots": "Selected roots: {paths}",
|
||||
"noRoots": "None",
|
||||
"pickFolderFirst": "Select a local folder before confirming upload.",
|
||||
"confirmUpload": "Confirm upload"
|
||||
},
|
||||
"pathUploadHistoryModal": {
|
||||
"title": "Path upload history",
|
||||
"subtitle": "View batch results, failed files, and retry options."
|
||||
},
|
||||
"status": {
|
||||
"draft": "Pending upload",
|
||||
"uploaded": "Uploaded",
|
||||
"processing": "Cleaning",
|
||||
"cleaned": "Cleaned",
|
||||
"ready": "Ready",
|
||||
"synced": "Synced",
|
||||
"syncing": "Syncing",
|
||||
"failed": "Failed",
|
||||
"queued": "Queued",
|
||||
"running": "Running",
|
||||
"success": "Success",
|
||||
"cancelled": "Cancelled",
|
||||
"idle": "Not started",
|
||||
"done": "Completed",
|
||||
"pendingClean": "Pending clean",
|
||||
"pendingSync": "Pending sync",
|
||||
"cleaning": "Cleaning",
|
||||
"uploading": "Uploading",
|
||||
"unknown": "Unknown status",
|
||||
"unnamedDocument": "Untitled document"
|
||||
},
|
||||
"workflow": {
|
||||
"upload": "Upload",
|
||||
"clean": "Clean",
|
||||
"sync": "Sync"
|
||||
},
|
||||
"errors": {
|
||||
"unreadableClean": "Historical failure reason is unreadable. Click \"Clean data\" to retry.",
|
||||
"unreadableSync": "Historical sync failure is unreadable. Please retry sync.",
|
||||
"unreadableUpload": "Historical upload failure is unreadable. Please re-upload.",
|
||||
"legacyCleanRecovered": "Legacy clean task was recovered manually. Click \"Clean data\" to retry.",
|
||||
"sourceFileNotFound": "Source file not found. Re-upload before cleaning.",
|
||||
"cleanTimeout": "Clean timed out. Retry later or check if the source file is corrupted.",
|
||||
"duplicateFile": "Upload failed: file already exists.",
|
||||
"apiRequestFailed": "Knowledge base API request failed.",
|
||||
"localFolder": "Local folder",
|
||||
"fileFallback": "File {index}",
|
||||
"uploadFailed": "Upload failed"
|
||||
},
|
||||
"msg": {
|
||||
"operationFailed": "Operation failed",
|
||||
"loadGroupsFailed": "Failed to load groups",
|
||||
"loadDocumentsFailed": "Failed to load documents",
|
||||
"loadJobsFailed": "Failed to load jobs",
|
||||
"readSourceFailed": "Failed to read source file",
|
||||
"noVersion": "No version",
|
||||
"readMarkdownFailed": "Failed to read cleaned Markdown",
|
||||
"saveMarkdownFailed": "Failed to save Markdown",
|
||||
"markdownSaved": "Cleaned Markdown saved",
|
||||
"deleteDocumentFailed": "Failed to delete document",
|
||||
"documentDeleted": "Document deleted",
|
||||
"selectDocumentsToSync": "Please select documents to sync",
|
||||
"batchSyncResult": "Batch sync submitted: {success} succeeded, {fail} failed. {detail}",
|
||||
"batchSyncSuccess": "Batch sync submitted: {success} succeeded",
|
||||
"selectDocumentsToClean": "Please select documents to clean",
|
||||
"noDocumentsToClean": "No selected documents can be cleaned",
|
||||
"batchCleanResult": "Batch clean submitted: {success} succeeded, {fail} failed. {detail}",
|
||||
"batchCleanSuccess": "Batch clean submitted: {success} succeeded",
|
||||
"selectDocumentsToDelete": "Please select documents to delete",
|
||||
"batchDeleteResult": "Batch delete completed: {success} succeeded, {fail} failed. {detail}",
|
||||
"batchDeleteSuccess": "Batch delete completed: {success} succeeded",
|
||||
"reselectFile": "Please re-select a file for \"{name}\"",
|
||||
"recleanFailed": "Re-clean failed",
|
||||
"recleanSubmitted": "Re-clean submitted: {name}",
|
||||
"resyncFailed": "Re-sync failed: {detail}",
|
||||
"resyncSubmitted": "Re-sync submitted: {name}",
|
||||
"processingFile": "Processing file...",
|
||||
"uploadFailed": "File upload failed",
|
||||
"versionUploaded": "Version \"{file}\" uploaded, clean queued",
|
||||
"uploadingProgress": "Uploading {current}/{total}: {file}",
|
||||
"createDocumentFailed": "Failed to create document",
|
||||
"uploadVersionFailed": "Failed to upload version",
|
||||
"uploadCleanupFailed": "Upload failed and empty document could not be removed ({detail})",
|
||||
"uploadSummary": "Upload done: {success} succeeded, {fail} failed. {detail}",
|
||||
"uploadAllSuccess": "Uploaded {count} file(s), clean tasks queued",
|
||||
"syncDifyFailed": "Sync to Dify failed: {detail}",
|
||||
"syncDifyFailedGeneric": "Sync to Dify failed",
|
||||
"syncSubmitted": "Sync task submitted",
|
||||
"pathUploadBusy": "Upload in progress, please wait",
|
||||
"selectGroupFirst": "Please select a group first",
|
||||
"selectPathFiles": "Please select at least one local folder or file",
|
||||
"createPathJobFailed": "Failed to create path upload job",
|
||||
"pathStageFailed": "Path file staging failed",
|
||||
"pathUploadDone": "Path files uploaded and clean submitted",
|
||||
"deletePathFileConfirm": "Delete path file \"{path}\"?",
|
||||
"deletePathFileFailed": "Failed to delete path file",
|
||||
"pathRecordDeletedWithDoc": "Path record deleted with document",
|
||||
"pathRecordDeleted": "Path record deleted",
|
||||
"selectPathFilesToDelete": "Please select files to delete",
|
||||
"batchDeletePathConfirm": "Delete {count} selected path file(s)?",
|
||||
"batchDeletePathResult": "Batch delete: {success} succeeded, {fail} failed. {detail}",
|
||||
"batchDeletePathSuccess": "Batch delete: {success} succeeded",
|
||||
"retryPathFailed": "Failed to retry files",
|
||||
"retryPathOne": "Failed file resubmitted",
|
||||
"retryPathAll": "Failed files resubmitted",
|
||||
"pathUploadProgress": "Path upload: total {total}, pending {pending}, uploaded {uploaded}, failed {failed}",
|
||||
"deleteDocumentConfirm": "Delete document \"{name}\"?",
|
||||
"batchDeleteDocumentsConfirm": "Delete {count} selected document(s)? Dify documents will also be removed.",
|
||||
"markdownFailedWithReason": "Clean failed, no Markdown yet. Reason: {reason}",
|
||||
"markdownFailedRetry": "Clean failed, no Markdown yet. Please re-clean.",
|
||||
"markdownProcessing": "Document is being cleaned, no Markdown yet.",
|
||||
"markdownPendingClean": "Document pending clean, no Markdown yet.",
|
||||
"markdownNotGenerated": "No Markdown generated for this document yet."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user