443 lines
19 KiB
JSON
443 lines
19 KiB
JSON
{
|
|
"kbDifySettings": {
|
|
"title": "Dify Settings",
|
|
"subtitle": "Manage Dify connection and default sync parameters for the knowledge base module.",
|
|
"loading": "Loading settings...",
|
|
"save": "Save Settings",
|
|
"saving": "Saving...",
|
|
"fields": {
|
|
"baseUrl": "Dify Base URL",
|
|
"apiKey": "Dify API Key",
|
|
"permission": "Visibility permission",
|
|
"indexingTechnique": "Indexing mode",
|
|
"searchMethod": "Search Method",
|
|
"documentForm": "Document Form",
|
|
"rerankingEnable": "Enable reranking",
|
|
"topK": "Result count (Top K)",
|
|
"scoreThresholdEnabled": "Enable score threshold",
|
|
"scoreThreshold": "Score threshold",
|
|
"segmentMaxTokens": "Maximum tokens per segment (documents)",
|
|
"segmentMaxTokensExcel": "Maximum tokens per segment (Excel/CSV)",
|
|
"segmentChunkOverlap": "Overlapping tokens per segment"
|
|
},
|
|
"options": {
|
|
"permission": {
|
|
"onlyMe": "Only me",
|
|
"allTeamMembers": "All team members"
|
|
},
|
|
"indexingTechnique": {
|
|
"highQuality": "High quality",
|
|
"economy": "Economy"
|
|
},
|
|
"searchMethod": {
|
|
"semanticSearch": "Semantic search",
|
|
"hybridSearch": "Hybrid search",
|
|
"fullTextSearch": "Full-text search"
|
|
},
|
|
"documentForm": {
|
|
"textModel": "Text model"
|
|
}
|
|
},
|
|
"msg": {
|
|
"loadFailed": "Failed to load Dify settings",
|
|
"saveFailed": "Failed to save Dify settings",
|
|
"saved": "Dify settings saved"
|
|
}
|
|
},
|
|
"kbDifyHealth": {
|
|
"title": "Dify Health Check",
|
|
"subtitle": "View Dify connectivity and local sync overview for knowledge base module.",
|
|
"loading": "Checking...",
|
|
"reachable": "Reachable",
|
|
"unreachable": "Unreachable",
|
|
"notConfigured": "Not configured",
|
|
"datasetCount": "Dataset Count",
|
|
"configured": "Configured: ",
|
|
"boundGroups": "Bound Groups",
|
|
"localSyncRecords": "Local Sync Records: ",
|
|
"syncingVersions": "Syncing Versions",
|
|
"syncedVersions": "Synced Versions",
|
|
"pendingSyncJobs": "Pending Sync Jobs",
|
|
"msg": {
|
|
"loadFailed": "Failed to load Dify health status"
|
|
}
|
|
},
|
|
"kbAdmin": {
|
|
"title": "Knowledge Base Settings",
|
|
"subtitle": "Configure Dify integration, manage group structure and monitor jobs. Daily content work is in Workspace → Knowledge Base.",
|
|
"toolbar": "Knowledge base tools",
|
|
"difySettings": "Dify Settings",
|
|
"healthCheck": "Health Check",
|
|
"goWorkspace": "Go to Knowledge Base",
|
|
"groupsTitle": "Group Overview",
|
|
"groupsEmpty": "No group yet, or knowledge base APIs are not ready.",
|
|
"noDescription": "No description",
|
|
"documentCount": "{count} docs",
|
|
"updatedAt": "Updated at: ",
|
|
"jobsTitle": "Job Queue Placeholder",
|
|
"jobsEmpty": "No jobs. Cleaning, syncing and retry jobs will be integrated in phase 2.",
|
|
"noJobMessage": "No job message",
|
|
"jobMeta": "Doc: {docId} · Version: {versionId} · Progress: {progress}%",
|
|
"running": "Running...",
|
|
"runJob": "Run Job",
|
|
"form": {
|
|
"editTitle": "Edit Knowledge Base Group",
|
|
"createTitle": "Create Knowledge Base Group",
|
|
"editDesc": "Edit name and description of the group. List refreshes after save.",
|
|
"createDesc": "Used to validate the knowledge base management entry and API shell in main platform.",
|
|
"saving": "Saving...",
|
|
"submitting": "Submitting...",
|
|
"saveChanges": "Save Changes",
|
|
"create": "Create Group",
|
|
"groupName": "Group Name",
|
|
"groupNamePlaceholder": "e.g. Finance Policy Library",
|
|
"groupDesc": "Group Description",
|
|
"groupDescPlaceholder": "Describe business scope or cleaning goals of this group",
|
|
"cancelEdit": "Cancel Edit"
|
|
},
|
|
"deleteDialog": {
|
|
"title": "Are you sure you want to delete?",
|
|
"message": "This will delete knowledge base group \"{name}\". This action cannot be undone."
|
|
},
|
|
"msg": {
|
|
"loadGroupsFailed": "Failed to load knowledge base groups",
|
|
"loadJobsFailed": "Failed to load jobs",
|
|
"nameRequired": "Please enter group name",
|
|
"createFailed": "Creation failed",
|
|
"created": "Group created",
|
|
"updated": "Group updated",
|
|
"deleteFailed": "Delete failed",
|
|
"deleted": "Group deleted",
|
|
"runFailed": "Job run failed",
|
|
"runDone": "Job executed"
|
|
},
|
|
"groupManageSubtitle": "Manage Dify binding, group structure, and document statistics. Daily content work is in Workspace > Knowledge Base.",
|
|
"filters": {
|
|
"emptyResult": "No knowledge base groups match the current filters.",
|
|
"withDocs": "With docs",
|
|
"all": "All",
|
|
"searchPlaceholder": "Search group name or description",
|
|
"empty": "Empty"
|
|
},
|
|
"sort": {
|
|
"docsAsc": "Documents low to high",
|
|
"updatedDesc": "Updated newest first",
|
|
"docsDesc": "Documents high to low",
|
|
"nameAsc": "Name A-Z",
|
|
"updatedAsc": "Updated oldest first"
|
|
},
|
|
"stats": {
|
|
"documents": "{count} docs",
|
|
"groups": "{count} groups",
|
|
"visible": "{count} shown"
|
|
},
|
|
"table": {
|
|
"updatedAt": "Updated At",
|
|
"documents": "Documents",
|
|
"description": "Description",
|
|
"name": "Group Name",
|
|
"actions": "Actions"
|
|
}
|
|
},
|
|
"kbWorkspace": {
|
|
"header": {
|
|
"groupOverviewTitle": "Knowledge Base",
|
|
"workspaceTitle": "Knowledge Base",
|
|
"groupOverviewSubtitle": "Select a group to manage documents. Group structure is configured in Admin → KB Settings.",
|
|
"workspaceSubtitle": "Upload, clean and sync documents within the selected group."
|
|
},
|
|
"actions": {
|
|
"backToOverview": "Back to Group Overview",
|
|
"backToWorkspace": "Back to Workspace",
|
|
"refreshGroups": "Refresh Groups",
|
|
"refreshDocuments": "Refresh Documents",
|
|
"manageGroups": "Manage Groups"
|
|
},
|
|
"overview": {
|
|
"title": "Select a Group",
|
|
"loadingGroups": "Loading groups...",
|
|
"emptyGroups": "No groups yet. Create groups in Admin → KB Settings first.",
|
|
"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",
|
|
"pendingClean": "Pending clean",
|
|
"cleaning": "Cleaning",
|
|
"pendingSync": "Pending sync",
|
|
"failed": "Failed"
|
|
},
|
|
"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": "Batch clean",
|
|
"batchCleanCount": "Batch clean ({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": "Downloading...",
|
|
"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",
|
|
"folderConfirmTitle": "Upload {count} files?",
|
|
"folderConfirmMessage": "All files under “{name}” will be imported. Continue only if this folder is correct.",
|
|
"folderConfirmAction": "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",
|
|
"pathUploadEmptyFolder": "The selected folder has no files to upload",
|
|
"pathUploadPickFailed": "Failed to pick a local folder. Retry or use another browser",
|
|
"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.",
|
|
"createGroupFailed": "Failed to create knowledge base group",
|
|
"saveDifySettingsFailed": "Failed to save Dify settings",
|
|
"executeJobFailed": "Failed to run job",
|
|
"updateDocumentFailed": "Failed to update document",
|
|
"apiNotReady": "Knowledge base API is not ready. Please try again later",
|
|
"fileTooLarge": "File is too large for the current upload limit. Ask an admin to raise the limit, then retry",
|
|
"uploadPathFileFailed": "Failed to upload path file",
|
|
"markPathFileFailedStatusFailed": "Failed to record path file failure status",
|
|
"submitPathUploadFailed": "Failed to submit path upload job",
|
|
"submitCleanFailed": "Failed to submit clean job",
|
|
"updateGroupFailed": "Failed to update knowledge base group",
|
|
"deleteGroupFailed": "Failed to delete knowledge base group"
|
|
}
|
|
}
|
|
}
|