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 934cc734d..8355cf353 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 @@ -37,6 +37,7 @@ "stopped": "停止", "failed": "注入失败: __error__", "label": { + "properties": "属性", "repeat": "重复", "flow": "流上下午", "global": "全局上下文", @@ -79,16 +80,17 @@ "on": "在", "onstart": "立刻执行于", "onceDelay": "秒后, 此后", - "tip": "注意: \"指定时间段周期性执行\" 和 \"指定时间\" 会使用cron系统.
详情查看信息页.", "success": "成功注入: __label__", "errors": { "failed": "注入失败, 请查看日志", - "toolong": "周期过长" - } + "toolong": "周期过长", + "invalid-expr": "无效的JSONata表达式: __error__" + }, + "tip": "注意: \"指定时间段周期性执行\" 和 \"指定时间\" 会使用cron系统.
详情查看信息页." }, "catch": { "catch": "捕获:所有节点", - "catchNodes": "捕获:__number__个节点", + "catchNodes": "捕获:__number__ 个节点", "catchUncaught": "捕获:未捕获", "label": { "source": "捕获范围", @@ -102,7 +104,7 @@ }, "status": { "status": "报告所有节点状态", - "statusNodes": "报告__number__个节点状态", + "statusNodes": "报告 __number__ 个节点状态", "label": { "source": "报告状态范围", "sortByType": "按类型排序" @@ -113,19 +115,21 @@ } }, "complete": { - "completeNodes": "完成: __number__个节点" + "completeNodes": "完成: __number__ 个节点" }, "debug": { "output": "输出", + "status": "状态", "none": "None", "invalid-exp": "无效的JSONata表达式: __error__", "msgprop": "信息属性", "msgobj": "完整信息", + "autostatus": "自动的", "to": "目标", "debtab": "调试窗口", - "tabcon": "调试窗口及Console", + "tabcon": "调试窗口及控制台", "toSidebar": "调试窗口", - "toConsole": "Console", + "toConsole": "控制台", "toStatus": "节点状态 (32位字符)", "severity": "级别", "notification": { @@ -166,22 +170,22 @@ "key": "私钥", "passphrase": "密码", "ca": "CA证书", - "verify-server-cert":"验证服务器证书", + "verify-server-cert": "验证服务器证书", "servername": "服务器名" }, "placeholder": { - "cert":"证书路径 (PEM 格式)", - "key":"私钥路径 (PEM 格式)", - "ca":"CA证书路径 (PEM 格式)", - "passphrase":"私钥密码 (可选)", - "servername":"用于SNI" + "cert": "证书路径 (PEM 格式)", + "key": "私钥路径 (PEM 格式)", + "ca": "CA证书路径 (PEM 格式)", + "passphrase": "私钥密码 (可选)", + "servername": "用于SNI" }, "error": { "missing-file": "未提供证书/密钥文件" } }, "exec": { - "exec": "exec", + "exec": "执行", "spawn": "spawn", "label": { "command": "命令", @@ -207,11 +211,17 @@ "function": "函数", "label": { "function": "函数", + "initialize": "设置", + "finalize": "关闭", "outputs": "输出" }, + "text": { + "initialize": "// 部署节点后,此处添加的代码将运行一次。 \n", + "finalize": "// 节点正在停止或重新部署时,将运行此处添加的代码。 \n" + }, "error": { - "inputListener":"无法在函数中监听对'注入'事件", - "non-message-returned":"函数节点尝试返回类型为 __type__ 的信息" + "inputListener": "无法在函数中监听对'注入'事件", + "non-message-returned": "函数节点尝试返回类型为 __type__ 的信息" } }, "template": { @@ -262,21 +272,21 @@ "limit": "限制", "limitTopic": "限制主题", "random": "随机", - "units" : { + "units": { "second": { - "plural" : "秒", + "plural": "秒", "singular": "秒" }, "minute": { - "plural" : "分钟", + "plural": "分钟", "singular": "分钟" }, "hour": { - "plural" : "小时", + "plural": "小时", "singular": "小时" }, "day": { - "plural" : "天", + "plural": "天", "singular": "天" } } @@ -311,13 +321,14 @@ "h": "小时" }, "extend": " 如有新信息,延长延迟", + "second": " 发送第二条消息到单独的输出", "label": { "trigger": "触发", "trigger-block": "触发并阻止", "trigger-loop": "周期性重发", "reset": "重置触发节点条件 如果:", - "resetMessage":"msg.reset已设置", - "resetPayload":"msg.payload等于", + "resetMessage": "msg.reset已设置", + "resetPayload": "msg.payload等于", "resetprompt": "可选填" } }, @@ -342,14 +353,14 @@ "keepalive": "Keepalive计时(秒)", "cleansession": "使用新的会话", "use-tls": "使用安全连接 (SSL/TLS)", - "tls-config":"TLS 设置", - "verify-server-cert":"验证服务器证书", + "tls-config": "TLS 设置", + "verify-server-cert": "验证服务器证书", "compatmode": "使用旧式MQTT 3.1支持" }, - "sections-label":{ + "sections-label": { "birth-message": "连接时发送的消息(出生消息)", - "will-message":"意外断开连接时的发送消息(Will消息)", - "close-message":"断开连接前发送的消息(关闭消息)" + "will-message": "意外断开连接时的发送消息(Will消息)", + "close-message": "断开连接前发送的消息(关闭消息)" }, "tabs-label": { "connection": "连接", @@ -358,7 +369,7 @@ }, "placeholder": { "clientid": "留白则自动生成", - "clientid-nonclean":"如非新会话,必须设置客户端ID", + "clientid-nonclean": "如非新会话,必须设置客户端ID", "will-topic": "留白将禁止Will信息", "birth-topic": "留白将禁止Birth信息", "close-topic": "留白以禁用关闭消息" @@ -398,7 +409,7 @@ "status": "状态码", "headers": "头", "other": "其他", - "paytoqs" : "将msg.payload附加为查询字符串参数", + "paytoqs": "将msg.payload附加为查询字符串参数", "utf8String": "UTF8格式的字符串", "binaryBuffer": "二进制buffer", "jsonObject": "解析的JSON对象", @@ -408,7 +419,7 @@ "setby": "- 用 msg.method 设定 -", "basicauth": "基本认证", "use-tls": "使用安全连接 (SSL/TLS) ", - "tls-config":"TLS 设置", + "tls-config": "TLS 设置", "basic": "基本认证", "digest": "摘要认证", "bearer": "bearer认证", @@ -432,8 +443,8 @@ "no-response": "无响应对象", "json-error": "JSON 解析错误", "no-url": "未设定 URL", - "deprecated-call":"__method__方法已弃用", - "invalid-transport":"非HTTP传输请求", + "deprecated-call": "__method__ 方法已弃用", + "invalid-transport": "非HTTP传输请求", "timeout-isnan": "超时值不是有效数字,忽略", "timeout-isnegative": "超时值为负,忽略", "invalid-payload": "无效的有效载荷" @@ -524,14 +535,12 @@ "connection-closed": "连接已关闭 __host__:__port__", "connections": "__count__ 个连接", "connections_plural": "__count__ 个连接" - }, "errors": { "connection-lost": "连接中断 __host__:__port__", "timeout": "超时关闭套接字连接,端口 __port__", "cannot-listen": "无法监听端口 __port__, 错误: __error__", "error": "错误: __error__", - "socket-error": "套接字连接错误来自 __host__:__port__", "no-host": "主机地址或端口未设定", "connect-timeout": "连接超时", @@ -604,7 +613,7 @@ "label": { "property": "属性", "rule": "规则", - "repair" : "重建信息队列" + "repair": "重建信息队列" }, "previous": "先前值", "and": "与", @@ -612,26 +621,26 @@ "stopfirst": "接受第一条匹配信息后停止", "ignorecase": "忽略大小写", "rules": { - "btwn":"在之间", - "cont":"包含", - "regex":"匹配正则表达式", - "true":"为真", - "false":"为假", - "null":"为空", - "nnull":"非空", + "btwn": "在之间", + "cont": "包含", + "regex": "匹配正则表达式", + "true": "为真", + "false": "为假", + "null": "为空", + "nnull": "非空", "istype": "类型是", "empty": "为空", "nempty": "非空", - "head":"头", - "tail":"尾", - "index":"索引在..中间", - "exp":"JSONata表达式", - "else":"除此以外", + "head": "头", + "tail": "尾", + "index": "索引在..中间", + "exp": "JSONata表达式", + "else": "除此以外", "hask": "拥有键" }, "errors": { "invalid-expr": "无效的JSONata表达式: __error__", - "too-many" : "Switch节点中有太多待定信息" + "too-many": "Switch节点中有太多待定信息" } }, "change": { @@ -642,7 +651,7 @@ "change": "修改 __property__", "delete": "删除 __property__", "move": "移动 __property__", - "changeCount": "修改: __count__条规矩", + "changeCount": "修改: __count__ 条规矩", "regex": "使用正则表达式" }, "action": { @@ -657,7 +666,8 @@ "errors": { "invalid-from": "无效的'from'属性: __error__", "invalid-json": "无效的'to'JSON 属性", - "invalid-expr": "无效的JSONata表达式: __error__" + "invalid-expr": "无效的JSONata表达式: __error__", + "no-override": "无法设置非对象类型的属性: __property__" } }, "range": { @@ -671,9 +681,9 @@ "roundresult": "取最接近整数?" }, "placeholder": { - "min": "e.g. 0", - "maxin": "e.g. 99", - "maxout": "e.g. 255" + "min": "比如: 0", + "maxin": "比如: 99", + "maxout": "比如: 255" }, "scale": { "payload": "按比例msg.payload", @@ -698,7 +708,9 @@ "output": "输出", "includerow": "包含列名行", "newline": "换行符", - "usestrings": "解析数值" + "usestrings": "解析数值", + "include_empty_strings": "包含空字符串", + "include_null_values": "包含空值" }, "placeholder": { "columns": "用逗号分割列名" @@ -721,9 +733,15 @@ "mac": "Mac (\\r)", "windows": "Windows (\\r\\n)" }, + "hdrout": { + "none": "从不发送列标题", + "all": "总是发送列标题", + "once": "发送头一次,直到 msg.reset" + }, "errors": { "csv_js": "此节点仅处理CSV字符串或JS对象", - "obj_csv": "对象->CSV转换未设定列模版" + "obj_csv": "对象->CSV转换未设定列模版", + "bad_csv": "CSV数据格式错误-输出可能已损坏。" } }, "html": { @@ -757,8 +775,8 @@ "property": "属性", "actions": { "toggle": "JSON字符串与对象互转", - "str":"总是转为JSON字符串", - "obj":"总是转为JS对象" + "str": "总是转为JSON字符串", + "obj": "总是转为JS对象" } } }, @@ -791,8 +809,8 @@ "breaklines": "分拆成行", "filelabel": "文件", "sendError": "发生错误时发送消息(传统模式)", - "deletelabel": "删除 __file__", "encoding": "编码", + "deletelabel": "删除 __file__", "utf8String": "UTF8字符串", "binaryBuffer": "二进制buffer" }, @@ -839,52 +857,52 @@ }, "split": { "split": "split", - "intro":"基于以下类型拆分msg.payload:", - "object":"对象", - "objectSend":"每个键值对作为单个消息发送", - "strBuff":"字符串 / Buffer", - "array":"数组", - "splitUsing":"拆分使用", - "splitLength":"固定长度", - "stream":"作为消息流处理", - "addname":" 复制键到 " + "intro": "基于以下类型拆分msg.payload:", + "object": "对象", + "objectSend": "每个键值对作为单个消息发送", + "strBuff": "字符串 / Buffer", + "array": "数组", + "splitUsing": "拆分使用", + "splitLength": "固定长度", + "stream": "作为消息流处理", + "addname": " 复制键到 " }, - "join":{ - "join": "join", - "mode":{ - "mode":"模式", - "auto":"自动", - "merge":"合并序列", - "reduce":"缩减序列", - "custom":"手动" + "join": { + "join": "连接", + "mode": { + "mode": "模式", + "auto": "自动", + "merge": "合并序列", + "reduce": "缩减序列", + "custom": "手动" }, - "combine":"合并每个", + "combine": "合并每个", "completeMessage": "完整的消息", - "create":"输出为", - "type":{ - "string":"字符串", - "array":"数组", - "buffer":"Buffer", - "object":"键值对对象", - "merged":"合并对象" + "create": "输出为", + "type": { + "string": "字符串", + "array": "数组", + "buffer": "Buffer", + "object": "键值对对象", + "merged": "合并对象" }, - "using":"使用此值", - "key":"作为键", - "joinedUsing":"合并符号", - "send":"发送信息:", - "afterCount":"达到一定数量的信息时", - "count":"数量", - "subsequent":"和每个后续的消息", - "afterTimeout":"第一条消息的若干时间后", - "seconds":"秒", - "complete":"在收到存在msg.complete的消息后", - "tip":"此模式假定此节点与split相连, 或者接收到的消息有正确配置的msg.parts属性.", - "too-many" : "join节点中有太多待定信息", + "using": "使用此值", + "key": "作为键", + "joinedUsing": "合并符号", + "send": "发送信息:", + "afterCount": "达到一定数量的信息时", + "count": "数量", + "subsequent": "和每个后续的消息", + "afterTimeout": "第一条消息的若干时间后", + "seconds": "秒", + "complete": "在收到存在msg.complete的消息后", + "tip": "此模式假定此节点与split相连, 或者接收到的消息有正确配置的msg.parts属性.", + "too-many": "join节点中有太多待定信息", "merge": { - "topics-label":"合并主题", - "topics":"主题", - "topic" : "主题", - "on-change":"当收到一个新主题时发送已合并信息" + "topics-label": "合并主题", + "topics": "主题", + "topic": "主题", + "on-change": "当收到一个新主题时发送已合并信息" }, "reduce": { "exp": "Reduce表达式", @@ -894,48 +912,49 @@ "fixup": "Fix-up exp" }, "errors": { - "invalid-expr": "无效的JSONata表达式: __error__" + "invalid-expr": "无效的JSONata表达式: __error__", + "invalid-type": "Cannot join __error__ to buffer" } }, - "sort" : { + "sort": { "sort": "排序", - "target" : "排序属性", - "seq" : "信息队列", - "key" : "键值", - "elem" : "元素值", - "order" : "顺序", - "ascending" : "升序", - "descending" : "降序", - "as-number" : "作为数值", - "invalid-exp" : "排序节点中存在无效的JSONata表达式", - "too-many" : "排序节点中有太多待定信息", - "clear" : "清空排序节点中的待定信息" + "target": "排序属性", + "seq": "信息队列", + "key": "键值", + "elem": "元素值", + "order": "顺序", + "ascending": "升序", + "descending": "降序", + "as-number": "作为数值", + "invalid-exp": "排序节点中存在无效的JSONata表达式", + "too-many": "排序节点中有太多待定信息", + "clear": "清空排序节点中的待定信息" }, - "batch" : { + "batch": { "batch": "batch", "mode": { - "label" : "模式", - "num-msgs" : "按指定数量分组", - "interval" : "按时间间隔分组", - "concat" : "按主题分组" + "label": "模式", + "num-msgs": "按指定数量分组", + "interval": "按时间间隔分组", + "concat": "按主题分组" }, "count": { - "label" : "分组数量", - "overlap" : "队末队首重叠数量", - "count" : "数量", - "invalid" : "无效的分组数量或重叠数量" + "label": "分组数量", + "overlap": "队末队首重叠数量", + "count": "数量", + "invalid": "无效的分组数量或重叠数量" }, "interval": { - "label" : "时间间隔", - "seconds" : "秒", - "empty" : "无数据到达时发送空信息" + "label": "时间间隔", + "seconds": "秒", + "empty": "无数据到达时发送空信息" }, "concat": { "topics-label": "主题", - "topic" : "主题" + "topic": "主题" }, - "too-many" : "batch节点中有太多待定信息", - "unexpected" : "未知模式", - "no-parts" : "信息中没有parts属性" + "too-many": "batch节点中有太多待定信息", + "unexpected": "未知模式", + "no-parts": "信息中没有parts属性" } }