From 13a59a882edf56a148142a9a45d618c1a308432a Mon Sep 17 00:00:00 2001 From: JIYE YU Date: Thu, 25 Jun 2020 18:31:36 +0900 Subject: [PATCH 1/3] update zh-CN translation for editor-client --- .../editor-client/locales/zh-CN/editor.json | 207 +++++++++++------- .../editor-client/locales/zh-CN/jsonata.json | 100 +++++---- 2 files changed, 185 insertions(+), 122 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json index 95d3fa5ee..3da4a5822 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json @@ -14,7 +14,15 @@ "back": "后退", "next": "下一个", "clone": "克隆项目", - "cont": "继续" + "cont": "继续", + "style": "风格", + "line": "大纲", + "fill": "填充", + "label": "标签", + "color": "颜色", + "position": "位置", + "enable": "启用", + "disable": "禁用" }, "type": { "string": "字符串", @@ -28,11 +36,18 @@ "null": "空" } }, + "event": { + "loadPalette": "加载控制板", + "loadNodeCatalogs": "加载节点目录", + "loadNodes": "加载 __count__ 个节点", + "loadFlows": "加载流程", + "importFlows": "往工作区中加载流程" + }, "workspace": { - "defaultName": "流程__number__", + "defaultName": "流程 __number__", "editFlow": "编辑流程: __name__", "confirmDelete": "确认删除", - "delete": "你确定想删除 '__label__'?", + "delete": "你确定要删除 __label__ ?", "dropFlowHere": "把流程放到这里", "addFlow": "添加流程", "listFlows": "流程一览", @@ -91,7 +106,12 @@ "projects-new": "新建", "projects-open": "打开", "projects-settings": "项目设定", - "showNodeLabelDefault": "显示新添加的节点的标签" + "showNodeLabelDefault": "显示新添加的节点的标签", + "groups": "组", + "groupSelection": "选择组", + "ungroupSelection": "取消选择组", + "groupMergeSelection": "合并选择", + "groupRemoveSelection": "从组中移除" } }, "actions": { @@ -101,7 +121,7 @@ "zoom-in": "放大" }, "user": { - "loggedInAs": "作为__name__登陆", + "loggedInAs": "作为 __name__ 登陆", "username": "账号", "password": "密码", "login": "登陆", @@ -127,13 +147,13 @@ "missing_flow_file": "

找不到项目流程文件。

该项目未配置流程文件。

", "missing_package_file": "

找不到项目包文件。

项目缺少package.json文件。

", "project_empty": "

该项目为空。

是否要创建一组默认的项目文件?
否则,您将必须在编辑器外部手动将文件添加到项目中。

", - "project_not_found": "

未找到项目'__project__'。

", + "project_not_found": "

未找到项目 __project__ 。

", "git_merge_conflict": "

自动合并更改失败。

修复未合并的冲突,然后提交结果。

" }, "error": "错误: __message__", "errors": { "lostConnection": "丢失与服务器的连接,重新连接...", - "lostConnectionReconnect": "丢失与服务器的连接,__time__秒后重新连接", + "lostConnectionReconnect": "丢失与服务器的连接, __time__ 秒后重新连接", "lostConnectionTry": "现在尝试", "cannotAddSubflowToItself": "无法向其自身添加子流程", "cannotAddCircularReference": "无法添加子流程 - 循环引用", @@ -167,14 +187,16 @@ "clipboard": { "clipboard": "剪贴板", "nodes": "节点", - "node": "__count__节点", - "node_plural": "__count__节点", - "configNode": "__count__配置节点", - "configNode_plural": "__count__配置节点", - "flow": "__count__流程", - "flow_plural": "__count__流程", - "subflow": "__count__子流程", - "subflow_plural": "__count__子流程", + "node": "__count__ 个节点", + "node_plural": "__count__ 个节点", + "configNode": "__count__ 个配置节点", + "configNode_plural": "__count__ 个配置节点", + "group": "__count__ 个组", + "group_plural": "__count__ 个组", + "flow": "__count__ 个流程", + "flow_plural": "__count__ 个流程", + "subflow": "__count__ 个子流程", + "subflow_plural": "__count__ 子流程", "pasteNodes": "在这里粘贴节点", "selectFile": "选择要导入的文件", "importNodes": "导入节点", @@ -184,8 +206,11 @@ "importUnrecognised_plural": "导入了无法识别的类型:", "nodesExported": "节点导出到了剪贴板", "nodesImported": "导入:", - "nodeCopied": "已复制__count__个节点", - "nodeCopied_plural": "已复制__count__个节点", + "nodeCopied": "已复制 __count__ 个节点", + "nodeCopied_plural": "已复制 __count__ 个节点", + "groupCopied": "复制 __count__ 个组", + "groupCopied_plural": "已复制 __count__ 个groups", + "groupStyleCopied": "已复制组风格", "invalidFlow": "无效的流程: __message__", "export": { "selected": "已选择的节点", @@ -204,9 +229,9 @@ "newFlow": "新流程", "errors": { "notArray": "输入的不是JSON数组", - "itemNotObject": "输入的流无效 - 项目__index__不是节点对象", + "itemNotObject": "输入的流无效 - 项目 __index__ 不是节点对象", "missingId": "输入的流无效-项 __index__ 缺少'id'属性", - "missingType": "输入的流程无效-项__index__缺少'类型'属性" + "missingType": "输入的流程无效-项 __index__ 缺少'类型'属性" } }, "copyMessagePath": "已复制路径", @@ -250,7 +275,7 @@ "conflictChecking": "检查是否可以自动合并更改", "conflictAutoMerge": "此更改不包括冲突,可以自动合并", "conflictManualMerge": "这些更改包括了在部署之前必须解决的冲突。", - "plusNMore": "+ __count__更多" + "plusNMore": "+ __count__ 更多" } }, "eventLog": { @@ -287,11 +312,11 @@ "newVersionError": "新版本不包含有效的JSON:" }, "subflow": { - "editSubflowInstance": "编辑子流实例:__name__", - "editSubflow": "编辑流程模板: __name__", + "editSubflowInstance": "编辑子流实例: __name__", + "editSubflow": "编辑流程模板: __name__", "edit": "编辑流程模板", - "subflowInstances": "这个子流程模板有__count__个实例", - "subflowInstances_plural": "这个子流程模板有__count__个实例", + "subflowInstances": "这个子流程模板有 __count__ 个实例", + "subflowInstances_plural": "这个子流程模板有 __count__ 个实例", "editSubflowProperties": "编辑属性", "input": "输入:", "output": "输出:", @@ -308,17 +333,24 @@ "multipleInputsToSelection": "无法创建子流程: 多个输入到了选择" } }, + "group": { + "editGroup": "编辑组: __name__", + "errors": { + "cannotCreateDiffGroups": "无法使用来自不同组的节点创建组", + "cannotAddSubflowPorts": "无法将子流程的端口添加到组" + } + }, "editor": { "configEdit": "编辑", "configAdd": "添加", "configUpdate": "更新", "configDelete": "删除", - "nodesUse": "__count__个节点使用此配置", - "nodesUse_plural": "__count__个节点使用此配置", - "addNewConfig": "添加新的__type__配置", - "editNode": "编辑__type__节点", - "editConfig": "编辑__type__配置", - "addNewType": "添加新的__type__节点", + "nodesUse": "__count__ 个节点使用此配置", + "nodesUse_plural": "__count__ 个节点使用此配置", + "addNewConfig": "添加新的 __type__ 配置", + "editNode": "编辑 __type__ 节点", + "editConfig": "编辑 __type__ 配置", + "addNewType": "添加新的 __type__ 节点", "nodeProperties": "节点属性", "label": "标签", "color": "颜色", @@ -337,6 +369,7 @@ "locale": "选择界面语言", "icon": "图标", "inputType": "输入类型", + "selectType": "选择类型...", "inputs": { "input": "输入", "select": "选择", @@ -351,7 +384,8 @@ "bool": "布尔", "json": "JSON", "bin": "buffer", - "env": "环境变量" + "env": "环境变量", + "cred": "证书" }, "menu": { "input": "输入", @@ -381,7 +415,7 @@ "scope": "范围", "unassigned": "未分配", "global": "全局", - "workspace": "工作组", + "workspace": "工作区", "selectAll": "选择所有节点", "selectAllConnected": "选择所有连接的节点", "addRemoveNode": "从选择中添加/删除节点", @@ -460,33 +494,33 @@ "times": { "seconds": "秒前", "minutes": "分前", - "minutesV": "__count__分前", - "hoursV": "__count__小时前", - "hoursV_plural": "__count__小时前", - "daysV": "__count__天前", - "daysV_plural": "__count__天前", - "weeksV": "__count__周前", - "weeksV_plural": "__count__周前", - "monthsV": "__count__月前", - "monthsV_plural": "__count__月前", - "yearsV": "__count__年前", - "yearsV_plural": "__count__年前", - "yearMonthsV": "__y__年, __count__月前", - "yearMonthsV_plural": "__y__年, __count__月前", - "yearsMonthsV": "__y__年, __count__月前", - "yearsMonthsV_plural": "__y__年, __count__月前" + "minutesV": "__count__ 分前", + "hoursV": "__count__ 小时前", + "hoursV_plural": "__count__ 小时前", + "daysV": "__count__ 天前", + "daysV_plural": "__count__ 天前", + "weeksV": "__count__ 周前", + "weeksV_plural": "__count__ 周前", + "monthsV": "__count__ 月前", + "monthsV_plural": "__count__ 月前", + "yearsV": "__count__ 年前", + "yearsV_plural": "__count__ 年前", + "yearMonthsV": "__y__ 年, __count__ 月前", + "yearMonthsV_plural": "__y__ 年, __count__ 月前", + "yearsMonthsV": "__y__ 年, __count__ 月前", + "yearsMonthsV_plural": "__y__ 年, __count__ 月前" }, - "nodeCount": "__label__个节点", - "nodeCount_plural": "__label__个节点", - "moduleCount": "__count__个可用模块", - "moduleCount_plural": "__count__个可用模块", + "nodeCount": "__label__ 个节点", + "nodeCount_plural": "__label__ 个节点", + "moduleCount": "__count__ 个可用模块", + "moduleCount_plural": "__count__ 个可用模块", "inuse": "使用中", "enableall": "全部启用", "disableall": "全部禁用", "enable": "启用", "disable": "禁用", "remove": "移除", - "update": "更新至__version__版本", + "update": "更新至 __version__ 版本", "updated": "已更新", "install": "安装", "installed": "已安装", @@ -498,7 +532,7 @@ "sort": "排序:", "sortAZ": "a-z顺序", "sortRecent": "日期顺序", - "more": "增加__count__个", + "more": "增加 __count__ 个", "errors": { "catalogLoadFailed": "无法加载节点目录。
查看浏览器控制台了解更多信息", "installFailed": "无法安装: __module__
__message__
查看日志了解更多信息", @@ -539,6 +573,7 @@ "label": "信息", "node": "节点", "type": "类型", + "group": "组", "module": "模组", "id": "ID", "status": "状态", @@ -560,8 +595,30 @@ "subflowDesc": "子流程描述", "nodeHelp": "节点帮助", "none": "无", - "arrayItems": "__count__个项目", - "showTips": "您可以从设置面板启用提示信息" + "arrayItems": "__count__ 个项目", + "showTips": "您可以从设置面板启用提示信息", + "outline": "大纲", + "empty": "空的", + "globalConfig": "全局配置节点", + "triggerAction": "触发动作", + "find": "在工作区中查找", + "search": { + "configNodes": "配置节点", + "unusedConfigNodes": "未使用的配置节点", + "invalidNodes": "无效的节点", + "uknownNodes": "未知的节点", + "unusedSubflows": "未使用的子流程" + } + }, + "help": { + "name": "帮助", + "label": "帮助", + "search": "搜索帮助", + "nodeHelp": "节点帮助", + "showHelp": "显示帮助", + "showInOutline": "在大纲中显示", + "showTopics": "显示主题", + "noHelp": "未选择帮助主题" }, "config": { "name": "配置节点", @@ -614,9 +671,9 @@ "removeFromProject": "从项目中删除", "addToProject": "添加到项目", "files": "文件", - "package": "包", "flow": "流程", "credentials": "证书", + "package": "包", "packageCreate": "保存更改后将创建文件", "fileNotExist": "文件不存在", "selectFile": "选择文件", @@ -628,7 +685,7 @@ "changeTheEncryptionKey": "更改加密密钥", "currentKey": "当前密钥", "newKey": "新密钥", - "credentialsAlert": "这将删除所有现有凭证", + "credentialsAlert": "这将删除所有现有证书", "versionControl": "版本控制", "branches": "分支", "noBranches": "没有分支", @@ -668,7 +725,7 @@ "copyPublicKey": "将公钥复制到剪贴板", "delete": "删除密钥", "gitConfig": "Git配置", - "deleteConfirm": "您确定要删除SSH密钥__name__吗?这不能被撤消。" + "deleteConfirm": "您确定要删除SSH密钥 __name__ 吗?这不能被撤消。" }, "versionControl": { "unstagedChanges": "未暂存的变更", @@ -722,24 +779,24 @@ "pullChanges": "拉取更改", "history": "历史", "projectHistory": "项目历史", - "daysAgo": "__count__天前", - "daysAgo_plural": "__count__天前", - "hoursAgo": "__count__小时前", - "hoursAgo_plural": "__count__小时前", - "minsAgo": "__count__分钟前", - "minsAgo_plural": "__count__分钟前", + "daysAgo": "__count__ 天前", + "daysAgo_plural": "__count__ 天前", + "hoursAgo": "__count__ 小时前", + "hoursAgo_plural": "__count__ 小时前", + "minsAgo": "__count__ 分钟前", + "minsAgo_plural": "__count__ 分钟前", "secondsAgo": "秒前", "notTracking": "您的本地分支当前未跟踪一个远程分支。", "statusUnmergedChanged": "您的仓库中有未合并的更改。您需要解决冲突并提交结果。", "repositoryUpToDate": "您的仓库是最新的。", - "commitsAhead": "您的存储库领先远程仓库__count__次提交。您现在可以推送这些提交。", - "commitsAhead_plural": "您的存储库领先远程仓库__count__次提交。您现在可以推送这些提交。", - "commitsBehind": "您的存储库落后远程仓库__count__次提交。您现在可以拉取这些提交。", - "commitsBehind_plural": "您的存储库落后远程仓库__count__次提交。您现在可以拉取这些提交。", - "commitsAheadAndBehind1": "您的存储库落后远程仓库__count__次提交", - "commitsAheadAndBehind1_plural": "您的存储库落后远程仓库__count__次提交", - "commitsAheadAndBehind2": "领先远程仓库__count__次提交。", - "commitsAheadAndBehind2_plural": "领先远程仓库__count__次提交。", + "commitsAhead": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", + "commitsAhead_plural": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", + "commitsBehind": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", + "commitsBehind_plural": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", + "commitsAheadAndBehind1": "您的存储库落后远程仓库 __count__ 次提交", + "commitsAheadAndBehind1_plural": "您的存储库落后远程仓库 __count__ 次提交", + "commitsAheadAndBehind2": "领先远程仓库 __count__ 次提交。", + "commitsAheadAndBehind2_plural": "领先远程仓库 __count__ 次提交。", "commitsAheadAndBehind3": "您必须先拉取远程提交,然后才能进行推送。", "commitsAheadAndBehind3_plural": "您必须先拉取远程提交,然后才能进行推送。", "refreshCommitHistory": "刷新提交历史", @@ -757,7 +814,8 @@ "bin": "二进制流", "date": "时间戳", "jsonata": "表达式", - "env": "环境变量" + "env": "环境变量", + "cred": "证书" } }, "editableList": { @@ -977,7 +1035,8 @@ "passphrase": "密码短语", "retry": "重试", "update-failed": "无法更新身份验证", - "unhandled": "未处理的错误响应" + "unhandled": "未处理的错误响应", + "host-key-verify-failed": "

主机密钥验证失败。

无法验证存储库主机密钥。请更新您的known_hosts文件,然后重试。

" }, "create-branch-list": { "invalid": "无效的分支", diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json index f27ec1f51..a9e6a7b1f 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json @@ -1,15 +1,15 @@ { "$string": { "args": "arg", - "desc": "通过以下的类型转换规则将参数*arg*转换成字符串:\n\n - 字符串不转换。\n -函数转换成空的字符串。\n - JSON的值无法用数字表示所以用无限大或者NaN(非数)表示。\n - 用’JSON.stringify’函数将其他值转换成JSON字符串。" + "desc": "通过以下的类型转换规则将参数 *arg* 转换成字符串:\n\n - 字符串不转换。\n -函数转换成空的字符串。\n - JSON的值无法用数字表示所以用无限大或者NaN(非数)表示。\n - 用 `JSON.stringify` 函数将其他值转换成JSON字符串。" }, "$length": { "args": "str", - "desc": "输出字符串’str’的字数。如果’str’不是字符串,抛出错误。" + "desc": "输出字符串 `str` 的字数。如果 `str` 不是字符串,抛出错误。" }, "$substring": { "args": "str, start[, length]", - "desc": "输出`start`位置后的的首次出现的包括`str`的子字符串。 如果`length`被指定,那么的字符串中将只包括前`length`个文字。如果`start`是负数则输出从`str`末尾开始的`length`个文字" + "desc": "输出 `start` 位置后的的首次出现的包括 `str` 的子字符串。 如果 `length` 被指定,那么的字符串中将只包括前 `length` 个文字。如果 `start` 是负数则输出从 `str` 末尾开始的 `length` 个文字" }, "$substringBefore": { "args": "str, chars", @@ -17,11 +17,11 @@ }, "$substringAfter": { "args": "str, chars", - "desc": "输出’str’中首次出现的’chars’之后的子字符串,如果’str’中不包括’chars’则输出’str’。" + "desc": "输出 `str` 中首次出现的 `chars` 之后的子字符串,如果 `str` 中不包括 `chars` 则输出 `str` 。" }, "$uppercase": { "args": "str", - "desc": "`将’str’中的所有字母变为大写后输出。" + "desc": "将 `str` 中的所有字母变为大写后输出。" }, "$lowercase": { "args": "str", @@ -29,27 +29,27 @@ }, "$trim": { "args": "str", - "desc": "将以下步骤应用于`str`来去除所有空白文字并实现标准化。\n\n – 将全部tab制表符、回车键、换行字符用空白代替。\n- 将连续的空白文字变成一个空白文字。\n- 消除开头和末尾的空白文字。\n\n如果`str`没有被指定(即在无输入参数的情况下调用本函数),将上下文的值作为`str`来使用。 如果`str` 不是字符串则抛出错误。" + "desc": "将以下步骤应用于 `str` 来去除所有空白文字并实现标准化。\n\n – 将全部tab制表符、回车键、换行字符用空白代替。\n- 将连续的空白文字变成一个空白文字。\n- 消除开头和末尾的空白文字。\n\n如果 `str` 没有被指定(即在无输入参数的情况下调用本函数),将上下文的值作为 `str` 来使用。 如果 `str` 不是字符串则抛出错误。" }, "$contains": { "args": "str, pattern", - "desc": "字符串`str` 和 `pattern`匹配的话输出`true`,不匹配的情况下输出 `false`。 不指定`str`的情况下(比如用一个参数调用本函数时)、将上下文的值作为`str`来使用。参数 `pattern`可以为字符串或正则表达。" + "desc": "字符串 `str` 和 `pattern` 匹配的话输出 `true` ,不匹配的情况下输出 `false` 。 不指定 `str` 的情况下(比如用一个参数调用本函数时)、将上下文的值作为 `str` 来使用。参数 `pattern` 可以为字符串或正则表达。" }, "$split": { "args": "str[, separator][, limit]", - "desc": "将参数`str`分解成由子字符串组成的数组。 如果`str`不是字符串抛出错误。可以省略的参数 `separator`中指定字符串`str`的分隔符。分隔符可以是文字或正则表达式。在不指定`separator`的情况下、将分隔符看作空的字符串并把`str`拆分成由单个字母组成的数组。如果`separator`不是字符串则抛出错误。在可省略的参数`limit`中指定分割后的子字符串的最大个数。超出个数的子字符串将被舍弃。如果`limit`没有被指定,`str` 将不考虑子字符串的个数而将字符串完全分隔。如果`limit`是负数则抛出错误。" + "desc": "将参数 `str` 分解成由子字符串组成的数组。 如果 `str` 不是字符串抛出错误。可以省略的参数 `separator` 中指定字符串 `str` 的分隔符。分隔符可以是文字或正则表达式。在不指定 `separator` 的情况下、将分隔符看作空的字符串并把 `str` 拆分成由单个字母组成的数组。如果 `separator` 不是字符串则抛出错误。在可省略的参数 `limit` 中指定分割后的子字符串的最大个数。超出个数的子字符串将被舍弃。如果 `limit` 没有被指定,`str` 将不考虑子字符串的个数而将字符串完全分隔。如果 `limit` 是负数则抛出错误。" }, "$join": { "args": "array[, separator]", - "desc": "用可以省略的参数 `separator`来把多个字符串连接。如果`array`不是字符串则抛出错误。 如果没有指定`separator`,则用空字符串来连接字符(即字符串之间没有`separator`)。 如果`separator`不是字符则抛出错误。" + "desc": "用可以省略的参数 `separator` 来把多个字符串连接。如果 `array` 不是字符串则抛出错误。 如果没有指定 `separator` ,则用空字符串来连接字符(即字符串之间没有 `separator` )。 如果 `separator` 不是字符则抛出错误。" }, "$match": { "args": "str, pattern [, limit]", - "desc": "对字符串`str`使用正则表达式`pattern`并输出与`str`相匹配的部分信息。" + "desc": "对字符串 `str` 使用正则表达式 `pattern` 并输出与 `str` 相匹配的部分信息。" }, "$replace": { "args": "str, pattern, replacement [, limit]", - "desc": "在字符串`str`中搜索`pattern`并用`replacement`来替换。\n\n可选参数`limit`用来指定替换次数的上限。" + "desc": "在字符串 `str` 中搜索 `pattern` 并用 `replacement` 来替换。\n\n可选参数 `limit` 用来指定替换次数的上限。" }, "$now": { "args": "", @@ -65,31 +65,31 @@ }, "$number": { "args": "arg", - "desc": "用下述的规则将参数 `arg`转换为数值。:\n\n – 数值不做转换。\n – 将字符串中合法的JSON数値表示转换成数値。\n – 其他形式的值则抛出错误。" + "desc": "用下述的规则将参数 `arg` 转换为数值。:\n\n – 数值不做转换。\n – 将字符串中合法的JSON数値表示转换成数値。\n – 其他形式的值则抛出错误。" }, "$abs": { "args": "number", - "desc": "输出参数`number`的绝对值。" + "desc": "输出参数 `number` 的绝对值。" }, "$floor": { "args": "number", - "desc": "输出比`number`的值小的最大整数。" + "desc": "输出比 `number` 的值小的最大整数。" }, "$ceil": { "args": "number", - "desc": "输出比`number`的值大的最小整数。" + "desc": "输出比 `number` 的值大的最小整数。" }, "$round": { "args": "number [, precision]", - "desc": "输出四舍五入后的参数`number`。可省略的参数 `precision`指定四舍五入后小数点下的位数。" + "desc": "输出四舍五入后的参数 `number` 。可省略的参数 `precision` 指定四舍五入后小数点下的位数。" }, "$power": { "args": "base, exponent", - "desc": "输出底数`base`的`exponent`次幂。" + "desc": "输出底数 `base` 的 `exponent` 次幂。" }, "$sqrt": { "args": "number", - "desc": "输出参数 `number`的平方根。" + "desc": "输出参数 `number` 的平方根。" }, "$random": { "args": "", @@ -97,35 +97,35 @@ }, "$millis": { "args": "", - "desc": "返回从UNIX时间 (1970年1月1日 UTC/GMT的午夜)开始到现在的毫秒数。在同一个表达式的测试中所有对`$millis()`的调用将会返回相同的值。" + "desc": "返回从UNIX时间 (1970年1月1日 UTC/GMT的午夜)开始到现在的毫秒数。在同一个表达式的测试中所有对 `$millis()` 的调用将会返回相同的值。" }, "$sum": { "args": "array", - "desc": "输出数组`array`的总和。如果`array`不是数值则抛出错误。" + "desc": "输出数组 `array` 的总和。如果 `array` 不是数值则抛出错误。" }, "$max": { "args": "array", - "desc": "输出数组`array`的最大值。如果`array`不是数值则抛出错误。" + "desc": "输出数组 `array` 的最大值。如果 `array` 不是数值则抛出错误。" }, "$min": { "args": "array", - "desc": "输出数组`array`的最小值。如果`array`不是数值则抛出错误。。" + "desc": "输出数组 `array` 的最小值。如果 `array` 不是数值则抛出错误。。" }, "$average": { "args": "array", - "desc": "输出数组`array`的平均数。如果`array`不是数值则抛出错误。。" + "desc": "输出数组 `array` 的平均数。如果 `array` 不是数值则抛出错误。。" }, "$boolean": { "args": "arg", - "desc": "用下述规则将数据转换成布尔值。:\n\n - 不转换布尔值`Boolean`。\n – 将空的字符串`string`转换为`false`\n – 将不为空的字符串`string`转换为`true`\n – 将为0的数字`number`转换成`false`\n –将不为0的数字`number`转换成`true`\n –将`null`转换成`false`\n –将空的数组`array`转换成`false`\n –如果数组`array`中含有可以转换成`true`的要素则转换成`true`\n –如果`array`中没有可转换成`true`的要素则转换成`false`\n – 空的对象`object`转换成`false`\n – 非空的对象`object`转换成`true`\n –将函数`function`转换成`false`" + "desc": "用下述规则将数据转换成布尔值。:\n\n - 不转换布尔值 `Boolean` 。\n – 将空的字符串 `string` 转换为 `false` \n – 将不为空的字符串 `string` 转换为 `true` \n – 将为0的数字 `number` 转换成 `false` \n –将不为0的数字 `number` 转换成 `true` \n –将 `null` 转换成 `false` \n –将空的数组 `array` 转换成 `false` \n –如果数组 `array` 中含有可以转换成 `true` 的要素则转换成 `true` \n –如果 `array` 中没有可转换成 `true` 的要素则转换成 `false` \n – 空的对象 `object` 转换成 `false` \n – 非空的对象 `object` 转换成 `true` \n –将函数 `function` 转换成 `false` " }, "$not": { "args": "arg", - "desc": "输出做取反运算后的布尔值。首先将`arg`转换为布尔值。" + "desc": "输出做取反运算后的布尔值。首先将 `arg` 转换为布尔值。" }, "$exists": { "args": "arg", - "desc": "如果算式`arg`的值存在则输出`true`。如果算式的值不存在(比如指向不存在区域的引用)则输出`false`。" + "desc": "如果算式 `arg` 的值存在则输出 `true` 。如果算式的值不存在(比如指向不存在区域的引用)则输出 `false` 。" }, "$count": { "args": "array", @@ -137,15 +137,15 @@ }, "$sort": { "args": "array [, function]", - "desc": "输出排序后的数组`array`。\n\n如果使用了比较函数`function`,则下述两个参数需要被指定。\n\n`function(left, right)`\n\n该比较函数是为了比较left和right两个值而被排序算法调用的。如果用户希望left的值被置于right的值之后,那么该函数必须输出布尔值`true`来表示位置交换。而在不需要位置交换时函数必须输出`false`。" + "desc": "输出排序后的数组 `array` 。\n\n如果使用了比较函数 `function` ,则下述两个参数需要被指定。\n\n `function(left, right)` \n\n该比较函数是为了比较left和right两个值而被排序算法调用的。如果用户希望left的值被置于right的值之后,那么该函数必须输出布尔值 `true` 来表示位置交换。而在不需要位置交换时函数必须输出 `false` 。" }, "$reverse": { "args": "array", - "desc": "输出倒序后的数组`array`。" + "desc": "输出倒序后的数组 `array` 。" }, "$shuffle": { "args": "array", - "desc": "输出随机排序后的数组 `array`。" + "desc": "输出随机排序后的数组 `array` 。" }, "$zip": { "args": "array, ...", @@ -157,35 +157,35 @@ }, "$lookup": { "args": "object, key", - "desc": "输出对象中与参数`key`对应的值。如果第一个参数`object`是数组,那么数组中所有的对象都将被搜索并输出这些对象中与参数`key`对应的值。" + "desc": "输出对象中与参数 `key` 对应的值。如果第一个参数 `object` 是数组,那么数组中所有的对象都将被搜索并输出这些对象中与参数 `key` 对应的值。" }, "$spread": { "args": "object", - "desc": "将对象中的键值对分隔成每个要素中只含有一个键值对的数组。如果参数`object`是数组,那么返回值的数组中包含所有对象中的键值对。" + "desc": "将对象中的键值对分隔成每个要素中只含有一个键值对的数组。如果参数 `object` 是数组,那么返回值的数组中包含所有对象中的键值对。" }, "$merge": { "args": "array<object>", - "desc": "将输入数组`objects`中所有的键值对合并到一个`object`中并返回。如果输入数组的要素中含有重复的键,则返回的`object`中将只包含数组中最后出现要素的值。如果输入数组中包括对象以外的元素,则抛出错误。" + "desc": "将输入数组 `objects` 中所有的键值对合并到一个 `object` 中并返回。如果输入数组的要素中含有重复的键,则返回的 `object` 中将只包含数组中最后出现要素的值。如果输入数组中包括对象以外的元素,则抛出错误。" }, "$sift": { "args": "object, function", - "desc": "输出参数`object`中符合`function`的键值对。\n\n`function`必须含有下述参数。\n\n`function(value [, key [, object]])`" + "desc": "输出参数 `object` 中符合 `function` 的键值对。\n\n `function` 必须含有下述参数。\n\n `function(value [, key [, object]])` " }, "$each": { "args": "object, function", - "desc": "将函数`function`应用于`object`中的所有键值对并输出由所有返回值组成的数组。" + "desc": "将函数 `function` 应用于 `object` 中的所有键值对并输出由所有返回值组成的数组。" }, "$map": { "args": "array, function", - "desc": "将函数`function`应用于数组`array`中所有的值并输出由返回值组成的数组。\n\n`function`中必须含有下述参数。\n\n`function(value [, index [, array]])`" + "desc": "将函数 `function` 应用于数组 `array` 中所有的值并输出由返回值组成的数组。\n\n `function` 中必须含有下述参数。\n\n`function(value [, index [, array]])` " }, "$filter": { "args": "array, function", - "desc": "输出数组`array`中符合函数`function`条件的值组成的数组。\n\n`function`必须包括下述参数。\n\n`function(value [, index [, array]])`" + "desc": "输出数组 `array` 中符合函数 `function` 条件的值组成的数组。\n\n `function` 必须包括下述参数。\n\n `function(value [, index [, array]])`" }, "$reduce": { "args": "array, function [, init]", - "desc": "将`function`依次应用于数组中的各要素值。 其中,前一个要素值的计算结果将参与到下一次的函数运算中。。\n\n函数`function`接受两个参数并作为中缀表示法中的操作符。\n\n可省略的参数`init`将作为运算的初始值。" + "desc": "将 `function` 依次应用于数组中的各要素值。 其中,前一个要素值的计算结果将参与到下一次的函数运算中。。\n\n函数 `function` 接受两个参数并作为中缀表示法中的操作符。\n\n可省略的参数 `init` 将作为运算的初始值。" }, "$flowContext": { "args": "string", @@ -197,7 +197,7 @@ }, "$pad": { "args": "string, width [, char]", - "desc": "根据需要,向字符串`string`的副本中填充文字使该字符串的字数达到`width`的绝对值并返回填充文字后的字符串。\n\n如果`width`的值为正,则向字符串`string`的右侧填充文字,如果`width`为负,则向字符串`string`的左侧填充文字。\n\n可选参数`char`用来指定填充的文字。如果未指定该参数,则填充空白文字。" + "desc": "根据需要,向字符串 `string` 的副本中填充文字使该字符串的字数达到 `width` 的绝对值并返回填充文字后的字符串。\n\n如果 `width` 的值为正,则向字符串 `string` 的右侧填充文字,如果 `width` 为负,则向字符串 `string` 的左侧填充文字。\n\n可选参数 `char` 用来指定填充的文字。如果未指定该参数,则填充空白文字。" }, "$fromMillis": { "args": "number", @@ -205,15 +205,15 @@ }, "$formatNumber": { "args": "number, picture [, options]", - "desc": "将`number`转换成具有`picture`所指定的数值格式的字符串。\n\n此函数的功能与XPath F&O 3.1规格中定义的XPath/XQuery函数的fn:format-number功能相一致。参数`picture`用于指定数值的转换格式,其语法与fn:format-number中的定义一致。\n\n可选的第三参数`options`用来覆盖默认的局部环境格式,如小数点分隔符。如果指定该参数,那么该参数必须是包含name/value对的对象,并且name/value对必须符合XPath F&O 3.1规格中记述的数值格式。" + "desc": "将 `number` 转换成具有 `picture` 所指定的数值格式的字符串。\n\n此函数的功能与XPath F&O 3.1规格中定义的XPath/XQuery函数的fn:format-number功能相一致。参数 `picture` 用于指定数值的转换格式,其语法与fn:format-number中的定义一致。\n\n可选的第三参数 `options` 用来覆盖默认的局部环境格式,如小数点分隔符。如果指定该参数,那么该参数必须是包含name/value对的对象,并且name/value对必须符合XPath F&O 3.1规格中记述的数值格式。" }, "$formatBase": { "args": "number [, radix]", - "desc": "将`number`变换为以参数`radix`的值为基数形式的字符串。如果不指定`radix`的值,则默认基数为10。指定的`radix`值必须在2~36之间,否则抛出错误。" + "desc": "将 `number` 变换为以参数 `radix` 的值为基数形式的字符串。如果不指定 `radix` 的值,则默认基数为10。指定的 `radix` 值必须在2~36之间,否则抛出错误。" }, "$toMillis": { "args": "timestamp", - "desc": "将ISO 8601格式的字符串`timestamp`转换为从UNIX时间 (1970年1月1日 UTC/GMT的午夜)开始到现在的毫秒数。如果该字符串的格式不正确,则抛出错误。" + "desc": "将ISO 8601格式的字符串 `timestamp` 转换为从UNIX时间 (1970年1月1日 UTC/GMT的午夜)开始到现在的毫秒数。如果该字符串的格式不正确,则抛出错误。" }, "$env": { "args": "arg", @@ -221,7 +221,7 @@ }, "$eval": { "args": "expr [, context]", - "desc": "使用当前上下文来作为评估依据,分析并评估字符串`expr`,其中包含文字JSON或JSONata表达式。" + "desc": "使用当前上下文来作为评估依据,分析并评估字符串 `expr` ,其中包含文字JSON或JSONata表达式。" }, "$formatInteger": { "args": "number, picture", @@ -233,19 +233,19 @@ }, "$error": { "args": "[str]", - "desc": "引发错误并显示一条消息。 可选的`str`将替代$error()函数评估的默认消息。" + "desc": "引发错误并显示一条消息。 可选的 `str` 将替代$error()函数评估的默认消息。" }, "$assert": { "args": "arg, str", - "desc": "如果`arg`为真,则该函数返回。 如果arg为假,则抛出带有str的异常作为异常消息。" + "desc": "如果 `arg` 为真,则该函数返回。 如果arg为假,则抛出带有str的异常作为异常消息。" }, "$single": { "args": "array, function", - "desc": "返回满足参数function谓语的array参数中的唯一值 (比如:传递值时,函数返回布尔值“true”)。如果匹配值的数量不唯一时,则抛出异常。\n\n应在以下签名中提供函数:`function(value [,index [,array []]])`其中value是数组的每个输入,index是该值的位置,整个数组作为第三个参数传递。" + "desc": "返回满足参数function谓语的array参数中的唯一值 (比如:传递值时,函数返回布尔值“true”)。如果匹配值的数量不唯一时,则抛出异常。\n\n应在以下签名中提供函数: `function(value [,index [,array []]])` 其中value是数组的每个输入,index是该值的位置,整个数组作为第三个参数传递。" }, "$encodeUrl": { "args": "str", - "desc": "通过用表示字符的UTF-8编码的一个,两个,三个或四个转义序列替换某些字符的每个实例,对统一资源定位符(URL)组件进行编码。\n\n示例:`$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`" + "desc": "通过用表示字符的UTF-8编码的一个,两个,三个或四个转义序列替换某些字符的每个实例,对统一资源定位符(URL)组件进行编码。\n\n示例: `$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`" }, "$encodeUrlComponent": { "args": "str", @@ -261,10 +261,14 @@ }, "$distinct": { "args": "array", - "desc": "返回一个数组,其中重复的值已从`数组`中删除" + "desc": "返回一个数组,其中重复的值已从 `数组` 中删除" }, "$type": { "args": "value", - "desc": "以字符串形式返回`值`的类型。 如果该`值`未定义,则将返回`未定义`" + "desc": "以字符串形式返回 `值` 的类型。 如果该 `值` 未定义,则将返回 `未定义` " + }, + "$moment": { + "args": "[str]", + "desc": "使用Moment库获取日期对象。" } } From 1137cd5ca54709a396dc0b89021aa6cf3056b528 Mon Sep 17 00:00:00 2001 From: JIYE YU Date: Thu, 25 Jun 2020 19:41:33 +0900 Subject: [PATCH 2/3] update zh-CN translation for nodes information --- .../nodes/locales/zh-CN/messages.json | 279 ++++++++++-------- 1 file changed, 149 insertions(+), 130 deletions(-) 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属性" } } From a7fa2cf0c937e7d9c5da7b2f2e3415c2f80b567b Mon Sep 17 00:00:00 2001 From: JIYE YU Date: Fri, 26 Jun 2020 10:40:17 +0900 Subject: [PATCH 3/3] update zh-TW translation for release-1.1.0 --- .../editor-client/locales/zh-TW/editor.json | 205 +++++++++++------- .../editor-client/locales/zh-TW/jsonata.json | 4 + .../nodes/locales/zh-TW/messages.json | 47 ++-- 3 files changed, 170 insertions(+), 86 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json b/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json index 897599bc7..644d28b12 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json @@ -14,7 +14,15 @@ "back": "返回", "next": "下一步", "clone": "複製專案", - "cont": "Continue" + "cont": "繼續", + "style": "風格", + "line": "大綱", + "fill": "填充", + "label": "標籤", + "color": "顏色", + "position": "位置", + "enable": "啟用", + "disable": "禁用" }, "type": { "string": "字符串", @@ -28,6 +36,13 @@ "null": "空" } }, + "event": { + "loadPalette": "加載控制板", + "loadNodeCatalogs": "加載節點目錄", + "loadNodes": "加載 __count__ 個節點", + "loadFlows": "加載流程", + "importFlows": "往工作區中加載流程" + }, "workspace": { "defaultName": "流程__number__", "editFlow": "編輯流程: __name__", @@ -91,7 +106,12 @@ "projects-new": "新專案", "projects-open": "開啟專案", "projects-settings": "專案設定", - "showNodeLabelDefault": "顯示新添加節點的標籤" + "showNodeLabelDefault": "顯示新添加節點的標籤", + "groups": "組", + "groupSelection": "選擇組", + "ungroupSelection": "取消選擇組", + "groupMergeSelection": "合并選擇", + "groupRemoveSelection": "從組中移除" } }, "actions": { @@ -101,7 +121,7 @@ "zoom-in": "放大" }, "user": { - "loggedInAs": "作為__name__登入", + "loggedInAs": "作為 __name__ 登入", "username": "帳號", "password": "密碼", "login": "登入", @@ -133,7 +153,7 @@ "error": "Error: __message__", "errors": { "lostConnection": "丟失與伺服器的連接,重新連接...", - "lostConnectionReconnect": "丟失與伺服器的連接,__time__秒後重新連接", + "lostConnectionReconnect": "丟失與伺服器的連接,__time__ 秒後重新連接", "lostConnectionTry": "現在嘗試", "cannotAddSubflowToItself": "無法向其自身添加子流程", "cannotAddCircularReference": "無法添加子流程 - 迴圈引用", @@ -146,7 +166,7 @@ "loaded": "已加載項目'__project__'", "updated": "已更新項目'__project__'", "pull": "已重新加載項目'__project__'", - "revert": "項目“__project__”已還原", + "revert": "項目'__project__'已還原", "merge-complete": "Git合併完成", "setupCredentials": "設定證書", "setupProjectFiles": "設置項目文件", @@ -171,6 +191,8 @@ "node_plural": "__count__ 多個節點", "configNode": "__count__ 節點組態", "configNode_plural": "__count__ 多節點組態", + "group": "__count__ 個組", + "group_plural": "__count__ 個組", "flow": "__count__ 流程", "flow_plural": "__count__ 多流程", "subflow": "__count__ 子流程", @@ -184,8 +206,11 @@ "importUnrecognised_plural": "匯入了無法識別的類型:", "nodesExported": "節點匯出到了剪貼簿", "nodesImported": "已匯入:", - "nodeCopied": "已複製__count__個節點", - "nodeCopied_plural": "已複製__count__個節點", + "nodeCopied": "已複製 __count__ 個節點", + "nodeCopied_plural": "已複製 __count__ 個節點", + "groupCopied": "複製 __count__ 個組", + "groupCopied_plural": "已複製 __count__ 個groups", + "groupStyleCopied": "已複製組風格", "invalidFlow": "無效的流程: __message__", "export": { "selected": "已選擇的節點", @@ -204,9 +229,9 @@ "newFlow": "新流程", "errors": { "notArray": "輸入的不是JSON數組", - "itemNotObject": "輸入的流程無效-項目__index__不是節點對象", - "missingId": "輸入的流程無效-項__index__缺少“ id”屬性", - "missingType": "輸入的流程無效-項__index__缺少“類型”屬性" + "itemNotObject": "輸入的流程無效-項目 __index__ 不是節點對象", + "missingId": "輸入的流程無效-項 __index__ 缺少“ id”屬性", + "missingType": "輸入的流程無效-項 __index__ 缺少“類型”屬性" } }, "copyMessagePath": "已複製路徑", @@ -250,7 +275,7 @@ "conflictChecking": "檢查是否可以自動合併更改", "conflictAutoMerge": "此更改不包括衝突,可以自動合併", "conflictManualMerge": "這些更改包括了在部署之前必須解決的衝突。", - "plusNMore": "+更多的__count__" + "plusNMore": "+更多的 __count__" } }, "eventLog": { @@ -258,8 +283,8 @@ "view": "查看日誌" }, "diff": { - "unresolvedCount": "__count__個未解決的衝突", - "unresolvedCount_plural": "__count__個未解決的衝突", + "unresolvedCount": "__count__ 個未解決的衝突", + "unresolvedCount_plural": "__count__ 個未解決的衝突", "globalNodes": "全局節點", "flowProperties": "流程屬性", "type": { @@ -269,11 +294,11 @@ "deleted": "已刪除", "flowDeleted": "已刪除流程", "flowAdded": "已添加流程", - "movedTo": "移動至__id__", - "movedFrom": "從__id__移動" + "movedTo": "移動至 __id__", + "movedFrom": "從 __id__ 移動" }, - "nodeCount": "__count__個節點", - "nodeCount_plural": "__count__個節點", + "nodeCount": "__count__ 個節點", + "nodeCount_plural": "__count__ 個節點", "local": "本地", "remote": "遠端", "reviewChanges": "查看變更", @@ -287,11 +312,11 @@ "newVersionError": "新版本不包含有效的JSON:" }, "subflow": { - "editSubflowInstance": "編輯子流程實例:__name__", - "editSubflow": "編輯流程範本: __name__", + "editSubflowInstance": "編輯子流程實例: __name__", + "editSubflow": "編輯流程範本: __name__", "edit": "編輯流程範本", - "subflowInstances": "這個子流程範本有__count__個實例", - "subflowInstances_plural": "這個子流程範本有__count__個實例", + "subflowInstances": "這個子流程範本有 __count__ 個實例", + "subflowInstances_plural": "這個子流程範本有 __count__ 個實例", "editSubflowProperties": "編輯屬性", "input": "輸入:", "output": "輸出:", @@ -308,17 +333,24 @@ "multipleInputsToSelection": "無法創建子流程: 多個輸入到了選擇" } }, + "group": { + "editGroup": "編輯組: __name__", + "errors": { + "cannotCreateDiffGroups": "無法使用來自不同組的節點創建組", + "cannotAddSubflowPorts": "無法將子流程的端口添加到組" + } + }, "editor": { "configEdit": "編輯", "configAdd": "添加", "configUpdate": "更新", "configDelete": "刪除", - "nodesUse": "__count__個節點使用此配置", - "nodesUse_plural": "__count__個節點使用此配置", - "addNewConfig": "添加新的__type__配置", - "editNode": "編輯__type__節點", - "editConfig": "編輯__type__配置", - "addNewType": "添加新的__type__節點", + "nodesUse": "__count__ 個節點使用此配置", + "nodesUse_plural": "__count__ 個節點使用此配置", + "addNewConfig": "添加新的 __type__ 配置", + "editNode": "編輯 __type__ 節點", + "editConfig": "編輯 __type__ 配置", + "addNewType": "添加新的 __type__ 節點", "nodeProperties": "節點屬性", "label": "Label", "color": "顏色", @@ -337,6 +369,7 @@ "locale": "選擇界面語言", "icon": "圖標", "inputType": "輸入類型", + "selectType": "選擇類型...", "inputs": { "input": "輸入", "select": "選擇", @@ -351,7 +384,8 @@ "bool": "布爾", "json": "JSON", "bin": "buffer", - "env": "環境變量" + "env": "環境變量", + "cred": "證書" }, "menu": { "input": "輸入", @@ -405,13 +439,13 @@ "library": "庫", "openLibrary": "打開庫...", "saveToLibrary": "保存到庫...", - "typeLibrary": "__type__型別程式庫", - "unnamedType": "無名__type__", + "typeLibrary": "__type__ 型別程式庫", + "unnamedType": "無名 __type__", "exportedToLibrary": "節點導出到庫", - "dialogSaveOverwrite": "一個叫做__libraryName__的__libraryType__已經存在,您需要覆蓋麼?", + "dialogSaveOverwrite": "一個叫做 __libraryName__ 的 __libraryType__ 已經存在,您需要覆蓋麼?", "invalidFilename": "無效的檔案名", "savedNodes": "保存的節點", - "savedType": "已保存__type__", + "savedType": "已保存 __type__", "saveFailed": "保存失敗: __message__", "newFolder": "新文件夾", "types": { @@ -460,33 +494,33 @@ "times": { "seconds": "秒前", "minutes": "分前", - "minutesV": "__count__分前", - "hoursV": "__count__小時前", - "hoursV_plural": "__count__小時前", - "daysV": "__count__天前", - "daysV_plural": "__count__天前", - "weeksV": "__count__周前", - "weeksV_plural": "__count__周前", - "monthsV": "__count__月前", - "monthsV_plural": "__count__月前", - "yearsV": "__count__年前", - "yearsV_plural": "__count__年前", - "yearMonthsV": "__y__年, __count__月前", - "yearMonthsV_plural": "__y__年, __count__月前", - "yearsMonthsV": "__y__年, __count__月前", - "yearsMonthsV_plural": "__y__年, __count__月前" + "minutesV": "__count__ 分前", + "hoursV": "__count__ 小時前", + "hoursV_plural": "__count__ 小時前", + "daysV": "__count__ 天前", + "daysV_plural": "__count__ 天前", + "weeksV": "__count__ 周前", + "weeksV_plural": "__count__ 周前", + "monthsV": "__count__ 月前", + "monthsV_plural": "__count__ 月前", + "yearsV": "__count__ 年前", + "yearsV_plural": "__count__ 年前", + "yearMonthsV": "__y__ 年, __count__ 月前", + "yearMonthsV_plural": "__y__ 年, __count__ 月前", + "yearsMonthsV": "__y__ 年, __count__ 月前", + "yearsMonthsV_plural": "__y__ 年, __count__ 月前" }, - "nodeCount": "__label__個節點", - "nodeCount_plural": "__label__個節點", - "moduleCount": "__count__個可用模組", - "moduleCount_plural": "__count__個可用模組", + "nodeCount": "__label__ 個節點", + "nodeCount_plural": "__label__ 個節點", + "moduleCount": "__count__ 個可用模組", + "moduleCount_plural": "__count__ 個可用模組", "inuse": "使用中", "enableall": "全部啟用", "disableall": "全部禁用", "enable": "啟用", "disable": "禁用", "remove": "移除", - "update": "更新至__version__版本", + "update": "更新至 __version__ 版本", "updated": "已更新", "install": "安裝", "installed": "已安裝", @@ -498,7 +532,7 @@ "sort": "排序:", "sortAZ": "a-z順序", "sortRecent": "日期順序", - "more": "增加__count__個", + "more": "增加 __count__ 個", "errors": { "catalogLoadFailed": "無法載入節點目錄。
查看瀏覽器控制臺瞭解更多資訊", "installFailed": "無法安裝: __module__
__message__
查看日誌瞭解更多資訊", @@ -539,6 +573,7 @@ "label": "信息", "node": "節點", "type": "類型", + "group": "組", "module": "Module", "id": "ID", "status": "狀態", @@ -560,8 +595,30 @@ "subflowDesc": "子流程描述", "nodeHelp": "節點幫助", "none": "無", - "arrayItems": "__count__個項目", - "showTips": "您可以從設置面板啟用提示資訊" + "arrayItems": "__count__ 個項目", + "showTips": "您可以從設置面板啟用提示資訊", + "outline": "大綱", + "empty": "空的", + "globalConfig": "全局配置節點", + "triggerAction": "觸發動作", + "find": "在工作區中查找", + "search": { + "configNodes": "配置節點", + "unusedConfigNodes": "未使用的配置節點", + "invalidNodes": "無效的節點", + "uknownNodes": "未知的節點", + "unusedSubflows": "未使用的子流程" + } + }, + "help": { + "name": "幫助", + "label": "幫助", + "search": "搜索幫助", + "nodeHelp": "節點幫助", + "showHelp": "顯示幫助", + "showInOutline": "在大綱中顯示", + "showTopics": "顯示主題", + "noHelp": "未選擇幫助主題" }, "config": { "name": "配置節點", @@ -614,9 +671,9 @@ "removeFromProject": "從項目中刪除", "addToProject": "添加到項目", "files": "文件", - "package": "包", "flow": "流程", "credentials": "證書", + "package": "包", "packageCreate": "保存更改後將創建文件", "fileNotExist": "文件不存在", "selectFile": "選擇文件", @@ -668,7 +725,7 @@ "copyPublicKey": "將公鑰複製到剪貼板", "delete": "刪除密鑰", "gitConfig": "Git配置", - "deleteConfirm": "您確定要刪除SSH密鑰__name__嗎? 這不能被撤消。" + "deleteConfirm": "您確定要刪除SSH密鑰 __name__ 嗎? 這不能被撤消。" }, "versionControl": { "unstagedChanges": "未暫存的更改", @@ -722,24 +779,24 @@ "pullChanges": "Pull變更", "history": "歷史", "projectHistory": "項目歷史", - "daysAgo": "__count__天前", - "daysAgo_plural": "__count__天前", - "hoursAgo": "__count__小時前", - "hoursAgo_plural": "__count__小時前", - "minsAgo": "__count__分鐘前", - "minsAgo_plural": "__count__分鐘前", + "daysAgo": "__count__ 天前", + "daysAgo_plural": "__count__ 天前", + "hoursAgo": "__count__ 小時前", + "hoursAgo_plural": "__count__ 小時前", + "minsAgo": "__count__ 分鐘前", + "minsAgo_plural": "__count__ 分鐘前", "secondsAgo": "秒前", "notTracking": "您的本地分支當前未跟蹤遠程分支。", "statusUnmergedChanged": "您的存儲庫中有未合併的更改。您需要解決衝突並提交結果。", "repositoryUpToDate": "您的存儲庫是最新的。", - "commitsAhead": "您的倉庫領先遠程倉庫__count__次提交。您現在可以push這些提交。", - "commitsAhead_plural": "您的倉庫領先遠程倉庫__count__次提交。您現在可以push這些提交。", - "commitsBehind": "您的倉庫落後遠程倉庫__count__次提交。您現在可以pull這些提交。", - "commitsBehind_plural": "您的倉庫落後遠程倉庫__count__次提交。您現在可以pull這些提交。", - "commitsAheadAndBehind1": "您的倉庫落後遠程倉庫__count__次提交", - "commitsAheadAndBehind1_plural": "您的倉庫落後遠程倉庫__count__次提交", - "commitsAheadAndBehind2": "領先遠程倉庫__count__次提交。", - "commitsAheadAndBehind2_plural": "領先遠程倉庫__count__次提交。", + "commitsAhead": "您的倉庫領先遠程倉庫 __count__ 次提交。您現在可以push這些提交。", + "commitsAhead_plural": "您的倉庫領先遠程倉庫 __count__ 次提交。您現在可以push這些提交。", + "commitsBehind": "您的倉庫落後遠程倉庫 __count__ 次提交。您現在可以pull這些提交。", + "commitsBehind_plural": "您的倉庫落後遠程倉庫 __count__ 次提交。您現在可以pull這些提交。", + "commitsAheadAndBehind1": "您的倉庫落後遠程倉庫 __count__ 次提交", + "commitsAheadAndBehind1_plural": "您的倉庫落後遠程倉庫 __count__ 次提交", + "commitsAheadAndBehind2": "領先遠程倉庫 __count__ 次提交。", + "commitsAheadAndBehind2_plural": "領先遠程倉庫 __count__ 次提交。", "commitsAheadAndBehind3": "您必須先pull遠程提交,然後再進行push。", "commitsAheadAndBehind3_plural": "您必須先pull遠程提交,然後再進行push。", "refreshCommitHistory": "刷新提交歷史", @@ -757,7 +814,8 @@ "bin": "二進位流", "date": "時間戳記", "jsonata": "expression", - "env": "env variable" + "env": "env variable", + "cred": "證書" } }, "editableList": { @@ -977,7 +1035,8 @@ "passphrase": "密碼短語", "retry": "重試", "update-failed": "無法更新身份驗證", - "unhandled": "未處理的錯誤響應" + "unhandled": "未處理的錯誤響應", + "host-key-verify-failed": "

主機密鑰驗證失敗。

無法驗證存儲庫主機密鑰。請更新您的known_hosts文件,然後重試。

" }, "create-branch-list": { "invalid": "無效的分支", diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json index 6d99ffc6a..3765ab3dd 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json @@ -266,5 +266,9 @@ "$type": { "args": "value", "desc": "以字符串形式返回`值`的類型。 如果該`值`未定義,則將返回`未定義`" + }, + "$moment": { + "args": "[str]", + "desc": "使用Moment庫獲取日期對象。" } } diff --git a/packages/node_modules/@node-red/nodes/locales/zh-TW/messages.json b/packages/node_modules/@node-red/nodes/locales/zh-TW/messages.json index 5368bb993..0875cab9b 100644 --- a/packages/node_modules/@node-red/nodes/locales/zh-TW/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/zh-TW/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,14 +115,16 @@ } }, "complete": { - "completeNodes": "完成: __number__個節點" + "completeNodes": "完成: __number__ 個節點" }, "debug": { "output": "輸出", + "status": "狀態", "none": "None", "invalid-exp": "無效的JSONata表達式: __error__", "msgprop": "資訊屬性", "msgobj": "完整資訊", + "autostatus": "自動的", "to": "目標", "debtab": "除錯窗口", "tabcon": "除錯窗口及Console", @@ -207,8 +211,14 @@ "function": "函數", "label": { "function": "函數", + "initialize": "設置", + "finalize": "關閉", "outputs": "輸出" }, + "text": { + "initialize": "// 部署節點後,此處添加的代碼將運行一次。 \n", + "finalize": "// 節點正在停止或重新部署時,將運行此處添加的代碼。 \n" + }, "error": { "inputListener": "無法在函數中監聽對'注入'事件", "non-message-returned": "函數節點嘗試返回類型為 __type__ 的資訊" @@ -311,6 +321,7 @@ "h": "小時" }, "extend": " 如有新資訊,延長延遲", + "second": " 發送第二條消息到單獨的輸出", "label": { "trigger": "觸發", "trigger-block": "觸發並阻止", @@ -432,7 +443,7 @@ "no-response": "無響應物件", "json-error": "JSON 解析錯誤", "no-url": "未設定 URL", - "deprecated-call": "__method__方法已棄用", + "deprecated-call": "__method__ 方法已棄用", "invalid-transport": "非HTTP傳輸請求", "timeout-isnan": "超時值不是有效數字,忽略", "timeout-isnegative": "超時值為負,忽略", @@ -641,7 +652,7 @@ "change": "修改 __property__", "delete": "刪除 __property__", "move": "移動 __property__", - "changeCount": "修改: __count__條規矩", + "changeCount": "修改: __count__ 條規矩", "regex": "使用規則運算式" }, "action": { @@ -656,7 +667,8 @@ "errors": { "invalid-from": "無效的'from'屬性: __error__", "invalid-json": "無效的'to'JSON 屬性", - "invalid-expr": "無效的JSONata運算式: __error__" + "invalid-expr": "無效的JSONata運算式: __error__", + "no-override": "無法設置非對象類型的屬性: __property__" } }, "range": { @@ -697,7 +709,9 @@ "output": "輸出", "includerow": "包含列名行", "newline": "分行符號", - "usestrings": "解析數值" + "usestrings": "解析數值", + "include_empty_strings": "包含空字符串", + "include_null_values": "包含空值" }, "placeholder": { "columns": "用逗號分割列名" @@ -720,9 +734,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": { @@ -790,8 +810,8 @@ "breaklines": "分拆成行", "filelabel": "文件", "sendError": "發生錯誤時發送消息(傳統模式)", - "deletelabel": "刪除 __file__", "encoding": "編碼", + "deletelabel": "刪除 __file__", "utf8String": "UTF8字符串", "binaryBuffer": "二進制buffer" }, @@ -893,7 +913,8 @@ "fixup": "Fix-up exp" }, "errors": { - "invalid-expr": "無效的JSONata運算式: __error__" + "invalid-expr": "無效的JSONata運算式: __error__", + "invalid-type": "無法添加 __error__ 至buffer" } }, "sort": {