feat(webui): localize agent activity

Localize frontend-owned activity presentation while preserving raw tool data and current controls. Include locale-aware model memoization and integration with current main.

Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
This commit is contained in:
ZhouandXubin Ren authored and Xubin Ren committed 2026-09-25 01:50:12 +08:00
1 parent f57cc3aad2
commit 796e1cb0e6
23 files changed
+1704 -128

No files matched your search

+137 -1
View File
@@ -1852,6 +1852,142 @@
"activityWorkingFor": "Working for {{duration}}",
"activityWorked": "Worked",
"activityWorkedFor": "Worked for {{duration}}",
"agentActivity": {
"reviewingSources": "Reviewing sources",
"reviewedSources": "Reviewed sources",
"reviewSourcesFailed": "Could not review sources",
"searchingFiles": "Searching files",
"searchedFiles": "Searched files",
"searchFilesFailed": "Could not search files",
"findingFiles": "Finding files",
"foundFiles": "Found files",
"findFilesFailed": "Could not find files",
"listingFiles": "Listing files",
"listedFiles": "Listed files",
"listFilesFailed": "Could not list files",
"readingSource": "Reading source",
"readSource": "Read source",
"readSourceFailed": "Could not read source",
"readingFile": "Reading file",
"readFile": "Read file",
"readFileFailed": "Could not read file",
"searchingMemory": "Searching memory",
"searchedMemory": "Searched memory",
"searchMemoryFailed": "Could not search memory",
"generatingImage": "Generating image",
"generatedImage": "Generated image",
"generateImageFailed": "Could not generate image",
"delegatingTask": "Delegating task",
"delegatedTask": "Delegated task",
"delegateTaskFailed": "Could not delegate task",
"sendingMessage": "Sending message",
"sentMessage": "Sent message",
"sendMessageFailed": "Could not send message",
"updatingAgentSettings": "Updating agent settings",
"updatedAgentSettings": "Updated agent settings",
"updateAgentSettingsFailed": "Could not update agent settings",
"checkingAgentSettings": "Checking agent settings",
"checkedAgentSettings": "Checked agent settings",
"checkAgentSettingsFailed": "Could not check agent settings",
"schedulingAutomation": "Scheduling automation",
"scheduledAutomation": "Scheduled automation",
"scheduleAutomationFailed": "Could not schedule automation",
"removingAutomation": "Removing automation",
"removedAutomation": "Removed automation",
"removeAutomationFailed": "Could not remove automation",
"checkingAutomations": "Checking automations",
"checkedAutomations": "Checked automations",
"checkAutomationsFailed": "Could not check automations",
"startingLongTask": "Starting long task",
"startedLongTask": "Started long task",
"startLongTaskFailed": "Could not start long task",
"updatingLongTask": "Updating long task",
"updatedLongTask": "Updated long task",
"updateLongTaskFailed": "Could not update long task",
"continuingCommand": "Continuing command",
"continuedCommand": "Continued command",
"continueCommandFailed": "Could not continue command",
"checkingRunningCommands": "Checking running commands",
"checkedRunningCommands": "Checked running commands",
"checkRunningCommandsFailed": "Could not check running commands",
"capturingScreenshot": "Capturing screenshot",
"capturedScreenshot": "Captured screenshot",
"captureScreenshotFailed": "Could not capture screenshot",
"runningTool": "Running {{name}}",
"completedTool": "Completed {{name}}",
"completeToolFailed": "Could not complete {{name}}",
"files_one": "{{count}} file",
"files_other": "{{count}} files",
"searches_one": "{{count}} search",
"searches_other": "{{count}} searches",
"actions_one": "{{count}} action",
"actions_other": "{{count}} actions",
"searching": "Searching {{target}}",
"searched": "Searched {{target}}",
"searchFailed": "Could not search {{target}}",
"web": "the web",
"reading": "Reading",
"read": "Read",
"readFailed": "Could not read",
"privateAddress": "Private address",
"writingFile": "Writing file",
"wroteFile": "Wrote file",
"writeFileFailed": "Could not write file",
"editingFile": "Editing file",
"editedFile": "Edited file",
"editFileFailed": "Could not edit file",
"working": "Working",
"completedStep": "Completed step",
"stepFailed": "Step failed",
"checkingCurrentTime": "Checking current time",
"checkedCurrentTime": "Checked current time",
"checkCurrentTimeFailed": "Could not check current time",
"runningCommand": "Running command",
"ranCommand": "Ran command",
"commandFailed": "Command failed",
"command": "command",
"scriptLines_one": "script, {{count}} line",
"scriptLines_other": "script, {{count}} lines",
"opening": "Opening",
"opened": "Opened",
"openFailed": "Could not open",
"clicking": "Clicking",
"clicked": "Clicked",
"clickFailed": "Could not click",
"enteringText": "Entering text",
"enteredText": "Entered text",
"enterTextFailed": "Could not enter text",
"inTarget": "in {{target}}",
"pressing": "Pressing",
"pressed": "Pressed",
"pressFailed": "Could not press",
"hovering": "Hovering over",
"hovered": "Hovered over",
"hoverFailed": "Could not hover over",
"selecting": "Selecting",
"selected": "Selected",
"selectFailed": "Could not select",
"inspectingPage": "Inspecting page",
"inspectedPage": "Inspected page",
"inspectPageFailed": "Could not inspect page",
"waitingForPage": "Waiting for page",
"waitedForPage": "Waited for page",
"pageNotReady": "Page did not become ready",
"searchingPlain": "Searching",
"searchedPlain": "Searched",
"searchFailedPlain": "Could not search",
"toolFailed": "{{name}} failed",
"toolCompleted": "{{name}} completed",
"toolCall": "Tool call",
"actionTarget": "{{action}} {{target}}",
"actionTargetRich": "<action>{{action}}</action> <target></target>",
"deleteFileFailed": "Could not delete",
"editFileFailedShort": "Could not edit",
"deletingFile": "Deleting",
"editingFileShort": "Editing",
"deletedFile": "Deleted",
"editedFileShort": "Edited"
},
"collapseActivity": "Collapse activity details",
"activityShow": "View activity",
"activityShowFor": "View activity {{duration}}",
@@ -1867,7 +2003,7 @@
"retryExhausted": "{{error}} · ending turn",
"cliActivityRunningOne": "Using {{name}}",
"cliActivityRanOne": "Used {{name}}",
"cliActivityFailedOne": "{{name}} failed",
"cliActivityFailedOne": "Could not use {{name}}",
"cliActivityRunningMany": "Using {{count}} CLI apps",
"cliActivityRanMany": "Used {{count}} CLI apps",
"cliActivityFailedMany": "{{count}} CLI apps failed",