refactor: update terminology and improve clarity in knowledge parsing documentation and UI

This commit refines the language used in the knowledge parsing documentation and user interface. Key changes include:

- Updated the description of the `finalizing` state to clarify that it refers to ongoing optimization tasks rather than just completion.
- Modified the confirmation message for canceling parsing to replace "enhancement" with "optimization" for consistency across multiple languages.
- Enhanced the UI to better reflect the current parsing status, including a new function to display appropriate status messages during in-flight parsing.

These changes aim to improve user understanding and experience when interacting with the knowledge parsing features.
This commit is contained in:
wizardchen
2026-05-28 19:43:14 +08:00
committed by lyingbug
parent 44d6175559
commit e3525f884b
6 changed files with 53 additions and 22 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ export default {
rebuildFailed: 'Rebuild failed. Please try again later',
rebuildInProgress: 'This document is currently being parsed. Please try again later',
cancelParse: 'Stop parsing',
cancelParseConfirmBody: 'Stop parsing "{title}"? Already-written chunks are kept and can be re-parsed later via "Rebuild"; pending enrichment subtasks (summary / Q&A / knowledge graph) will be dropped immediately.',
cancelParseConfirmBody: 'Stop parsing "{title}"? Already-written chunks are kept and can be re-parsed later via "Rebuild"; pending optimization tasks (summary / Q&A / knowledge graph) will be dropped immediately.',
cancelParseSubmitted: 'Parsing stopped',
cancelParseFailed: 'Failed to stop, please try again later',
draft: 'Draft',
@@ -321,7 +321,7 @@ export default {
batchDeleteFailed: 'Batch delete failed',
statusCompleted: 'Completed',
statusProcessing: 'Processing',
statusFinalizing: 'Finalizing',
statusFinalizing: 'Optimizing',
statusPending: 'Pending',
statusFailed: 'Failed',
statusCancelled: 'Cancelled',