Chinese translations for core nodes (#1607)

* Fix typo

* Fix and Update some Chinese translations.

* Fix and Add Chinese translations to match all en-US's items
This commit is contained in:
Kroderia 2018-03-18 01:49:17 +08:00 committed by Dave Conway-Jones
parent b979b4e61a
commit 5d54ca7477
2 changed files with 257 additions and 173 deletions

View File

@ -5,7 +5,8 @@
"topic": "主题", "topic": "主题",
"name": "名称", "name": "名称",
"username": "用户名", "username": "用户名",
"password": "密码" "password": "密码",
"property": "属性"
}, },
"status": { "status": {
"connected": "已连接", "connected": "已连接",
@ -13,7 +14,7 @@
"disconnected": "已断开", "disconnected": "已断开",
"connecting": "连接中", "connecting": "连接中",
"error": "错误", "error": "错误",
"ok": "确" "ok": "确"
}, },
"notification": { "notification": {
"error": "<strong>错误</strong>: __message__", "error": "<strong>错误</strong>: __message__",
@ -37,17 +38,17 @@
"repeat": "重复" "repeat": "重复"
}, },
"timestamp": "时间戳", "timestamp": "时间戳",
"none": "空白", "none": "",
"interval": "间隔", "interval": "周期性执行",
"interval-time": "特定时间内间隔", "interval-time": "指定时间段周期性执行",
"time": "定时间", "time": "定时间",
"seconds": "秒", "seconds": "秒",
"minutes": "分钟", "minutes": "分钟",
"hours": "小时", "hours": "小时",
"between": "介于", "between": "介于",
"previous": "之前数值", "previous": "之前数值",
"at": "在", "at": "在",
"and": "之间", "and": "",
"every": "每隔", "every": "每隔",
"days": [ "days": [
"星期一", "星期一",
@ -59,18 +60,20 @@
"星期天" "星期天"
], ],
"on": "在", "on": "在",
"onstart": "运行时注入?", "onstart": "立刻执行于",
"tip": "<b>注意:</b> \"特定时间内间隔\" 和 \"特定时间\" 会使用cron系统.<br/> 详情查看信息页.", "onceDelay": "秒后, 此后",
"tip": "<b>注意:</b> \"指定时间段周期性执行\" 和 \"指定时间\" 会使用cron系统.<br/> 详情查看信息页.",
"success": "成功注入: __label__", "success": "成功注入: __label__",
"errors": { "errors": {
"failed": "注入失败, 请查看日志" "failed": "注入失败, 请查看日志",
"toolong": "周期过长"
} }
}, },
"catch": { "catch": {
"catch": "检测异常", "catch": "监测所有节点",
"catchNodes": "检测到 (__number__)", "catchNodes": "监测__number__个节点",
"label": { "label": {
"source": "检测错误来自", "source": "监测范围",
"node": "节点", "node": "节点",
"type": "类型", "type": "类型",
"selectAll": "全选", "selectAll": "全选",
@ -79,14 +82,14 @@
}, },
"scope": { "scope": {
"all": "所有节点", "all": "所有节点",
"selected": "已选节点" "selected": "指定节点"
} }
}, },
"status": { "status": {
"status": "状态 (所有)", "status": "报告所有节点状态",
"statusNodes": "状态显示 (__number__)", "statusNodes": "报告__number__个节点状态",
"label": { "label": {
"source": "状态报告来自", "source": "报告状态范围",
"node": "节点", "node": "节点",
"type": "类型", "type": "类型",
"selectAll": "全选", "selectAll": "全选",
@ -95,7 +98,7 @@
}, },
"scope": { "scope": {
"all": "所有节点", "all": "所有节点",
"selected": "已选节点" "selected": "指定节点"
} }
}, },
"debug": { "debug": {
@ -104,7 +107,11 @@
"msgobj": "完整信息", "msgobj": "完整信息",
"to": "目标", "to": "目标",
"debtab": "调试窗口", "debtab": "调试窗口",
"tabcon": "调试窗口及终端控制台", "tabcon": "调试窗口及Console",
"toSidebar": "调试窗口",
"toConsole": "Console",
"toStatus": "节点状态 (32位字符)",
"severity": "级别",
"notification": { "notification": {
"activated": "成功激活: __label__", "activated": "成功激活: __label__",
"deactivated": "成功取消: __label__" "deactivated": "成功取消: __label__"
@ -114,21 +121,21 @@
"name": "名称", "name": "名称",
"filterAll": "所有节点", "filterAll": "所有节点",
"filterSelected": "已选节点", "filterSelected": "已选节点",
"filterCurrent": "前流程", "filterCurrent": "前流程",
"debugNodes": "调试节点", "debugNodes": "调试节点",
"clearLog": "清日志", "clearLog": "清日志",
"openWindow": "在新窗口打开" "openWindow": "在新窗口打开"
}, },
"messageMenu": { "messageMenu": {
"collapseAll": "折叠所有路径", "collapseAll": "折叠所有路径",
"clearPinned": "清已固定路径", "clearPinned": "清已固定路径",
"filterNode": "过滤此节点", "filterNode": "过滤此节点",
"clearFilter": "清除已设过滤" "clearFilter": "清空过滤条件"
} }
}, },
"link": { "link": {
"linkIn": "连接入口", "linkIn": "输入",
"linkOut": "连接出口", "linkOut": "输出",
"label": { "label": {
"event": "事件名称", "event": "事件名称",
"node": "节点名称", "node": "节点名称",
@ -144,16 +151,18 @@
"upload": "上传", "upload": "上传",
"cert": "证书", "cert": "证书",
"key": "私钥", "key": "私钥",
"passphrase": "密码",
"ca": "CA证书", "ca": "CA证书",
"verify-server-cert":"验证服务器证书" "verify-server-cert":"验证服务器证书"
}, },
"placeholder": { "placeholder": {
"cert":"证书路径 (PEM 格式)", "cert":"证书路径 (PEM 格式)",
"key":"私匙路径 (PEM 格式)", "key":"私钥路径 (PEM 格式)",
"ca":"CA证书路径 (PEM 格式)" "ca":"CA证书路径 (PEM 格式)",
"passphrase":"私钥密码 (可选)"
}, },
"error": { "error": {
"missing-file": "无证书/密匙文件提供" "missing-file": "未提供证书/密钥文件"
} }
}, },
"exec": { "exec": {
@ -169,10 +178,10 @@
"extraparams": "额外的输入参数" "extraparams": "额外的输入参数"
}, },
"opt": { "opt": {
"exec": "当命令任务完成时 - exec 模式", "exec": "当命令完成时 - exec模式",
"spawn": "当命令任务进行时 - spawn 模式" "spawn": "当命令进行时 - spawn模式"
}, },
"oldrc": "使用旧式输出模式 (传统模式)" "oldrc": "使用旧式输出 (兼容模式)"
}, },
"function": { "function": {
"label": { "label": {
@ -180,7 +189,7 @@
"outputs": "输出" "outputs": "输出"
}, },
"error": { "error": {
"inputListener":"无法在函数里面加入对‘注入’事件的监视", "inputListener":"无法在函数中监听对'注入'事件",
"non-message-returned":"函数节点尝试返回类型为 __type__ 的信息" "non-message-returned":"函数节点尝试返回类型为 __type__ 的信息"
}, },
"tip": "可从信息页面查看更多关于如何编写函数的帮助" "tip": "可从信息页面查看更多关于如何编写函数的帮助"
@ -194,7 +203,8 @@
"output": "输出为", "output": "输出为",
"mustache": "Mustache 模版", "mustache": "Mustache 模版",
"plain": "纯文本", "plain": "纯文本",
"json": "解析JSON", "json": "JSON",
"yaml": "YAML",
"none": "无" "none": "无"
}, },
"templatevalue": "This is the payload: {{payload}} !" "templatevalue": "This is the payload: {{payload}} !"
@ -204,13 +214,13 @@
"for": "时长", "for": "时长",
"delaymsg": "延迟每一条信息", "delaymsg": "延迟每一条信息",
"delayfixed": "固定延迟时间", "delayfixed": "固定延迟时间",
"delayvarmsg": "用 msg.delay 改写延迟时长", "delayvarmsg": "允许msg.delay复写延迟时长",
"randomdelay": "随机延迟", "randomdelay": "随机延迟",
"limitrate": "信息速度限制", "limitrate": "限制信息速率",
"limitall": "所有信息", "limitall": "所有信息",
"limittopic": "每一个 msg.topic", "limittopic": "每一个msg.topic",
"fairqueue": "轮流发每一个主题", "fairqueue": "依次发送每一个topic",
"timedqueue": "发所有主题", "timedqueue": "发所有topic",
"milisecs": "毫秒", "milisecs": "毫秒",
"secs": "秒", "secs": "秒",
"sec": "秒", "sec": "秒",
@ -218,10 +228,10 @@
"min": "分", "min": "分",
"hours": "小时", "hours": "小时",
"hour": "小时", "hour": "小时",
"days": "", "days": "",
"day": "", "day": "",
"between": "介于", "between": "介于",
"and": "", "and": "",
"rate": "速度", "rate": "速度",
"msgper": "信息 每", "msgper": "信息 每",
"dropmsg": "不传输中间信息", "dropmsg": "不传输中间信息",
@ -245,14 +255,14 @@
"singular": "小时" "singular": "小时"
}, },
"day": { "day": {
"plural" : "", "plural" : "",
"singular": "" "singular": ""
} }
} }
}, },
"error": { "error": {
"buffer": "缓冲超过 1000 条信息", "buffer": "缓冲超过 1000 条信息",
"buffer1": "缓冲超过 10000 条信息" "buffer1": "缓冲超过 10000 条信息"
} }
}, },
"trigger": { "trigger": {
@ -267,9 +277,9 @@
"latest": "最新信息对象", "latest": "最新信息对象",
"nothing": "无" "nothing": "无"
}, },
"wait-reset": "等待重置", "wait-reset": "等待重置",
"wait-for": "等待", "wait-for": "等待",
"wait-loop": "重发", "wait-loop": "周期性重发",
"duration": { "duration": {
"ms": "毫秒", "ms": "毫秒",
"s": "秒", "s": "秒",
@ -279,11 +289,11 @@
"extend": " 如有新信息,延长延迟", "extend": " 如有新信息,延长延迟",
"label": { "label": {
"trigger": "触发", "trigger": "触发",
"trigger-block": "发并阻止", "trigger-block": "发并阻止",
"trigger-loop": "重发", "trigger-loop": "周期性重发",
"reset": "重置触发节点条件 如果:", "reset": "重置触发节点条件 如果:",
"resetMessage":"msg.reset 已设置", "resetMessage":"msg.reset已设置",
"resetPayload":"msg.payload 等于", "resetPayload":"msg.payload等于",
"resetprompt": "可选填" "resetprompt": "可选填"
} }
}, },
@ -292,7 +302,7 @@
"title": "标题", "title": "标题",
"body": "主体" "body": "主体"
}, },
"tip": "提示: 主题内容可以添加格式化为 <a href=\"https://help.github.com/articles/markdown-basics/\" target=\"_blank\">Github 风格 Markdown</a>" "tip": "提示: 主题内容可格式化为 <a href=\"https://help.github.com/articles/markdown-basics/\" target=\"_blank\">Github风格的Markdown</a>"
}, },
"unknown": { "unknown": {
"label": { "label": {
@ -307,24 +317,24 @@
"qos": "QoS", "qos": "QoS",
"clientid": "客户端ID", "clientid": "客户端ID",
"port": "端口", "port": "端口",
"keepalive": "存货定时器(秒)", "keepalive": "Keepalive计时(秒)",
"cleansession": "使用新的会话", "cleansession": "使用新的会话",
"use-tls": "使用安全连接 (SSL/TLS)", "use-tls": "使用安全连接 (SSL/TLS)",
"tls-config":"TLS 设置", "tls-config":"TLS 设置",
"verify-server-cert":"验证服务器证书", "verify-server-cert":"验证服务器证书",
"compatmode": "使用旧式 MQTT 3.1 支持" "compatmode": "使用旧式MQTT 3.1支持"
}, },
"tabs-label": { "tabs-label": {
"connection": "连接", "connection": "连接",
"security": "安全", "security": "安全",
"will": "终结信息", "will": "Will信息",
"birth": "初始信息" "birth": "Birth信息"
}, },
"placeholder": { "placeholder": {
"clientid": "留空白将会自动生成", "clientid": "留白则自动生成",
"clientid-nonclean":"如非新会话必须设置客户端ID", "clientid-nonclean":"如非新会话必须设置客户端ID",
"will-topic": "留空白将禁止终止信息", "will-topic": "留白将禁止Will信息",
"birth-topic": "留空白将禁止初始信息" "birth-topic": "留白将禁止Birth信息"
}, },
"state": { "state": {
"connected": "已连接到服务端: __broker__", "connected": "已连接到服务端: __broker__",
@ -334,7 +344,7 @@
"retain": "保留", "retain": "保留",
"true": "是", "true": "是",
"false": "否", "false": "否",
"tip": "提示: 如果你想用msg属性来设置主题qos 或者是否保存,请将这几个区域留空", "tip": "提示: 若希望通过msg属性对topic(信息), qos及retain(保留)进行设置, 则将上述项留白",
"errors": { "errors": {
"not-defined": "主题未设置", "not-defined": "主题未设置",
"missing-config": "未设置服务端", "missing-config": "未设置服务端",
@ -344,13 +354,13 @@
}, },
"httpin": { "httpin": {
"label": { "label": {
"method": "方法", "method": "请求方式",
"url": "URL", "url": "URL",
"doc": "文档", "doc": "文档",
"return": "返回", "return": "返回",
"upload": "接受文件上传?", "upload": "接受文件上传?",
"status": "状态码", "status": "状态码",
"headers": "头子段", "headers": "Header",
"other": "其他" "other": "其他"
}, },
"setby": "- 用 msg.method 设定 -", "setby": "- 用 msg.method 设定 -",
@ -358,21 +368,21 @@
"use-tls": "使用安全连接 (SSL/TLS) ", "use-tls": "使用安全连接 (SSL/TLS) ",
"tls-config":"TLS 设置", "tls-config":"TLS 设置",
"utf8": "UTF-8 字符串", "utf8": "UTF-8 字符串",
"binary": "二进制缓冲模块", "binary": "二进制数据",
"json": "解析JSON对象", "json": "JSON对象",
"tip": { "tip": {
"in": "相对URL", "in": "相对URL",
"res": "发送到此节点的消息<b>必须</b>来自 <i>http input</i> 节点", "res": "发送到此节点的消息<b>必须</b>来自<i>http input</i>节点",
"req": "提示如果JSON解析失败则获取的字符串将按原样返回." "req": "提示如果JSON解析失败则获取的字符串将按原样返回."
}, },
"httpreq": "http 请求", "httpreq": "http 请求",
"errors": { "errors": {
"not-created": "当httpNodeRoot为否时无法创建 http-in 节点", "not-created": "当httpNodeRoot为否时无法创建http-in节点",
"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传输请求"
}, },
"status": { "status": {
@ -387,13 +397,14 @@
}, },
"listenon": "监听", "listenon": "监听",
"connectto": "连接", "connectto": "连接",
"payload": "发送/接受 有效载荷", "sendrec": "发送/接受",
"message": "发送/接受 完整信息", "payload": "有效载荷",
"message": "完整信息",
"tip": { "tip": {
"path1": "默认情况下,<code> payload </code>将包含要发送或从Websocket接收的数据。侦听器可以配置为以JSON格式的字符串发送或接收整个消息对象.", "path1": "默认情况下,<code>payload</code>将包含要发送或从Websocket接收的数据。侦听器可以配置为以JSON格式的字符串发送或接收整个消息对象.",
"path2": "这条路径将相对于 ", "path2": "这条路径将相对于 ",
"url1": "URL 应该使用 ws:&#47;&#47; 或者 wss:&#47;&#47; 方案并指向现有的websocket侦听器.", "url1": "URL 应该使用ws:&#47;&#47;或者wss:&#47;&#47;方案并指向现有的websocket侦听器.",
"url2": "默认情况下,<code> payload </code>将包含要发送或从Websocket接收的数据。可以将客户端配置为以JSON格式的字符串发送或接收整个消息对象." "url2": "默认情况下,<code>payload</code> 将包含要发送或从Websocket接收的数据。可以将客户端配置为以JSON格式的字符串发送或接收整个消息对象."
}, },
"errors": { "errors": {
"connect-error": "ws连接发生了错误: ", "connect-error": "ws连接发生了错误: ",
@ -403,8 +414,8 @@
}, },
"watch": { "watch": {
"label": { "label": {
"files": "文件(s)", "files": "文件",
"recursive": "递归查看文件夹" "recursive": "递归所有子文件夹"
}, },
"placeholder": { "placeholder": {
"files": "逗号分开文件或文件夹" "files": "逗号分开文件或文件夹"
@ -416,8 +427,8 @@
"type": "类型", "type": "类型",
"output": "输出", "output": "输出",
"port": "端口", "port": "端口",
"host": "主服务器", "host": "主机地址",
"payload": "有效载荷(s)", "payload": "有效载荷",
"delimited": "分隔符号", "delimited": "分隔符号",
"close-connection": "是否在成功发送每条信息后断开连接?", "close-connection": "是否在成功发送每条信息后断开连接?",
"decode-base64": "用 Base64 解码信息?", "decode-base64": "用 Base64 解码信息?",
@ -429,19 +440,19 @@
"type": { "type": {
"listen": "监听", "listen": "监听",
"connect": "连接", "connect": "连接",
"reply": "回应到 TCP" "reply": "响应 TCP"
}, },
"output": { "output": {
"stream": "字串流", "stream": "字串流",
"single": "单一", "single": "单一",
"buffer": "缓冲模块", "buffer": "Buffer",
"string": "字符串", "string": "字符串",
"base64": "Base64 字符串" "base64": "Base64 字符串"
}, },
"return": { "return": {
"timeout": "在固定时间超时后", "timeout": "指定时间后",
"character": "当收到某个字符", "character": "当收到某个字符",
"number": "固定数目的字符", "number": "指定字符数",
"never": "永不 - 保持连接", "never": "永不 - 保持连接",
"immed": "马上 - 不需要等待回复" "immed": "马上 - 不需要等待回复"
}, },
@ -452,8 +463,8 @@
"stopped-listening": "已停止监听端口", "stopped-listening": "已停止监听端口",
"connection-from": "连接来自 __host__:__port__", "connection-from": "连接来自 __host__:__port__",
"connection-closed": "连接已关闭 __host__:__port__", "connection-closed": "连接已关闭 __host__:__port__",
"connections": "__count__ 连接", "connections": "__count__ 连接",
"connections_plural": "__count__ 连接" "connections_plural": "__count__ 连接"
}, },
"errors": { "errors": {
@ -463,7 +474,7 @@
"error": "错误: __error__", "error": "错误: __error__",
"socket-error": "套接字连接错误来自 __host__:__port__", "socket-error": "套接字连接错误来自 __host__:__port__",
"no-host": "主服务器和/或者端口未设定", "no-host": "主机地址或端口未设定",
"connect-timeout": "连接超时", "connect-timeout": "连接超时",
"connect-fail": "连接失败" "connect-fail": "连接失败"
} }
@ -476,23 +487,23 @@
"output": "输出", "output": "输出",
"group": "组", "group": "组",
"interface": "本地IP", "interface": "本地IP",
"interfaceprompt": "(可选)本地 IP 绑定到", "interfaceprompt": "(可选)本地 IP 绑定到",
"send": "发送一个", "send": "发送一个",
"toport": "到端口", "toport": "到端口",
"address": "地址", "address": "地址",
"decode-base64": "是否解码编码为Base64的信息?" "decode-base64": "是否解码Base64编码的信息?"
}, },
"placeholder": { "placeholder": {
"interface": "(可选eth0 的 ip 地址", "interface": "(可选eth0的IP地址",
"address": "目的地 ip 地址" "address": "目标IP地址"
}, },
"udpmsgs": "udp 信息", "udpmsgs": "udp信息",
"mcmsgs": "组播信息", "mcmsgs": "组播信息",
"udpmsg": "udp 信息", "udpmsg": "udp信息",
"bcmsg": "广播信息", "bcmsg": "广播信息",
"mcmsg": "组播信息", "mcmsg": "组播信息",
"output": { "output": {
"buffer": "缓冲模块", "buffer": "Buffer",
"string": "字符串", "string": "字符串",
"base64": "Base64编码字符串" "base64": "Base64编码字符串"
}, },
@ -503,8 +514,8 @@
}, },
"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": {
"listener-at": "udp 监听器正在监听 __host__:__port__", "listener-at": "udp 监听器正在监听 __host__:__port__",
@ -520,66 +531,72 @@
"access-error": "UDP 访问错误, 你可能需要root权限才能接入1024以下的端口", "access-error": "UDP 访问错误, 你可能需要root权限才能接入1024以下的端口",
"error": "错误: __error__", "error": "错误: __error__",
"bad-mcaddress": "无效的组播地址", "bad-mcaddress": "无效的组播地址",
"interface": "必须是需要接口的 ip 地址", "interface": "必须是指定接口的IP地址",
"ip-notset": "udp: ip 地址未设定", "ip-notset": "udp: IP地址未设定",
"port-notset": "udp: 端口未设定", "port-notset": "udp: 端口未设定",
"port-invalid": "udp: 无效端口号码", "port-invalid": "udp: 无效端口号码",
"alreadyused": "udp: 端口已经在使用" "alreadyused": "udp: 端口已被占用"
} }
}, },
"switch": { "switch": {
"label": { "label": {
"property": "属性", "property": "属性",
"rule": "规矩" "rule": "规则",
"repair" : "重建信息队列"
}, },
"and": "", "and": "",
"checkall": "全选所有规则", "checkall": "全选所有规则",
"stopfirst": "接受第一条匹配信息后停止", "stopfirst": "接受第一条匹配信息后停止",
"ignorecase": "忽大小写", "ignorecase": "忽大小写",
"rules": { "rules": {
"btwn":"在之间", "btwn":"在之间",
"cont":"包含", "cont":"包含",
"regex":"匹配正则表达式", "regex":"匹配正则表达式",
"true":"为真", "true":"为真",
"false":"为假", "false":"为假",
"null":"为空值", "null":"为空",
"nnull":"非空值", "nnull":"非空",
"head":"head",
"tail":"tail",
"index":"index between",
"exp":"JSONata表达式",
"else":"除此以外" "else":"除此以外"
}, },
"errors": { "errors": {
"invalid-expr": "无效 JSONata 表达: __error__" "invalid-expr": "无效的JSONata表达式: __error__",
"too-many" : "Switch节点中有太多待定信息"
} }
}, },
"change": { "change": {
"label": { "label": {
"rules": "规", "rules": "规",
"rule": "规", "rule": "规",
"set": "设定 __property__", "set": "设定 __property__",
"change": " __property__", "change": "改 __property__",
"delete": "删除 __property__", "delete": "删除 __property__",
"move": "移动 __property__", "move": "移动 __property__",
"changeCount": ": __count__ 条规矩", "changeCount": "改: __count__条规矩",
"regex": "用正则表达式" "regex": "使用正则表达式"
}, },
"action": { "action": {
"set": "设定", "set": "设定",
"change": "改", "change": "改",
"delete": "删除", "delete": "删除",
"move": "转移", "move": "转移",
"to": "到", "to": "到",
"search": "搜索", "search": "搜索",
"replace": "更改为" "replace": "替代为"
}, },
"errors": { "errors": {
"invalid-from": "无效来源 from 属性: __error__", "invalid-from": "无效的'from'属性: __error__",
"invalid-json": "无效 to 属性", "invalid-json": "无效的'to'JSON 属性",
"invalid-expr": "无效 JSONata 表示: __error__" "invalid-expr": "无效的JSONata表达式: __error__"
} }
}, },
"range": { "range": {
"label": { "label": {
"action": "行为作用", "action": "操作",
"inputrange": "映射输入数据范围", "inputrange": "映射输入数据",
"resultrange": "至目标范围", "resultrange": "至目标范围",
"from": "从", "from": "从",
"to": "到", "to": "到",
@ -591,26 +608,28 @@
"maxout": "e.g. 255" "maxout": "e.g. 255"
}, },
"scale": { "scale": {
"payload": "按比例 msg.payload", "payload": "按比例msg.payload",
"limit": "按比例并设定界限至目标范围", "limit": "按比例并设定界限至目标范围",
"wrap": "按比例并包含在目标范围内" "wrap": "按比例并包含在目标范围内"
}, },
"tip": "提示: 此节点仅对数字有效", "tip": "提示: 此节点仅对数字有效",
"errors": { "errors": {
"notnumber": "不是一个数" "notnumber": "不是一个数"
} }
}, },
"csv": { "csv": {
"label": { "label": {
"columns": "列", "columns": "列",
"separator": "分隔符", "separator": "分隔符",
"c2o": "CSV 至对象选项", "c2o": "CSV至对象",
"o2c": "对象至 to CSV 选项", "o2c": "对象至CSV",
"input": "输入", "input": "输入",
"skip-s": "忽略前",
"skip-e": "行",
"firstrow": "第一行包含列名", "firstrow": "第一行包含列名",
"output": "输出", "output": "输出",
"includerow": "包含列名行", "includerow": "包含列名行",
"newline": "新的一行" "newline": "换行符"
}, },
"placeholder": { "placeholder": {
"columns": "用逗号分割列名" "columns": "用逗号分割列名"
@ -625,8 +644,8 @@
"other": "其他..." "other": "其他..."
}, },
"output": { "output": {
"row": "每行包含一条信息", "row": "每行一条信息",
"array": "一条单独信息 [数组]" "array": "一条信息 [数组]"
}, },
"newline": { "newline": {
"linux": "Linux (\\n)", "linux": "Linux (\\n)",
@ -634,8 +653,8 @@
"windows": "Windows (\\r\\n)" "windows": "Windows (\\r\\n)"
}, },
"errors": { "errors": {
"csv_js": "此节点仅处理 CSV 字符串或 js 对象", "csv_js": "此节点仅处理CSV字符串或JS对象",
"obj_csv": "对象 -> CSV 转换未设定列模版" "obj_csv": "对象->CSV转换未设定列模版"
} }
}, },
"html": { "html": {
@ -644,13 +663,13 @@
"output": "输出" "output": "输出"
}, },
"output": { "output": {
"html": "选定元素的 html 内容", "html": "选定元素的html内容",
"text": "选定元素的纯文本内容", "text": "选定元素的纯文本内容",
"attr": "选定元素的所有属性对象" "attr": "包含选定元素的所有属性对象"
}, },
"format": { "format": {
"single": "由一个单独信息包含一个数组", "single": "一条信息 [数组]",
"multi": "多条信息,每包含一个元素" "multi": "多条信息,每条一个元素"
} }
}, },
"json": { "json": {
@ -660,8 +679,15 @@
"dropped-error": "转换有效负载失败" "dropped-error": "转换有效负载失败"
}, },
"label": { "label": {
"o2j": "对象至 JSON 选项", "o2j": "对象至JSON",
"pretty": "格式化 JSON 字符串" "pretty": "格式化JSON字符串",
"action": "操作",
"property": "属性",
"actions": {
"toggle": "JSON字符串与对象互转",
"str":"总是转为JSON字符串",
"obj":"总是转为JS对象"
}
} }
}, },
"yaml": { "yaml": {
@ -687,14 +713,14 @@
"gpiopin": "GPIO", "gpiopin": "GPIO",
"selectpin": "选择引脚", "selectpin": "选择引脚",
"resistor": "电阻?", "resistor": "电阻?",
"readinitial": "在部署/重时读取引脚的初始状态?", "readinitial": "在部署/重启时读取引脚的初始状态?",
"type": "类型", "type": "类型",
"initpin": "初始化引脚状态?", "initpin": "初始化引脚状态?",
"debounce": "去抖动", "debounce": "去抖动",
"freq": "频率", "freq": "频率",
"button": "按钮", "button": "按钮",
"pimouse": "Pi 鼠标", "pimouse": "Pi鼠标",
"pikeyboard": "Pi 键盘", "pikeyboard": "Pi键盘",
"left": "左", "left": "左",
"right": "右", "right": "右",
"middle": "中" "middle": "中"
@ -705,21 +731,21 @@
"pulldown": "下拉电阻" "pulldown": "下拉电阻"
}, },
"digout": "数字输出", "digout": "数字输出",
"pwmout": "PWM 输出", "pwmout": "PWM输出",
"servo": "伺服输出", "servo": "伺服输出",
"initpin0": "初始引脚电平 - 低 (0)", "initpin0": "初始引脚电平 - 低(0)",
"initpin1": "初始引脚电平 - 高 (1)", "initpin1": "初始引脚电平 - 高(1)",
"left": "左", "left": "左",
"right": "右", "right": "右",
"middle": "中", "middle": "中",
"any": "任何", "any": "任何",
"pinname": "引脚", "pinname": "引脚",
"alreadyuse": "已经在用", "alreadyuse": "已被使用",
"alreadyset": "已经设定为", "alreadyset": "已被设为",
"tip": { "tip": {
"pin": "<b>引脚在使用</b>: ", "pin": "<b>正在使用引脚</b>: ",
"in": "提示: 仅接受数字输入 - 输出必须为 0 1.", "in": "提示: 仅接受数字输入 - 输出必须为0或1.",
"dig": "提示: 如用数字输出 - 输入必须为 0 1.", "dig": "提示: 如用数字输出 - 输入必须为0或1.",
"pwm": "提示: 如用PWM输出 - 输入必须为0至100之间; 如用高频率可能会比预期占用更多CPU资源.", "pwm": "提示: 如用PWM输出 - 输入必须为0至100之间; 如用高频率可能会比预期占用更多CPU资源.",
"ser": "<b>提示</b>: 如用伺服输出 - 输入必须为0至100之间. 50为中间值." "ser": "<b>提示</b>: 如用伺服输出 - 输入必须为0至100之间. 50为中间值."
}, },
@ -728,7 +754,7 @@
"input": "输入", "input": "输入",
"pullup": "含有上拉电阻的输入", "pullup": "含有上拉电阻的输入",
"pulldown": "含有下拉电阻的输入", "pulldown": "含有下拉电阻的输入",
"pwmout": "PWM 输出", "pwmout": "PWM输出",
"servo": "伺服输出" "servo": "伺服输出"
}, },
"status": { "status": {
@ -740,27 +766,27 @@
"ignorenode": "忽略树莓派的特定节点", "ignorenode": "忽略树莓派的特定节点",
"version": "版本命令失败", "version": "版本命令失败",
"sawpitype": "查看Pi类型", "sawpitype": "查看Pi类型",
"libnotfound": "找不到树莓派 RPi.GPIO python库", "libnotfound": "找不到树莓派RPi.GPIO的python库",
"alreadyset": "GPIO 引脚 __pin__ 已经被设定为类型: __type__", "alreadyset": "GPIO引脚 __pin__ 已经被设定为类型: __type__",
"invalidpin": "无效 GPIO 引脚", "invalidpin": "无效GPIO引脚",
"invalidinput": "无效输入", "invalidinput": "无效输入",
"needtobeexecutable": "__command__ 需要为可运行命令", "needtobeexecutable": "__command__为可运行命令",
"mustbeexecutable": "nrgpio 需要为可运行", "mustbeexecutable": "nrgpio为可运行",
"commandnotfound": "nrgpio 命令不存在", "commandnotfound": "nrgpio命令不存在",
"commandnotexecutable": "nrgpio 命令无法运行", "commandnotexecutable": "nrgpio命令不可运行",
"error": "错误: __error__", "error": "错误: __error__",
"pythoncommandnotfound": "nrpgio python 命令不运行" "pythoncommandnotfound": "nrpgio python命令未处于运行状态"
} }
}, },
"tail": { "tail": {
"label": { "label": {
"filename": "文件名", "filename": "文件名",
"type": "文件类型", "type": "文件类型",
"splitlines": "拆分线 \\n?" "splitlines": "以\\n来拆分行?"
}, },
"action": { "action": {
"text": "文本 - 返回字符串", "text": "文本 - 返回字符串",
"binary": "二进制 - 返回缓冲区" "binary": "二进制 - 返回Buffer"
}, },
"errors": { "errors": {
"windowsnotsupport": "Windows目前不支持." "windowsnotsupport": "Windows目前不支持."
@ -770,7 +796,7 @@
"label": { "label": {
"filename": "文件名", "filename": "文件名",
"action": "行为", "action": "行为",
"addnewline": "向每个有效载荷添加换行符(\\ n?", "addnewline": "向每个有效载荷添加换行符(\\n?",
"createdir": "创建目录(如果不存在)?", "createdir": "创建目录(如果不存在)?",
"outputas": "输出", "outputas": "输出",
"breakchunks": "分拆成块", "breakchunks": "分拆成块",
@ -781,14 +807,14 @@
}, },
"action": { "action": {
"append": "追加至文件", "append": "追加至文件",
"overwrite": "写文件", "overwrite": "写文件",
"delete": "删除文件" "delete": "删除文件"
}, },
"output": { "output": {
"utf8": "一条单独 utf8 字符串", "utf8": "一个utf8字符串",
"buffer": "一条单独缓冲区对象", "buffer": "一个Buffer对象",
"lines": "每行一条信息", "lines": "每行一条信息",
"stream": "缓冲区流" "stream": "一个Buffer流"
}, },
"status": { "status": {
"wrotefile": "写入至文件: __file__", "wrotefile": "写入至文件: __file__",
@ -806,41 +832,99 @@
"tip": "提示: 文件名应该是绝对路径否则它将相对于Node-RED进程的工作目录。" "tip": "提示: 文件名应该是绝对路径否则它将相对于Node-RED进程的工作目录。"
}, },
"split": { "split": {
"intro":"<code>msg.payload</code> 基于类型:", "intro":"基于以下类型拆分<code>msg.payload</code>:",
"object":"<b>对象</b>", "object":"<b>对象</b>",
"objectSend":"发送每个键/值对的消息", "objectSend":"每个键值对作为单个消息发送",
"strBuff":"<b>字符串</b> / <b>缓冲区</b>", "strBuff":"<b>字符串</b> / <b>Buffer</b>",
"array":"<b>数组</b>", "array":"<b>数组</b>",
"splitUsing":"拆分使用", "splitUsing":"拆分使用",
"splitLength":"固定长度", "splitLength":"固定长度",
"stream":"处理为消息流", "stream":"作为消息流处理",
"addname":" 复制键到 " "addname":" 复制键到 "
}, },
"join":{ "join":{
"mode":{ "mode":{
"mode":"模式", "mode":"模式",
"auto":"自动", "auto":"自动",
"merge":"合并序列",
"reduce":"缩减序列",
"custom":"手动" "custom":"手动"
}, },
"combine":"合每个", "combine":"每个",
"create":"创建输出", "create":"输出",
"type":{ "type":{
"string":"字符串", "string":"字符串",
"array":"数组", "array":"数组",
"buffer":"缓冲区", "buffer":"Buffer",
"object":"键/值对象", "object":"键对象",
"merged":"合并对象" "merged":"合并对象"
}, },
"using":"使用值", "using":"使用值",
"key":"作键", "key":"键",
"joinedUsing":"合并符号", "joinedUsing":"合并符号",
"send":"发送信息:", "send":"发送信息:",
"afterCount":"当达到一定数目的信息部件时", "afterCount":"达到一定数量的信息时",
"count":"数", "count":"数",
"subsequent":"和每个后续的消息", "subsequent":"和每个后续的消息",
"afterTimeout":"第一条消息的超时后", "afterTimeout":"第一条消息的若干时间后",
"seconds":"秒", "seconds":"秒",
"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节点中有太多待定信息",
"merge": {
"topics-label":"合并主题",
"topics":"主题",
"topic" : "主题",
"on-change":"当收到一个新主题时发送已合并信息"
},
"reduce": {
"exp": "Reduce表达式",
"exp-value": "exp",
"init": "初始值",
"right": "反向求值(从后往前)",
"fixup": "Fix-up exp"
},
"errors": {
"invalid-expr": "无效的JSONata表达式: __error__"
}
},
"sort" : {
"target" : "排序属性",
"seq" : "信息队列",
"key" : "键值",
"elem" : "元素值",
"order" : "顺序",
"ascending" : "升序",
"descending" : "降序",
"as-number" : "作为数值",
"invalid-exp" : "sort节点中存在无效的JSONata表达式",
"too-many" : "sort节点中有太多待定信息",
"clear" : "清空sort节点中的待定信息"
},
"batch" : {
"mode": {
"label" : "模式",
"num-msgs" : "按指定数量分组",
"interval" : "按时间间隔分组",
"concat" : "按主题分组"
},
"count": {
"label" : "分组数量",
"overlap" : "队末队首重叠数量",
"count" : "数量",
"invalid" : "无效的分组数量或重叠数量"
},
"interval": {
"label" : "时间间隔",
"seconds" : "秒",
"empty" : "无数据到达时发送空信息"
},
"concat": {
"topics-label": "主题",
"topic" : "主题"
},
"too-many" : "batch节点中有太多待定信息",
"unexpected" : "未知模式",
"no-parts" : "信息中没有parts属性"
} }
} }

View File

@ -239,7 +239,7 @@
"managePalette": "管理面板" "managePalette": "管理面板"
}, },
"library": { "library": {
"openLibrary": "打开库...", "openLibrary": "打开库...",
"saveToLibrary": "保存到库...", "saveToLibrary": "保存到库...",
"typeLibrary": "__type__类型库", "typeLibrary": "__type__类型库",
"unnamedType": "无名__type__", "unnamedType": "无名__type__",