From 49b115b1ea961c15edeb1a7843a70843ee042b1d Mon Sep 17 00:00:00 2001 From: yyh Date: Fri, 13 Feb 2026 11:41:56 +0800 Subject: [PATCH] chore(i18n): add zh-Hans translations for file-upload workflow node --- web/i18n/zh-Hans/workflow.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/i18n/zh-Hans/workflow.json b/web/i18n/zh-Hans/workflow.json index 2814e565d9..59133d81e1 100644 --- a/web/i18n/zh-Hans/workflow.json +++ b/web/i18n/zh-Hans/workflow.json @@ -8,6 +8,7 @@ "blocks.datasource-empty": "空数据源", "blocks.document-extractor": "文档提取器", "blocks.end": "输出", + "blocks.file-upload": "上传文件到沙盒", "blocks.http-request": "HTTP 请求", "blocks.human-input": "人工介入", "blocks.if-else": "条件分支", @@ -40,6 +41,7 @@ "blocksAbout.datasource-empty": "空数据源占位符", "blocksAbout.document-extractor": "用于将用户上传的文档解析为 LLM 便于理解的文本内容。", "blocksAbout.end": "定义一个 workflow 流程的输出和结果类型", + "blocksAbout.file-upload": "将选中的文件变量下载到沙盒,并作为本地路径供后续节点使用", "blocksAbout.http-request": "允许通过 HTTP 协议发送服务器请求", "blocksAbout.human-input": "人工输入,确认后生成下一步", "blocksAbout.if-else": "允许你根据 if/else 条件将 workflow 拆分成两个分支", @@ -342,6 +344,7 @@ "errorMsg.fieldRequired": "{{field}} 不能为空", "errorMsg.fields.code": "代码", "errorMsg.fields.command": "命令", + "errorMsg.fields.fileVariable": "文件变量", "errorMsg.fields.model": "模型", "errorMsg.fields.rerankModel": "Rerank 模型", "errorMsg.fields.variable": "变量名", @@ -512,6 +515,9 @@ "nodes.end.type.none": "无", "nodes.end.type.plain-text": "纯文本", "nodes.end.type.structured": "结构化", + "nodes.fileUpload.inputVar": "文件变量", + "nodes.fileUpload.outputVars.fileName": "沙盒中的文件名", + "nodes.fileUpload.outputVars.sandboxPath": "沙盒本地文件路径", "nodes.http.api": "API", "nodes.http.apiPlaceholder": "输入 URL,输入变量时请键入‘/’", "nodes.http.authorization.api-key": "API-Key",