1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

translation side-menu,keyboard, contextmenu, etc.

This commit is contained in:
lkaiy 2022-11-15 16:36:50 +08:00 committed by GitHub
parent 14c362d4ba
commit 1d91cc6fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,11 +27,12 @@
} }
}, },
"errors": { "errors": {
"nooverride": "警告: 信息的属性已经不可以改写节点的属性. 详情参考 bit.ly/nr-override-msg-props" "nooverride": "警告: 信息的属性已经不可以改写节点的属性详情参考 bit.ly/nr-override-msg-props"
} }
}, },
"inject": { "inject": {
"inject": "注入", "inject": "注入",
"injectNow": "立即注入",
"repeat": "重复 = __repeat__", "repeat": "重复 = __repeat__",
"crontab": "crontab = __crontab__", "crontab": "crontab = __crontab__",
"stopped": "停止", "stopped": "停止",
@ -84,9 +85,12 @@
"errors": { "errors": {
"failed": "注入失败, 请查看日志", "failed": "注入失败, 请查看日志",
"toolong": "周期过长", "toolong": "周期过长",
"invalid-expr": "无效的JSONata表达式 __error__" "invalid-expr": "无效的JSONata表达式 __error__",
}, "invalid-jsonata": "__prop__: 无效的属性表达式: __error__",
"tip": "<b>注意:</b> \"指定时间段周期性执行\" 和 \"指定时间\" 会使用cron系统.<br/> 详情查看信息页." "invalid-prop": "__prop__: 无效的属性表达式: __error__",
"invalid-json": "__prop__: 无效的 JSON 数据: __error__",
"invalid-repeat": "重复值无效"
}
}, },
"catch": { "catch": {
"catch": "捕获:所有节点", "catch": "捕获:所有节点",
@ -125,6 +129,7 @@
"msgprop": "信息属性", "msgprop": "信息属性",
"msgobj": "与调试输出相同", "msgobj": "与调试输出相同",
"autostatus": "自动的", "autostatus": "自动的",
"messageCount": "消息数量",
"to": "目标", "to": "目标",
"debtab": "调试窗口", "debtab": "调试窗口",
"tabcon": "调试窗口及控制台", "tabcon": "调试窗口及控制台",
@ -132,6 +137,7 @@
"toConsole": "控制台", "toConsole": "控制台",
"toStatus": "节点状态 (32位字符)", "toStatus": "节点状态 (32位字符)",
"severity": "级别", "severity": "级别",
"node": "节点",
"notification": { "notification": {
"activated": "成功激活: __label__", "activated": "成功激活: __label__",
"deactivated": "成功取消: __label__" "deactivated": "成功取消: __label__"
@ -144,11 +150,16 @@
"filterCurrent": "当前流程", "filterCurrent": "当前流程",
"debugNodes": "调试节点", "debugNodes": "调试节点",
"clearLog": "清空日志", "clearLog": "清空日志",
"clearFilteredLog": "清空已过滤的日志",
"filterLog": "过滤日志", "filterLog": "过滤日志",
"openWindow": "在新窗口打开", "openWindow": "在新窗口打开",
"copyPath": "复制路径", "copyPath": "复制路径",
"copyPayload": "复制值", "copyPayload": "复制值",
"pinPath": "固定展开" "pinPath": "固定展开",
"selectAll": "选择所有",
"selectNone": "取消选择所有节点",
"all": "所有",
"filtered": "已过滤"
}, },
"messageMenu": { "messageMenu": {
"collapseAll": "折叠所有路径", "collapseAll": "折叠所有路径",
@ -158,8 +169,21 @@
} }
}, },
"link": { "link": {
"linkIn": "输入", "linkIn": "链接输入",
"linkOut": "输出" "linkOut": "链接输出",
"linkCall": "链接调用",
"linkOutReturn": "链接返回",
"outMode": "模式",
"sendToAll": "发送到所有连接的链接节点",
"returnToCaller": "返回调用链接节点",
"timeout": "超时",
"linkCallType": "链接类型",
"staticLinkCall": "固定目标",
"dynamicLinkCall": "动态目标 (msg.target)",
"dynamicLinkLabel": "动态",
"error": {
"missingReturn": "缺少返回节点信息"
}
}, },
"tls": { "tls": {
"tls": "TLS设置", "tls": "TLS设置",
@ -171,17 +195,21 @@
"passphrase": "密码", "passphrase": "密码",
"ca": "CA证书", "ca": "CA证书",
"verify-server-cert": "验证服务器证书", "verify-server-cert": "验证服务器证书",
"servername": "服务器名" "servername": "服务器名",
"alpnprotocol": "ALPN协议"
}, },
"placeholder": { "placeholder": {
"cert": "证书路径 (PEM 格式)", "cert": "证书路径 (PEM 格式)",
"key": "私钥路径 (PEM 格式)", "key": "私钥路径 (PEM 格式)",
"ca": "CA证书路径 (PEM 格式)", "ca": "CA证书路径 (PEM 格式)",
"passphrase": "私钥密码 (可选)", "passphrase": "私钥密码 (可选)",
"servername": "用于SNI" "servername": "用于SNI",
"alpnprotocol": "用于ALPN"
}, },
"error": { "error": {
"missing-file": "未提供证书/密钥文件" "missing-file": "未提供证书/密钥文件",
"invalid-cert": "未指定证书",
"invalid-key": "未指定私钥"
} }
}, },
"exec": { "exec": {
@ -191,12 +219,13 @@
"command": "命令", "command": "命令",
"append": "追加", "append": "追加",
"timeout": "超时", "timeout": "超时",
"timeoutplace": "可选", "timeoutplace": "可选",
"return": "输出", "return": "输出",
"seconds": "秒", "seconds": "秒",
"stdout": "标准输出", "stdout": "标准输出",
"stderr": "标准错误输出", "stderr": "标准错误输出",
"retcode": "返回码" "retcode": "返回码",
"winHide": "隐藏控制台"
}, },
"placeholder": { "placeholder": {
"extraparams": "额外的输入参数" "extraparams": "额外的输入参数"
@ -210,18 +239,34 @@
"function": { "function": {
"function": "函数", "function": "函数",
"label": { "label": {
"function": "函数", "setup": "设置",
"initialize": "设置", "function": "运行函数",
"finalize": "关闭", "initialize": "初始化函数",
"outputs": "输出" "finalize": "终止函数",
"outputs": "输出",
"modules": "模块"
}, },
"text": { "text": {
"initialize": "// 部署节点后,此处添加的代码将运行一次。 \n", "initialize": "// 部署节点后,此处添加的代码将运行一次。 \n",
"finalize": "// 节点正在停止或重新部署时,将运行此处添加的代码。 \n" "finalize": "// 此处添加的代码,将在停止或重新部署节点时运行。 \n"
},
"require": {
"var": "变量",
"module": "模块",
"moduleName": "模块名称",
"importAs": "导入为"
}, },
"error": { "error": {
"externalModuleNotAllowed": "不允许加载外部模块",
"moduleNotAllowed": "不允许 __module__ 模块",
"externalModuleLoadError": "加载外部模块失败",
"moduleLoadError": "__module__ 加载失败: __error__",
"moduleNameError": "无效的模块变量名: __name__",
"moduleNameReserved": "保留的变量名: __name__",
"inputListener": "无法在函数中监听对'注入'事件", "inputListener": "无法在函数中监听对'注入'事件",
"non-message-returned": "函数节点尝试返回类型为 __type__ 的信息" "non-message-returned": "函数节点尝试返回类型为 __type__ 的信息",
"invalid-js": "JavaScript 代码错误",
"missing-module": "模块 __module__ 缺少"
} }
}, },
"template": { "template": {
@ -238,7 +283,7 @@
"yaml": "YAML", "yaml": "YAML",
"none": "无" "none": "无"
}, },
"templatevalue": "这是有效载荷: {{payload}} !" "templatevalue": "这是一个默认的payload调用示例: {{payload}} !"
}, },
"delay": { "delay": {
"action": "行为设置", "action": "行为设置",
@ -264,14 +309,20 @@
"between": "介于", "between": "介于",
"and": "至", "and": "至",
"rate": "速度", "rate": "速度",
"msgper": "信息 每", "msgper": "条信息 每",
"queuemsg": "将中间消息排队",
"dropmsg": "不传输中间信息", "dropmsg": "不传输中间信息",
"sendmsg": "在第2个输出端发送中间消息",
"allowrate": "允许msg.rate (毫秒) 重写速率",
"label": { "label": {
"delay": "延迟", "delay": "延迟",
"variable": "变量", "variable": "变量",
"limit": "限制", "limit": "限制",
"limitTopic": "限制主题", "limitTopic": "限制速率",
"random": "随机", "random": "随机",
"rate": "速率",
"random-first": "最小随机值",
"random-last": "最大随机值",
"units": { "units": {
"second": { "second": {
"plural": "秒", "plural": "秒",
@ -290,17 +341,25 @@
"singular": "天" "singular": "天"
} }
} }
},
"errors": {
"too-many": "delay节点中的待处理消息过多",
"invalid-timeout": "延迟时间无效",
"invalid-rate": "无效的速率值",
"invalid-rate-unit": "速率值单位无效",
"invalid-random-first": "最小随机值无效",
"invalid-random-last": "最大随机值无效"
} }
}, },
"trigger": { "trigger": {
"send": "发送", "send": "发送",
"then": "然后", "then": "然后",
"then-send": "然后发送", "then-send": "然后发送",
"output": { "output": {
"string": "字符串", "string": "字符串",
"number": "数字", "number": "数字",
"existing": "现有信息对象", "existing": "现有信息对象",
"original": "原信息对象", "original": "原信息对象",
"latest": "最新信息对象", "latest": "最新信息对象",
"nothing": "无" "nothing": "无"
}, },
@ -317,16 +376,18 @@
"h": "小时" "h": "小时"
}, },
"extend": " 如有新信息,延长延迟", "extend": " 如有新信息,延长延迟",
"override": "使用msg.delay覆盖延迟时间", "override": "使用 msg.delay 重写延迟时间",
"second": " 发送第二条消息到单独的输出", "second": " 发送第二条消息到单独的输出",
"label": { "label": {
"trigger": "触发", "trigger": "触发",
"trigger-block": "触发并阻止", "trigger-block": "触发并阻止",
"trigger-loop": "周期性重发", "trigger-loop": "周期性重发",
"reset": "重置触发节点条件 如果:", "reset": "满足以下要求则重置trigger节点:",
"resetMessage": "msg.reset已设置", "resetMessage": "已设置 msg.reset",
"resetPayload": "msg.payload 等于 ", "resetPayload": "msg.payload 等于 ",
"resetprompt": "可选填" "resetprompt": "可选项",
"duration": "持续",
"topic": "主题"
} }
}, },
"comment": { "comment": {
@ -336,7 +397,7 @@
"label": { "label": {
"unknown": "未知" "unknown": "未知"
}, },
"tip": "<p>此节点是您安装,但Node-RED所不知道的类型。</p><p><i>如果在此状态下部署节点,那么它的配置将被保留,但是流程将不会启动,直到安装缺少的类型。</i></p><p>有关更多帮助,请参阅信息侧栏</p>" "tip": "<p>此节点是您安装,但该节点是Node-RED所不知道的类型。</p><p><i>如果在此状态下部署节点,它的配置将被保留,但是流程将不会启动,直到安装缺少的类型。</i></p><p>有关更多帮助,请参阅信息侧栏</p>"
}, },
"mqtt": { "mqtt": {
"label": { "label": {
@ -347,43 +408,79 @@
"retain": "保持", "retain": "保持",
"clientid": "客户端ID", "clientid": "客户端ID",
"port": "端口", "port": "端口",
"keepalive": "Keepalive计时(秒)", "keepalive": "KeepAlive计时(秒)",
"cleansession": "使用新的会话", "cleansession": "使用新的会话",
"use-tls": "使用 TLS", "cleanstart": "全新创建",
"use-tls": "启用 TLS",
"tls-config": "TLS 设置", "tls-config": "TLS 设置",
"verify-server-cert": "验证服务器证书", "verify-server-cert": "验证服务器证书",
"compatmode": "使用旧式MQTT 3.1支持" "compatmode": "使用旧式MQTT 3.1支持",
"userProperties": "自定义属性",
"subscriptionIdentifier": "订阅ID",
"flags": "Flags",
"nl": "不接收此客户端发布的消息",
"rap": "保留原始发布的保留标志",
"rh": "保留消息处理 ",
"rh0": "发送保留消息",
"rh1": "仅发送新订阅",
"rh2": "请勿发送",
"responseTopic": "Response 主题",
"contentType": "Content 类型",
"correlationData": "关联数据",
"expiry": "过期时间 (秒)",
"sessionExpiry": "会话过期时间 (秒)",
"topicAlias": "别名",
"payloadFormatIndicator": "格式",
"payloadFormatIndicatorFalse": "未指定的bytes (默认)",
"payloadFormatIndicatorTrue": "UTF-8 编码payload",
"protocolVersion": "协议",
"protocolVersion3": "MQTT V3.1 (legacy)",
"protocolVersion4": "MQTT V3.1.1",
"protocolVersion5": "MQTT V5",
"topicAliasMaximum": "Alias Max",
"maximumPacketSize": "最大数据包大小",
"receiveMaximum": "Receive Max",
"session": "会话",
"delay": "延迟",
"action": "Action",
"staticTopic": "订阅单个主题",
"dynamicTopic": "动态订阅",
"auto-connect": "自动连接",
"auto-mode-depreciated": "此选项已弃用,请使用新的自动检测模式。",
"none": "无",
"other": "其它"
}, },
"sections-label": { "sections-label": {
"birth-message": "连接时发送的消息(出生消息)", "birth-message": "连接时发送的消息(初始消息)",
"will-message": "意外断开连接时的发送消息Will消息", "will-message": "意外断开连接时的发送消息Will消息",
"close-message": "断开连接前发送的消息(关闭消息)" "close-message": "断开连接前发送的消息(关闭消息)"
}, },
"tabs-label": { "tabs-label": {
"connection": "连接", "connection": "连接参数",
"security": "安全", "security": "安全",
"messages": "消息" "messages": "消息"
}, },
"placeholder": { "placeholder": {
"clientid": "留白则自动生成", "clientid": "留自动生成",
"clientid-nonclean": "如非新会话必须设置客户端ID", "clientid-nonclean": "如非新会话必须设置客户端ID",
"will-topic": "留白将禁止Will信息", "will-topic": "输入主题内容以启用Will信息",
"birth-topic": "留白将禁止Birth信息", "birth-topic": "输入主题内容以启用初始信息",
"close-topic": "留白以禁用关闭消息" "close-topic": "输入主题内容以启用关闭消息"
}, },
"state": { "state": {
"connected": "已连接到服务端: __broker__", "connected": "已连接到服务端: __broker__",
"disconnected": "已断开与服务端 __broker__ 的链接", "disconnected": "已断开与服务端 __broker__ 的链接",
"connect-failed": "与服务端 __broker__ 的连接失败" "connect-failed": "与服务端 __broker__ 的连接失败",
"broker-disconnected": "客户端连接被 __broker__ 断开: __reasonCode__ __reasonString__"
}, },
"retain": "保留", "retain": "保留",
"output": { "output": {
"buffer": "Buffer", "buffer": "buffer",
"string": "字符串", "string": "字符串",
"base64": "Base64编码字符串", "base64": "Base64编码字符串",
"auto": "自动检测 (字符串或buffer)", "auto": "自动检测 (字符串或buffer)",
"auto-detect": "自动检测 (已解析的JSON对象、字符串或buffer)", "auto-detect": "自动检测 (JSON对象、字符串或buffer)",
"json": "解析的JSON对象" "json": "JSON对象"
}, },
"true": "是", "true": "是",
"false": "否", "false": "否",
@ -394,20 +491,28 @@
"invalid-topic": "主题无效", "invalid-topic": "主题无效",
"nonclean-missingclientid": "客户端ID未设定使用新会话", "nonclean-missingclientid": "客户端ID未设定使用新会话",
"invalid-json-string": "无效的JSON字符串", "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": { "httpin": {
"label": { "label": {
"method": "请求方式", "method": "请求方式",
"url": "URL", "url": "URL 地址",
"doc": "文档", "doc": "文档",
"return": "返回", "return": "返回",
"upload": "接受文件上传?", "upload": "接受文件上传",
"status": "状态码", "status": "状态码",
"headers": "头", "headers": "头",
"other": "其他", "other": "其他",
"paytoqs": "将msg.payload附加为查询字符串参数", "paytoqs": {
"ignore": "忽略",
"query": "附加到查询字符串参数",
"body": "作为请求正文发送"
},
"utf8String": "UTF8格式的字符串", "utf8String": "UTF8格式的字符串",
"binaryBuffer": "二进制buffer", "binaryBuffer": "二进制buffer",
"jsonObject": "解析的JSON对象", "jsonObject": "解析的JSON对象",
@ -426,6 +531,7 @@
"proxy-config": "代理服务器设置", "proxy-config": "代理服务器设置",
"use-proxyauth": "使用代理身份验证", "use-proxyauth": "使用代理身份验证",
"noproxy-hosts": "代理例外", "noproxy-hosts": "代理例外",
"senderr": "仅向 Catch 节点发送非 2xx 响应",
"utf8": "UTF-8 字符串", "utf8": "UTF-8 字符串",
"binary": "二进制数据", "binary": "二进制数据",
"json": "JSON对象", "json": "JSON对象",
@ -440,29 +546,32 @@
"missing-path": "无路径", "missing-path": "无路径",
"no-response": "无响应对象", "no-response": "无响应对象",
"json-error": "JSON 解析错误", "json-error": "JSON 解析错误",
"no-url": "未设定 URL", "no-url": "未指定URL地址",
"deprecated-call": "__method__ 方法已弃用", "deprecated-call": "__method__ 方法已弃用",
"invalid-transport": "非HTTP传输请求", "invalid-transport": "非HTTP传输请求",
"timeout-isnan": "超时值不是有效数字,忽略", "timeout-isnan": "超时值不是有效数字,忽略",
"timeout-isnegative": "超时值为负,忽略", "timeout-isnegative": "超时值为负,忽略",
"invalid-payload": "无效的有效载荷" "invalid-payload": "无效的有效载荷",
"invalid-url": "无效的url地址"
}, },
"status": { "status": {
"requesting": "请求中" "requesting": "请求中"
} },
"insecureHTTPParser": "禁用严格的 HTTP 解析"
}, },
"websocket": { "websocket": {
"label": { "label": {
"type": "类型", "type": "类型",
"path": "路径", "path": "路径",
"url": "URL", "url": "URL 地址",
"subprotocol": "子协议" "subprotocol": "子协议"
}, },
"listenon": "监听", "listenon": "监听",
"connectto": "连接", "connectto": "连接",
"sendrec": "发送/接", "sendrec": "发送/接",
"payload": "有效载荷", "payload": "payload",
"message": "完整信息", "message": "完整信息",
"sendheartbeat": "发送心跳消息",
"tip": { "tip": {
"path1": "默认情况下,<code>payload</code>将包含要发送或从Websocket接收的数据。侦听器可以配置为以JSON格式的字符串发送或接收整个消息对象.", "path1": "默认情况下,<code>payload</code>将包含要发送或从Websocket接收的数据。侦听器可以配置为以JSON格式的字符串发送或接收整个消息对象.",
"path2": "这条路径将相对于 <code>__path__</code>.", "path2": "这条路径将相对于 <code>__path__</code>.",
@ -470,24 +579,26 @@
"url2": "默认情况下,<code>payload</code> 将包含要发送或从Websocket接收的数据。可以将客户端配置为以JSON格式的字符串发送或接收整个消息对象." "url2": "默认情况下,<code>payload</code> 将包含要发送或从Websocket接收的数据。可以将客户端配置为以JSON格式的字符串发送或接收整个消息对象."
}, },
"status": { "status": {
"connected": "连接数 __count__", "connected": "连接数 __count__",
"connected_plural": "连接数 __count__" "connected_plural": "连接数 __count__"
}, },
"errors": { "errors": {
"connect-error": "ws连接发生了错误: ", "connect-error": "ws连接发生了错误: ",
"send-error": "发送时发生了错误: ", "send-error": "发送时发生了错误: ",
"missing-conf": "未设置服务器", "missing-conf": "未设置服务器",
"duplicate-path": "同一路径上不能有两个WebSocket侦听器: __path__" "duplicate-path": "同一路径上不能有两个WebSocket侦听器: __path__",
"missing-server": "服务器配置缺失",
"missing-client": "客户端配置缺失"
} }
}, },
"watch": { "watch": {
"watch": "watch", "watch": "watch",
"label": { "label": {
"files": "文件", "files": "文件",
"recursive": "递归所有子文件夹" "recursive": "查找所有子文件夹"
}, },
"placeholder": { "placeholder": {
"files": "逗号分开文件或文件夹" "files": "用英文逗号分开文件或文件夹"
}, },
"tip": "在Windows上请务必使用双斜杠 \\\\ 来隔开文件夹名字" "tip": "在Windows上请务必使用双斜杠 \\\\ 来隔开文件夹名字"
}, },
@ -497,23 +608,26 @@
"output": "输出", "output": "输出",
"port": "端口 ", "port": "端口 ",
"host": "主机地址 ", "host": "主机地址 ",
"payload": "有效载荷", "payload": "payload(s)",
"delimited": "分隔符号 ", "delimited": "分隔符号 ",
"close-connection": "是否在成功发送每条信息后断开连接?", "close-connection": "成功发送信息后断开连接",
"decode-base64": "用 Base64 解码信息?", "decode-base64": "使用 Base64 解码信息",
"server": "服务器", "server": "服务器",
"return": "返回", "return": "返回",
"ms": "毫秒", "ms": "毫秒",
"chars": "字符" "chars": "字符",
"close": "关闭",
"optional": "(可选)",
"reattach": "重新添加分隔符"
}, },
"type": { "type": {
"listen": "监听", "listen": "监听客户端连接",
"connect": "连接", "connect": "连接到服务器",
"reply": "响应 TCP" "reply": "响应 TCP"
}, },
"output": { "output": {
"stream": "字串流", "stream": "字串流",
"single": "单一", "single": "单个数据",
"buffer": "Buffer", "buffer": "Buffer",
"string": "字符串", "string": "字符串",
"base64": "Base64 字符串" "base64": "Base64 字符串"
@ -527,7 +641,7 @@
}, },
"status": { "status": {
"connecting": "正在连接到 __host__:__port__", "connecting": "正在连接到 __host__:__port__",
"connected": "已连接到 __host__:__port__", "connected": "已连接到 __host__:__port__",
"listening-port": "监听端口 __port__", "listening-port": "监听端口 __port__",
"stopped-listening": "已停止监听端口", "stopped-listening": "已停止监听端口",
"connection-from": "连接来自 __host__:__port__", "connection-from": "连接来自 __host__:__port__",
@ -543,7 +657,10 @@
"socket-error": "套接字连接错误来自 __host__:__port__", "socket-error": "套接字连接错误来自 __host__:__port__",
"no-host": "主机地址或端口未设定", "no-host": "主机地址或端口未设定",
"connect-timeout": "连接超时", "connect-timeout": "连接超时",
"connect-fail": "连接失败" "connect-fail": "连接失败",
"bad-string": "无法转换为字符串",
"invalid-host": "服务器地址无效",
"invalid-port": "端口号无效"
} }
}, },
"udp": { "udp": {
@ -554,10 +671,11 @@
"output": "输出", "output": "输出",
"group": "组", "group": "组",
"interface": "本地IP", "interface": "本地IP",
"send": "发送一个", "send": "发送",
"toport": " 到端口", "toport": " 到端口",
"address": "地址", "address": "地址",
"decode-base64": "是否解码Base64编码的信息?" "decode-base64": "使用Base64解码信息",
"port": "端口"
}, },
"placeholder": { "placeholder": {
"interface": "可选eth0的IP地址", "interface": "可选eth0的IP地址",
@ -580,8 +698,8 @@
"target": "绑定到目标端口" "target": "绑定到目标端口"
}, },
"tip": { "tip": {
"in": "提示:确保您的防火墙将允许数据进入", "in": "提示:请确保数据能够通过您的防火墙。",
"out": "提示:如果要使用<code>msg.ip</code>和<code>msg.port</code>设置,请将地址和端口留空", "out": "提示:如果要使用<code>msg.ip</code>和<code>msg.port</code>设置,请将地址和端口留空",
"port": "正在使用端口: " "port": "正在使用端口: "
}, },
"status": { "status": {
@ -589,10 +707,10 @@
"mc-group": "udp 组播到 __group__", "mc-group": "udp 组播到 __group__",
"listener-stopped": "udp 监听器已停止", "listener-stopped": "udp 监听器已停止",
"output-stopped": "udp 输出已停止", "output-stopped": "udp 输出已停止",
"mc-ready": "udp 组播已准备好: __outport__ -> __host__:__port__", "mc-ready": "udp 组播已就绪: __outport__ -> __host__:__port__",
"bc-ready": "udp 广播已准备好: __outport__ -> __host__:__port__", "bc-ready": "udp 广播已就绪: __outport__ -> __host__:__port__",
"ready": "udp 已准备好: __outport__ -> __host__:__port__", "ready": "udp 已就绪: __outport__ -> __host__:__port__",
"ready-nolocal": "udp 已准备好: __host__:__port__", "ready-nolocal": "udp 已就绪: __host__:__port__",
"re-use": "udp 重用套接字: __outport__ -> __host__:__port__" "re-use": "udp 重用套接字: __outport__ -> __host__:__port__"
}, },
"errors": { "errors": {
@ -604,7 +722,8 @@
"port-notset": "udp: 端口未设定", "port-notset": "udp: 端口未设定",
"port-invalid": "udp: 无效端口号码", "port-invalid": "udp: 无效端口号码",
"alreadyused": "udp: 端口已被占用", "alreadyused": "udp: 端口已被占用",
"ifnotfound": "udp: 接口 __iface__ 未发现" "ifnotfound": "udp: 接口 __iface__ 未发现",
"invalid-group": "无效的多播组"
} }
}, },
"switch": { "switch": {
@ -612,7 +731,9 @@
"label": { "label": {
"property": "属性", "property": "属性",
"rule": "规则", "rule": "规则",
"repair": "重建信息队列" "repair": "重建信息队列",
"value-rules": "输入值匹配",
"sequence-rules": "顺序匹配"
}, },
"previous": "先前值", "previous": "先前值",
"and": "与", "and": "与",
@ -620,9 +741,9 @@
"stopfirst": "接受第一条匹配信息后停止", "stopfirst": "接受第一条匹配信息后停止",
"ignorecase": "忽略大小写", "ignorecase": "忽略大小写",
"rules": { "rules": {
"btwn": "在之间", "btwn": "在..之间",
"cont": "包含", "cont": "包含",
"regex": "匹配正则表达式", "regex": "正则表达式",
"true": "为真", "true": "为真",
"false": "为假", "false": "为假",
"null": "为空", "null": "为空",
@ -630,9 +751,9 @@
"istype": "类型是", "istype": "类型是",
"empty": "为空", "empty": "为空",
"nempty": "非空", "nempty": "非空",
"head": "头", "head": "",
"tail": "尾", "tail": "",
"index": "索引在..间", "index": "索引在..间",
"exp": "JSONata表达式", "exp": "JSONata表达式",
"else": "除此以外", "else": "除此以外",
"hask": "拥有键" "hask": "拥有键"
@ -650,23 +771,27 @@
"change": "修改 __property__", "change": "修改 __property__",
"delete": "删除 __property__", "delete": "删除 __property__",
"move": "移动 __property__", "move": "移动 __property__",
"changeCount": "修改: __count__ 条规矩", "changeCount": "修改: __count__ 条规则",
"regex": "使用正则表达式" "regex": "使用正则表达式",
"deepCopy": "对值进行深拷贝"
}, },
"action": { "action": {
"set": "设定", "set": "设定",
"change": "修改", "change": "替换值",
"delete": "删除", "delete": "删除",
"move": "转移", "move": "转移",
"toValue": "值为",
"to": "到", "to": "到",
"search": "搜索", "search": "查找",
"replace": "替为" "replace": "替为"
}, },
"errors": { "errors": {
"invalid-from": "无效的'from'属性: __error__", "invalid-from": "无效的'from'属性: __error__",
"invalid-json": "无效的'to'JSON 属性", "invalid-json": "无效的'to'JSON 属性",
"invalid-expr": "无效的JSONata表达式: __error__", "invalid-expr": "无效的JSONata表达式: __error__",
"no-override": "无法设置非对象类型的属性: __property__" "no-override": "无法设置非对象类型的属性: __property__",
"invalid-prop": "无效的属性表达式: __property__",
"invalid-json-data": "无效的 JSON 数据: __error__"
} }
}, },
"range": { "range": {
@ -677,19 +802,23 @@
"resultrange": "至目标范围", "resultrange": "至目标范围",
"from": "从 ", "from": "从 ",
"to": "到 ", "to": "到 ",
"roundresult": "取最接近整数?" "roundresult": "取最接近整数",
"minin": "输入值从",
"maxin": "输入值到",
"minout": "目标值从",
"maxout": "目标值到"
}, },
"placeholder": { "placeholder": {
"min": "比如: 0", "min": "例如: 0",
"maxin": "比如: 99", "maxin": "例如: 99",
"maxout": "比如: 255" "maxout": "例如: 255"
}, },
"scale": { "scale": {
"payload": "按比例msg.payload", "payload": "按比例msg.payload",
"limit": "按比例并设定界限至目标范围", "limit": "按比例并设定界限至目标范围",
"wrap": "按比例并包含在目标范围内" "wrap": "按比例并包含在目标范围内"
}, },
"tip": "提示: 此节点仅对数字有效", "tip": "提示: 此节点仅对数字有效",
"errors": { "errors": {
"notnumber": "不是一个数字" "notnumber": "不是一个数字"
} }
@ -715,12 +844,12 @@
"columns": "用逗号分割列名" "columns": "用逗号分割列名"
}, },
"separator": { "separator": {
"comma": "逗号", "comma": "逗号(英文半角)",
"tab": "Tab", "tab": "Tab",
"space": "空格", "space": "空格(英文半角)",
"semicolon": "分号", "semicolon": "分号(英文半角)",
"colon": "冒号", "colon": "冒号(英文半角)",
"hashtag": "井号", "hashtag": "#号",
"other": "其他..." "other": "其他..."
}, },
"output": { "output": {
@ -747,7 +876,7 @@
"label": { "label": {
"select": "选取项", "select": "选取项",
"output": "输出", "output": "输出",
"in": "in" "in": "位于"
}, },
"output": { "output": {
"html": "选定元素的html内容", "html": "选定元素的html内容",
@ -799,10 +928,13 @@
}, },
"file": { "file": {
"label": { "label": {
"write": "写入文件",
"read": "读取文件",
"filename": "文件名", "filename": "文件名",
"action": "行为", "path": "路径",
"addnewline": "向每个有效载荷添加换行符(\\n?", "action": "操作",
"createdir": "创建目录(如果不存在)?", "addnewline": "向每个 payload 添加换行符(\\n",
"createdir": "目录不存在自动创建",
"outputas": "输出", "outputas": "输出",
"breakchunks": "分拆成块", "breakchunks": "分拆成块",
"breaklines": "分拆成行", "breaklines": "分拆成行",
@ -810,18 +942,21 @@
"encoding": "编码", "encoding": "编码",
"deletelabel": "删除 __file__", "deletelabel": "删除 __file__",
"utf8String": "UTF8字符串", "utf8String": "UTF8字符串",
"binaryBuffer": "二进制buffer" "utf8String_plural": "UTF8字符串",
"binaryBuffer": "二进制buffer",
"binaryBuffer_plural": "二进制buffer",
"allProps": "在每个 msg 中包含所有现有属性"
}, },
"action": { "action": {
"append": "追加至文件", "append": "追加至文件",
"overwrite": "复写文件", "overwrite": "覆盖文件",
"delete": "删除文件" "delete": "删除文件"
}, },
"output": { "output": {
"utf8": "一个utf8字符串", "utf8": "utf8字符串",
"buffer": "一个Buffer对象", "buffer": "Buffer对象",
"lines": "每行一条信息", "lines": "每行一条信息",
"stream": "一个Buffer流" "stream": "Buffer流"
}, },
"status": { "status": {
"wrotefile": "写入至文件: __file__", "wrotefile": "写入至文件: __file__",
@ -830,28 +965,29 @@
}, },
"encoding": { "encoding": {
"none": "默认", "none": "默认",
"native": "Native", "native": "Node-RED原生",
"setbymsg": "通过 msg.encoding 设置",
"unicode": "Unicode", "unicode": "Unicode",
"japanese": "日本", "japanese": "日本",
"chinese": "中国", "chinese": "中国",
"korean": "韩国", "korean": "韩国",
"taiwan": "台湾/香港", "taiwan": "台湾/香港",
"windows": "Windows代码页", "windows": "Windows编码",
"iso": "ISO代码页", "iso": "ISO编码",
"ibm": "IBM代码页", "ibm": "IBM编码",
"mac": "Mac代码页", "mac": "Mac编码",
"koi8": "KOI8代码页", "koi8": "KOI8编码",
"misc": "其它" "misc": "其它"
}, },
"errors": { "errors": {
"nofilename": "未指定文件名", "nofilename": "未指定文件名",
"invaliddelete": "警告:无效删除。请在配置对话框中使用特定的删除选项", "invaliddelete": "警告:删除无效,请在配置对话框中使用特定的删除选项",
"deletefail": "无法删除文件: __error__", "deletefail": "无法删除文件: __error__",
"writefail": "无法写入文件: __error__", "writefail": "无法写入文件: __error__",
"appendfail": "无法追加到文件: __error__", "appendfail": "无法追加到文件: __error__",
"createfail": "文件创建失败: __error__" "createfail": "文件创建失败: __error__"
}, },
"tip": "提示: 文件名应该是绝对路径,否则它将相对于Node-RED进程的工作目录。" "tip": "提示: 文件名应该是绝对路径,使用相对路径时为相对于Node-RED进程的工作目录。"
}, },
"split": { "split": {
"split": "split", "split": "split",
@ -866,7 +1002,7 @@
"addname": " 复制键到 " "addname": " 复制键到 "
}, },
"join": { "join": {
"join": "连接", "join": "join",
"mode": { "mode": {
"mode": "模式", "mode": "模式",
"auto": "自动", "auto": "自动",
@ -896,6 +1032,7 @@
"complete": "在收到存在<code>msg.complete</code>的消息后", "complete": "在收到存在<code>msg.complete</code>的消息后",
"tip": "此模式假定此节点与<i>split</i>相连, 或者接收到的消息有正确配置的<code>msg.parts</code>属性.", "tip": "此模式假定此节点与<i>split</i>相连, 或者接收到的消息有正确配置的<code>msg.parts</code>属性.",
"too-many": "join节点中有太多待定信息", "too-many": "join节点中有太多待定信息",
"message-prop": "消息属性",
"merge": { "merge": {
"topics-label": "合并主题", "topics-label": "合并主题",
"topics": "主题", "topics": "主题",
@ -953,6 +1090,41 @@
}, },
"too-many": "batch节点中有太多待定信息", "too-many": "batch节点中有太多待定信息",
"unexpected": "未知模式", "unexpected": "未知模式",
"no-parts": "信息中没有parts属性" "no-parts": "信息中没有parts属性",
"error": {
"invalid-count": "计数无效",
"invalid-overlap": "overlap无效",
"invalid-interval": "间隔无效"
}
},
"rbe": {
"rbe": "filter",
"label": {
"func": "模式",
"init": "发送初始值",
"start": "起始值",
"name": "名称",
"septopics": "分别为每个数据应用模式 ",
"gap": "值变化",
"property": "属性",
"topic": "主题"
},
"placeholder": {
"bandgap": "例如10 或 5%",
"start": "留空以使用收到的第一个数据"
},
"opts": {
"rbe": "阻塞到值变化",
"rbei": "阻塞到值变化 (忽略初始值)",
"deadband": "除非值变化大于",
"deadbandEq": "除非值变化大于或等于",
"narrowband": "如果值变化大于则阻塞",
"narrowbandEq": "如果值变化大于或等于则阻塞",
"in": "与上一个输入值相比",
"out": "与最后一个有效输出值相比"
},
"warn": {
"nonumber": "在payload中找不到数值"
}
} }
} }