feat(i18n): replace hardcoded Chinese in backend SSE progress messages
This commit is contained in:
115
locales/en.json
115
locales/en.json
@@ -352,5 +352,120 @@
|
||||
"envNotRunningShort": "Environment not running or closed",
|
||||
"requireGraphIdAndQuery": "Please provide graph_id and query",
|
||||
"initReportAgent": "Initializing Report Agent..."
|
||||
},
|
||||
"progress": {
|
||||
"initGraphService": "Initializing graph build service...",
|
||||
"textChunking": "Chunking text...",
|
||||
"creatingZepGraph": "Creating Zep graph...",
|
||||
"settingOntology": "Setting ontology definition...",
|
||||
"addingChunks": "Adding {count} text chunks...",
|
||||
"waitingZepProcess": "Waiting for Zep to process data...",
|
||||
"fetchingGraphData": "Fetching graph data...",
|
||||
"graphBuildComplete": "Graph build complete",
|
||||
"buildFailed": "Build failed: {error}",
|
||||
"startBuildingGraph": "Starting graph build...",
|
||||
"graphCreated": "Graph created: {graphId}",
|
||||
"ontologySet": "Ontology set",
|
||||
"textSplit": "Text split into {count} chunks",
|
||||
"fetchingGraphInfo": "Fetching graph info...",
|
||||
"sendingBatch": "Sending batch {current}/{total} ({chunks} chunks)...",
|
||||
"batchFailed": "Batch {batch} failed: {error}",
|
||||
"noEpisodesWait": "No episodes to wait for",
|
||||
"waitingEpisodes": "Waiting for {count} text chunks to process...",
|
||||
"episodesTimeout": "Some chunks timed out, {completed}/{total} completed",
|
||||
"zepProcessing": "Zep processing... {completed}/{total} done, {pending} pending ({elapsed}s)",
|
||||
"processingComplete": "Processing complete: {completed}/{total}",
|
||||
"taskComplete": "Task complete",
|
||||
"taskFailed": "Task failed",
|
||||
"startPreparingEnv": "Preparing simulation environment...",
|
||||
"connectingZepGraph": "Connecting to Zep graph...",
|
||||
"readingNodeData": "Reading node data...",
|
||||
"readingComplete": "Done, {count} entities found",
|
||||
"startGenerating": "Starting generation...",
|
||||
"analyzingRequirements": "Analyzing simulation requirements...",
|
||||
"generatingOutline": "Generating report outline...",
|
||||
"parsingOutline": "Parsing outline structure...",
|
||||
"outlinePlanComplete": "Outline planning complete",
|
||||
"deepSearchAndWrite": "Deep search & writing ({current}/{max})",
|
||||
"initReport": "Initializing report...",
|
||||
"startPlanningOutline": "Planning report outline...",
|
||||
"outlineDone": "Outline complete, {count} sections",
|
||||
"generatingSection": "Generating section: {title} ({current}/{total})",
|
||||
"sectionDone": "Section {title} complete",
|
||||
"assemblingReport": "Assembling full report...",
|
||||
"reportComplete": "Report generation complete",
|
||||
"reportFailed": "Report generation failed: {error}"
|
||||
},
|
||||
"log": {
|
||||
"preparingGoBack": "Preparing to return to Step 2, closing simulation...",
|
||||
"closingSimEnv": "Closing simulation environment...",
|
||||
"simEnvClosed": "✓ Simulation environment closed",
|
||||
"closeSimEnvFailed": "Failed to close simulation environment, attempting force stop...",
|
||||
"simForceStopSuccess": "✓ Simulation force stopped",
|
||||
"forceStopFailed": "Force stop failed: {error}",
|
||||
"stoppingSimProcess": "Stopping simulation process...",
|
||||
"simStopped": "✓ Simulation stopped",
|
||||
"stopSimFailed": "Failed to stop simulation: {error}",
|
||||
"checkStatusFailed": "Failed to check simulation status: {error}",
|
||||
"enterStep4": "Entering Step 4: Report Generation",
|
||||
"loadingSimData": "Loading simulation data: {id}",
|
||||
"timeConfig": "Time config: {minutes} minutes per round",
|
||||
"timeConfigFetchFailed": "Failed to fetch time config, using default: {minutes} min/round",
|
||||
"projectLoadSuccess": "Project loaded: {id}",
|
||||
"loadSimDataFailed": "Failed to load simulation data: {error}",
|
||||
"loadException": "Load error: {error}",
|
||||
"graphDataLoadSuccess": "Graph data loaded successfully",
|
||||
"graphLoadFailed": "Graph load failed: {error}",
|
||||
"graphRealtimeRefreshStart": "Graph real-time refresh enabled (30s)",
|
||||
"graphRealtimeRefreshStop": "Graph real-time refresh stopped",
|
||||
"simRunViewInit": "SimulationRunView initialized",
|
||||
"customRounds": "Custom simulation rounds: {rounds}",
|
||||
"enterStep3": "Entering Step 3: Run Simulation",
|
||||
"customRoundsConfig": "Custom simulation rounds: {rounds} rounds",
|
||||
"useAutoRounds": "Using auto-configured simulation rounds",
|
||||
"detectedSimEnvRunning": "Detected running simulation environment, closing...",
|
||||
"closeSimEnvFailedWithError": "Failed to close simulation environment: {error}",
|
||||
"closeSimEnvException": "Simulation environment close error: {error}",
|
||||
"detectedSimRunning": "Detected simulation is running, stopping...",
|
||||
"forceStopSimFailed": "Force stop simulation failed: {error}",
|
||||
"forceStopSimException": "Force stop simulation error: {error}",
|
||||
"simViewInit": "SimulationView initialized",
|
||||
"errorMissingSimId": "Error: missing simulationId",
|
||||
"simInstanceCreated": "Simulation instance created: {id}",
|
||||
"preparingSimEnv": "Preparing simulation environment...",
|
||||
"detectedExistingPrep": "Detected existing preparation, using it directly",
|
||||
"prepareTaskStarted": "Preparation task started",
|
||||
"prepareTaskId": " └─ Task ID: {taskId}",
|
||||
"zepEntitiesFound": "Found {count} entities from Zep graph",
|
||||
"entityTypes": " └─ Entity types: {types}",
|
||||
"startPollingProgress": "Polling preparation progress...",
|
||||
"prepareFailed": "Preparation failed: {error}",
|
||||
"prepareException": "Preparation error: {error}",
|
||||
"prepareComplete": "✓ Preparation complete",
|
||||
"prepareFailedWithError": "✗ Preparation failed: {error}",
|
||||
"startGeneratingConfig": "Generating dual-platform simulation config...",
|
||||
"generatingAgentProfileConfig": "Generating agent persona config...",
|
||||
"generatingLLMConfig": "Calling LLM to generate simulation config parameters...",
|
||||
"configComplete": "✓ Simulation config generated",
|
||||
"configSummaryAgents": " ├─ Agents: {count}",
|
||||
"configSummaryHours": " ├─ Duration: {hours} hours",
|
||||
"configSummaryPosts": " ├─ Initial posts: {count}",
|
||||
"configSummaryTopics": " ├─ Hot topics: {count}",
|
||||
"configSummaryPlatforms": " └─ Platforms: Twitter {twitter}, Reddit {reddit}",
|
||||
"timeConfigDetail": "Time config: {minutes} min/round, {rounds} rounds total",
|
||||
"narrativeDirection": "Narrative direction: {direction}",
|
||||
"envSetupComplete": "✓ Environment setup complete, ready to simulate",
|
||||
"startSimCustomRounds": "Starting simulation, custom rounds: {rounds}",
|
||||
"startSimAutoRounds": "Starting simulation, auto-configured rounds: {rounds}",
|
||||
"startGeneratingAgentProfiles": "Generating agent personas...",
|
||||
"agentProfile": "→ Agent persona {current}/{total}: {name} ({profession})",
|
||||
"allProfilesComplete": "✓ All {count} agent personas generated",
|
||||
"loadingExistingConfig": "Loading existing config data...",
|
||||
"loadedAgentProfiles": "Loaded {count} agent personas",
|
||||
"configLoadSuccess": "✓ Simulation config loaded",
|
||||
"configSummaryPostsAlt": " └─ Initial posts: {count}",
|
||||
"configGenerating": "Config generating, polling...",
|
||||
"loadConfigFailed": "Failed to load config: {error}",
|
||||
"step2Init": "Step 2 environment setup initialized"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user