diff --git a/packages/node_modules/@node-red/nodes/locales/zh-CN/messages.json b/packages/node_modules/@node-red/nodes/locales/zh-CN/messages.json
index b649163b7..fb0a3fe75 100644
--- a/packages/node_modules/@node-red/nodes/locales/zh-CN/messages.json
+++ b/packages/node_modules/@node-red/nodes/locales/zh-CN/messages.json
@@ -32,6 +32,7 @@
},
"inject": {
"inject": "注入",
+ "injectNow": "立即注入",
"repeat": "重复 = __repeat__",
"crontab": "crontab = __crontab__",
"stopped": "停止",
@@ -44,7 +45,7 @@
"str": "字符串",
"num": "数值",
"bool": "布尔值",
- "json": "JSON对象",
+ "json": "对象",
"bin": "buffer",
"date": "时间戳",
"env": "环境变量",
@@ -84,9 +85,12 @@
"errors": {
"failed": "注入失败, 请查看日志",
"toolong": "周期过长",
- "invalid-expr": "无效的JSONata表达式: __error__"
- },
- "tip": "注意: \"指定时间段周期性执行\" 和 \"指定时间\" 会使用cron系统.
详情查看信息页."
+ "invalid-expr": "无效的JSONata表达式: __error__",
+ "invalid-jsonata": "__prop__: 无效的属性表达式: __error__",
+ "invalid-prop": "__prop__: 无效的属性表达式: __error__",
+ "invalid-json": "__prop__: 无效的 JSON 数据: __error__",
+ "invalid-repeat": "重复值无效"
+ }
},
"catch": {
"catch": "捕获:所有节点",
@@ -115,16 +119,20 @@
}
},
"complete": {
- "completeNodes": "完成: __number__ 个节点"
+ "completeNodes": "完成: __number__ 个节点",
+ "errors": {
+ "scopeUndefined": "范围未定义"
+ }
},
"debug": {
"output": "输出",
"status": "状态",
- "none": "None",
+ "none": "无",
"invalid-exp": "无效的JSONata表达式: __error__",
"msgprop": "信息属性",
"msgobj": "与调试输出相同",
"autostatus": "自动的",
+ "messageCount": "消息数",
"to": "目标",
"debtab": "调试窗口",
"tabcon": "调试窗口及控制台",
@@ -132,6 +140,7 @@
"toConsole": "控制台",
"toStatus": "节点状态 (32位字符)",
"severity": "级别",
+ "node": "节点",
"notification": {
"activated": "成功激活: __label__",
"deactivated": "成功取消: __label__"
@@ -144,11 +153,16 @@
"filterCurrent": "当前流程",
"debugNodes": "调试节点",
"clearLog": "清空日志",
+ "clearFilteredLog": "清除筛选的消息",
"filterLog": "过滤日志",
"openWindow": "在新窗口打开",
"copyPath": "复制路径",
"copyPayload": "复制值",
- "pinPath": "固定展开"
+ "pinPath": "固定展开",
+ "selectAll": "全选",
+ "selectNone": "全不选",
+ "all": "所有",
+ "filtered": "筛选"
},
"messageMenu": {
"collapseAll": "折叠所有路径",
@@ -159,7 +173,21 @@
},
"link": {
"linkIn": "输入",
- "linkOut": "输出"
+ "linkOut": "输出",
+ "linkCall": "链接调用",
+ "linkOutReturn": "链接返回",
+ "outMode": "模式",
+ "sendToAll": "发送到所有连接的链接节点",
+ "returnToCaller": "返回调用链接节点",
+ "timeout": "超时",
+ "linkCallType": "链接类型",
+ "staticLinkCall": "固定目标",
+ "dynamicLinkCall": "动态目标 (msg.target)",
+ "dynamicLinkLabel": "动态",
+ "errors": {
+ "missingReturn": "缺少返回节点信息",
+ "linkUndefined": "链接未定义"
+ }
},
"tls": {
"tls": "TLS设置",
@@ -171,22 +199,26 @@
"passphrase": "密码",
"ca": "CA证书",
"verify-server-cert": "验证服务器证书",
- "servername": "服务器名"
+ "servername": "服务器名",
+ "alpnprotocol": "ALPN协议"
},
"placeholder": {
"cert": "证书路径 (PEM 格式)",
"key": "私钥路径 (PEM 格式)",
"ca": "CA证书路径 (PEM 格式)",
"passphrase": "私钥密码 (可选)",
- "servername": "用于SNI"
+ "servername": "用于SNI",
+ "alpnprotocol": "与 ALPN 一起使用"
},
"error": {
- "missing-file": "未提供证书/密钥文件"
+ "missing-file": "未提供证书/密钥文件",
+ "invalid-cert": "未指定证书",
+ "invalid-key": "未指定私钥"
}
},
"exec": {
"exec": "执行",
- "spawn": "spawn",
+ "spawn": "生成",
"label": {
"command": "命令",
"append": "追加",
@@ -196,32 +228,49 @@
"seconds": "秒",
"stdout": "标准输出",
"stderr": "标准错误输出",
- "retcode": "返回码"
+ "retcode": "返回码",
+ "winHide": "隐藏控制台"
},
"placeholder": {
"extraparams": "额外的输入参数"
},
"opt": {
- "exec": "当命令完成时 - exec模式",
- "spawn": "当命令进行时 - spawn模式"
+ "exec": "当命令完成时 - 执行模式",
+ "spawn": "当命令进行时 - 生成模式"
},
"oldrc": "使用旧式输出 (兼容模式)"
},
"function": {
"function": "函数",
"label": {
+ "setup": "设置",
"function": "函数",
"initialize": "设置",
"finalize": "关闭",
- "outputs": "输出"
+ "outputs": "输出",
+ "modules": "模块"
},
"text": {
"initialize": "// 部署节点后,此处添加的代码将运行一次。 \n",
"finalize": "// 节点正在停止或重新部署时,将运行此处添加的代码。 \n"
},
+ "require": {
+ "var": "变量",
+ "module": "模块",
+ "moduleName": "模块名",
+ "importAs": "导入为"
+ },
"error": {
+ "externalModuleNotAllowed": "功能节点不允许加载外部模块",
+ "moduleNotAllowed": "不允许使用模块 __module__",
+ "externalModuleLoadError": "功能节点加载外部模块失败s",
+ "moduleLoadError": "无法加载__module__模块 : __error__",
+ "moduleNameError": "无效的模块变量名称: __name__",
+ "moduleNameReserved": "保留变量名称: __name__",
"inputListener": "无法在函数中监听对'注入'事件",
- "non-message-returned": "函数节点尝试返回类型为 __type__ 的信息"
+ "non-message-returned": "函数节点尝试返回类型为 __type__ 的信息",
+ "invalid-js": "JavaScript 代码错误",
+ "missing-module": "__module__模块丢失"
}
},
"template": {
@@ -232,10 +281,10 @@
"format": "语法高亮",
"syntax": "格式",
"output": "输出为",
- "mustache": "Mustache 模版",
+ "mustache": "Mustache模版",
"plain": "纯文本",
- "json": "JSON",
- "yaml": "YAML",
+ "json": "解析的JSON",
+ "yaml": "解析的YAML",
"none": "无"
},
"templatevalue": "这是有效载荷: {{payload}} !"
@@ -262,16 +311,22 @@
"days": "天",
"day": "天",
"between": "介于",
- "and": "至",
+ "and": "和",
"rate": "速度",
"msgper": "信息 每",
+ "queuemsg": "队列中间消息",
"dropmsg": "不传输中间信息",
+ "sendmsg": "在第二个输出上发送中间消息",
+ "allowrate": "允许 msg.rate(以毫秒为单位)覆盖速率",
"label": {
"delay": "延迟",
"variable": "变量",
"limit": "限制",
"limitTopic": "限制主题",
"random": "随机",
+ "rate": "速度",
+ "random-first": "第一个随机值",
+ "random-last": "最后一个随机值",
"units": {
"second": {
"plural": "秒",
@@ -290,6 +345,14 @@
"singular": "天"
}
}
+ },
+ "errors": {
+ "too-many": "延迟节点中挂起的消息太多",
+ "invalid-timeout": "无效的延迟值",
+ "invalid-rate": "无效的速度值",
+ "invalid-rate-unit": "无效的速度单位值",
+ "invalid-random-first": "第一个随机值无效",
+ "invalid-random-last": "最后一个随机值无效"
}
},
"trigger": {
@@ -326,7 +389,9 @@
"reset": "重置触发节点条件 如果:",
"resetMessage": "msg.reset已设置",
"resetPayload": "msg.payload等于",
- "resetprompt": "可选填"
+ "resetprompt": "可选填",
+ "duration": "期间",
+ "topic": "主题"
}
},
"comment": {
@@ -349,10 +414,45 @@
"port": "端口",
"keepalive": "Keepalive计时(秒)",
"cleansession": "使用新的会话",
+ "cleanstart": "使用干净启动",
"use-tls": "使用 TLS",
"tls-config": "TLS 设置",
"verify-server-cert": "验证服务器证书",
- "compatmode": "使用旧式MQTT 3.1支持"
+ "compatmode": "使用旧式MQTT 3.1支持",
+ "userProperties": "用户属性",
+ "subscriptionIdentifier": "订阅 ID",
+ "flags": "标志",
+ "nl": "不接收该客户端发布的消息",
+ "rap": "保留原始发布的标志",
+ "rh": "保留消息处理",
+ "rh0": "发送保留消息",
+ "rh1": "仅发送新订阅",
+ "rh2": "不发送",
+ "responseTopic": "回复主题",
+ "contentType": "内容类型",
+ "correlationData": "相关数据",
+ "expiry": "过期(秒)",
+ "sessionExpiry": "会话过期(秒)",
+ "topicAlias": "别名",
+ "payloadFormatIndicator": "格式",
+ "payloadFormatIndicatorFalse": "未指定的字节(默认)",
+ "payloadFormatIndicatorTrue": "UTF-8 编码的有效负载",
+ "protocolVersion": "协议",
+ "protocolVersion3": "MQTT V3.1 (旧版)",
+ "protocolVersion4": "MQTT V3.1.1",
+ "protocolVersion5": "MQTT V5",
+ "topicAliasMaximum": "别名最大值",
+ "maximumPacketSize": "最大数据包大小",
+ "receiveMaximum": "接收最大值",
+ "session": "会话",
+ "delay": "延迟",
+ "action": "行动",
+ "staticTopic": "订阅单个主题",
+ "dynamicTopic": "动态订阅",
+ "auto-connect": "自动连接",
+ "auto-mode-depreciated": "此选项已弃用。请使用新的自动检测模式。",
+ "none": "无",
+ "other": "其他"
},
"sections-label": {
"birth-message": "连接时发送的消息(出生消息)",
@@ -374,7 +474,8 @@
"state": {
"connected": "已连接到服务端: __broker__",
"disconnected": "已断开与服务端 __broker__ 的链接",
- "connect-failed": "与服务端 __broker__ 的连接失败"
+ "connect-failed": "与服务端 __broker__ 的连接失败",
+ "broker-disconnected": "代理__broker__ 已断开客户端连接: __reasonCode__ __reasonString__"
},
"retain": "保留",
"output": {
@@ -394,7 +495,11 @@
"invalid-topic": "主题无效",
"nonclean-missingclientid": "客户端ID未设定,使用新会话",
"invalid-json-string": "无效的JSON字符串",
- "invalid-json-parse": "无法解析JSON字符串"
+ "invalid-json-parse": "无法解析JSON字符串",
+ "invalid-action-action": "指定的操作无效",
+ "invalid-action-alreadyconnected": "连接前断开与代理的连接",
+ "invalid-action-badsubscription": "msg.topic 丢失或无效",
+ "invalid-client-id": "缺少客户端 ID"
}
},
"httpin": {
@@ -407,7 +512,11 @@
"status": "状态码",
"headers": "头",
"other": "其他",
- "paytoqs": "将msg.payload附加为查询字符串参数",
+ "paytoqs":{
+ "ignore": "忽略",
+ "query": "附加到查询字符串参数",
+ "body": "作为请求正文发送"
+ },
"utf8String": "UTF8格式的字符串",
"binaryBuffer": "二进制buffer",
"jsonObject": "解析的JSON对象",
@@ -426,6 +535,7 @@
"proxy-config": "代理服务器设置",
"use-proxyauth": "使用代理身份验证",
"noproxy-hosts": "代理例外",
+ "senderr": "只向 Catch 节点发送非 2xx 响应",
"utf8": "UTF-8 字符串",
"binary": "二进制数据",
"json": "JSON对象",
@@ -445,11 +555,13 @@
"invalid-transport": "非HTTP传输请求",
"timeout-isnan": "超时值不是有效数字,忽略",
"timeout-isnegative": "超时值为负,忽略",
- "invalid-payload": "无效的有效载荷"
+ "invalid-payload": "无效的有效载荷",
+ "invalid-url": "无效的网址"
},
"status": {
"requesting": "请求中"
- }
+ },
+ "insecureHTTPParser": "禁用严格的 HTTP 解析"
},
"websocket": {
"label": {
@@ -463,6 +575,7 @@
"sendrec": "发送/接受",
"payload": "有效载荷",
"message": "完整信息",
+ "sendheartbeat": "发送心跳",
"tip": {
"path1": "默认情况下,payload
将包含要发送或从Websocket接收的数据。侦听器可以配置为以JSON格式的字符串发送或接收整个消息对象.",
"path2": "这条路径将相对于 __path__
.",
@@ -477,11 +590,13 @@
"connect-error": "ws连接发生了错误: ",
"send-error": "发送时发生了错误: ",
"missing-conf": "未设置服务器",
- "duplicate-path": "同一路径上不能有两个WebSocket侦听器: __path__"
+ "duplicate-path": "同一路径上不能有两个WebSocket侦听器: __path__",
+ "missing-server": "缺少服务器配置",
+ "missing-client": "缺少客户端配置"
}
},
"watch": {
- "watch": "watch",
+ "watch": "监视",
"label": {
"files": "文件",
"recursive": "递归所有子文件夹"
@@ -504,7 +619,10 @@
"server": "服务器",
"return": "返回",
"ms": "毫秒",
- "chars": "字符"
+ "chars": "字符",
+ "close": "关闭",
+ "optional": "(可选)",
+ "reattach": "重新附加分隔符"
},
"type": {
"listen": "监听",
@@ -543,7 +661,10 @@
"socket-error": "套接字连接错误来自 __host__:__port__",
"no-host": "主机地址或端口未设定",
"connect-timeout": "连接超时",
- "connect-fail": "连接失败"
+ "connect-fail": "连接失败",
+ "bad-string": "转换为字符串失败",
+ "invalid-host": "无效主机",
+ "invalid-port": "无效端口"
}
},
"udp": {
@@ -557,7 +678,8 @@
"send": "发送一个",
"toport": "到端口",
"address": "地址",
- "decode-base64": "是否解码Base64编码的信息?"
+ "decode-base64": "是否解码Base64编码的信息?",
+ "port": "端口"
},
"placeholder": {
"interface": "(可选)eth0的IP地址",
@@ -604,15 +726,18 @@
"port-notset": "udp: 端口未设定",
"port-invalid": "udp: 无效端口号码",
"alreadyused": "udp: 端口已被占用",
- "ifnotfound": "udp: 接口 __iface__ 未发现"
+ "ifnotfound": "udp: 接口 __iface__ 未发现",
+ "invalid-group": "无效的多播组"
}
},
"switch": {
- "switch": "switch",
+ "switch": "交换",
"label": {
"property": "属性",
"rule": "规则",
- "repair": "重建信息队列"
+ "repair": "重建信息队列",
+ "value-rules": "价值规则",
+ "sequence-rules": "顺序规则"
},
"previous": "先前值",
"and": "与",
@@ -651,13 +776,15 @@
"delete": "删除 __property__",
"move": "移动 __property__",
"changeCount": "修改: __count__ 条规矩",
- "regex": "使用正则表达式"
+ "regex": "使用正则表达式",
+ "deepCopy": "深复制值"
},
"action": {
"set": "设定",
"change": "修改",
"delete": "删除",
"move": "转移",
+ "toValue": "到...值",
"to": "到",
"search": "搜索",
"replace": "替代为"
@@ -666,18 +793,24 @@
"invalid-from": "无效的'from'属性: __error__",
"invalid-json": "无效的'to'JSON 属性",
"invalid-expr": "无效的JSONata表达式: __error__",
- "no-override": "无法设置非对象类型的属性: __property__"
+ "no-override": "无法设置非对象类型的属性: __property__",
+ "invalid-prop": "无效的属性表达式: __property__",
+ "invalid-json-data": "无效的 JSON 数据: __error__"
}
},
"range": {
- "range": "range",
+ "range": "范围",
"label": {
"action": "操作",
"inputrange": "映射输入数据",
"resultrange": "至目标范围",
"from": "从",
"to": "到",
- "roundresult": "取最接近整数?"
+ "roundresult": "取最接近整数?",
+ "minin": "输入来自",
+ "maxin": "输入到",
+ "minout": "目标来自",
+ "maxout": "目标到"
},
"placeholder": {
"min": "比如: 0",
@@ -747,7 +880,7 @@
"label": {
"select": "选取项",
"output": "输出",
- "in": "in"
+ "in": "在"
},
"output": {
"html": "选定元素的html内容",
@@ -799,7 +932,10 @@
},
"file": {
"label": {
+ "write": "写入文件",
+ "read": "读取文件",
"filename": "文件名",
+ "path": "路径",
"action": "行为",
"addnewline": "向每个有效载荷添加换行符(\\n)?",
"createdir": "创建目录(如果不存在)?",
@@ -810,7 +946,10 @@
"encoding": "编码",
"deletelabel": "删除 __file__",
"utf8String": "UTF8字符串",
- "binaryBuffer": "二进制buffer"
+ "utf8String_plural": "UTF8字符串",
+ "binaryBuffer": "二进制buffer",
+ "binaryBuffer_plural": "二进制buffers",
+ "allProps": "在每个消息中包含所有现有属性"
},
"action": {
"append": "追加至文件",
@@ -830,8 +969,9 @@
},
"encoding": {
"none": "默认",
- "native": "Native",
- "unicode": "Unicode",
+ "setbymsg": "通过 msg.encoding 设置",
+ "native": "本国的",
+ "unicode": "Unicode编码",
"japanese": "日本",
"chinese": "中国",
"korean": "韩国",
@@ -854,7 +994,7 @@
"tip": "提示: 文件名应该是绝对路径,否则它将相对于Node-RED进程的工作目录。"
},
"split": {
- "split": "split",
+ "split": "拆分",
"intro": "基于以下类型拆分msg.payload
:",
"object": "对象",
"objectSend": "每个键值对作为单个消息发送",
@@ -896,22 +1036,23 @@
"complete": "在收到存在msg.complete
的消息后",
"tip": "此模式假定此节点与split相连, 或者接收到的消息有正确配置的msg.parts
属性.",
"too-many": "join节点中有太多待定信息",
- "merge": {
+ "message-prop": "消息属性",
+ "merge": {
"topics-label": "合并主题",
"topics": "主题",
"topic": "主题",
"on-change": "当收到一个新主题时发送已合并信息"
},
"reduce": {
- "exp": "Reduce表达式",
- "exp-value": "exp",
+ "exp": "缩减表达式",
+ "exp-value": "表达式",
"init": "初始值",
"right": "反向求值(从后往前)",
- "fixup": "Fix-up exp"
+ "fixup": "改进表达式"
},
"errors": {
"invalid-expr": "无效的JSONata表达式: __error__",
- "invalid-type": "Cannot join __error__ to buffer"
+ "invalid-type": "无法将 __error__ 连接到缓冲区"
}
},
"sort": {
@@ -929,7 +1070,7 @@
"clear": "清空排序节点中的待定信息"
},
"batch": {
- "batch": "batch",
+ "batch": "批量",
"mode": {
"label": "模式",
"num-msgs": "按指定数量分组",
@@ -953,6 +1094,41 @@
},
"too-many": "batch节点中有太多待定信息",
"unexpected": "未知模式",
- "no-parts": "信息中没有parts属性"
+ "no-parts": "信息中没有parts属性",
+ "error": {
+ "invalid-count": "无效计数",
+ "invalid-overlap": "无效重叠",
+ "invalid-interval": "无效间隔"
+ }
+ },
+ "rbe": {
+ "rbe": "筛选",
+ "label": {
+ "func": "模式",
+ "init": "发送初始值",
+ "start": "起始值",
+ "name": "名字",
+ "septopics": "为每个单独应用模式",
+ "gap": "值变化",
+ "property": "属性",
+ "topic": "主题"
+ },
+ "placeholder": {
+ "bandgap": "例如 10 或 5%",
+ "start": "留空以使用收到的第一个数据"
+ },
+ "opts": {
+ "rbe": "阻止除非值改变",
+ "rbei": "阻止除非值改变(忽略初始值)b",
+ "deadband": "阻止除非值变化大于",
+ "deadbandEq": "阻止除非值变化大于或等于",
+ "narrowband": "如果值变化大于则阻止",
+ "narrowbandEq": "如果值变化大于或等于则阻止",
+ "in": "与上次输入值相比",
+ "out": "与最后一个有效输出值相比"
+ },
+ "warn": {
+ "nonumber": "在有效负载中找不到号码"
+ }
}
}