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

update zh-CN translation for editor-client

This commit is contained in:
JIYE YU 2020-06-25 18:31:36 +09:00
parent 07585f01e3
commit 13a59a882e
2 changed files with 185 additions and 122 deletions

View File

@ -14,7 +14,15 @@
"back": "后退", "back": "后退",
"next": "下一个", "next": "下一个",
"clone": "克隆项目", "clone": "克隆项目",
"cont": "继续" "cont": "继续",
"style": "风格",
"line": "大纲",
"fill": "填充",
"label": "标签",
"color": "颜色",
"position": "位置",
"enable": "启用",
"disable": "禁用"
}, },
"type": { "type": {
"string": "字符串", "string": "字符串",
@ -28,11 +36,18 @@
"null": "空" "null": "空"
} }
}, },
"event": {
"loadPalette": "加载控制板",
"loadNodeCatalogs": "加载节点目录",
"loadNodes": "加载 __count__ 个节点",
"loadFlows": "加载流程",
"importFlows": "往工作区中加载流程"
},
"workspace": { "workspace": {
"defaultName": "流程 __number__", "defaultName": "流程 __number__",
"editFlow": "编辑流程: __name__", "editFlow": "编辑流程: __name__",
"confirmDelete": "确认删除", "confirmDelete": "确认删除",
"delete": "你确定想删除 '__label__'?", "delete": "你确定要删除 __label__ ?",
"dropFlowHere": "把流程放到这里", "dropFlowHere": "把流程放到这里",
"addFlow": "添加流程", "addFlow": "添加流程",
"listFlows": "流程一览", "listFlows": "流程一览",
@ -91,7 +106,12 @@
"projects-new": "新建", "projects-new": "新建",
"projects-open": "打开", "projects-open": "打开",
"projects-settings": "项目设定", "projects-settings": "项目设定",
"showNodeLabelDefault": "显示新添加的节点的标签" "showNodeLabelDefault": "显示新添加的节点的标签",
"groups": "组",
"groupSelection": "选择组",
"ungroupSelection": "取消选择组",
"groupMergeSelection": "合并选择",
"groupRemoveSelection": "从组中移除"
} }
}, },
"actions": { "actions": {
@ -127,7 +147,7 @@
"missing_flow_file": "<p>找不到项目流程文件。</p><p>该项目未配置流程文件。</p>", "missing_flow_file": "<p>找不到项目流程文件。</p><p>该项目未配置流程文件。</p>",
"missing_package_file": "<p>找不到项目包文件。</p><p>项目缺少package.json文件。</p>", "missing_package_file": "<p>找不到项目包文件。</p><p>项目缺少package.json文件。</p>",
"project_empty": "<p>该项目为空。</p><p>是否要创建一组默认的项目文件?<br/>否则,您将必须在编辑器外部手动将文件添加到项目中。</p>", "project_empty": "<p>该项目为空。</p><p>是否要创建一组默认的项目文件?<br/>否则,您将必须在编辑器外部手动将文件添加到项目中。</p>",
"project_not_found": "<p>未找到项目'__project__'。</p>", "project_not_found": "<p>未找到项目 __project__ 。</p>",
"git_merge_conflict": "<p>自动合并更改失败。</p><p>修复未合并的冲突,然后提交结果。</p>" "git_merge_conflict": "<p>自动合并更改失败。</p><p>修复未合并的冲突,然后提交结果。</p>"
}, },
"error": "<strong>错误</strong>: __message__", "error": "<strong>错误</strong>: __message__",
@ -167,13 +187,15 @@
"clipboard": { "clipboard": {
"clipboard": "剪贴板", "clipboard": "剪贴板",
"nodes": "节点", "nodes": "节点",
"node": "__count__节点", "node": "__count__ 个节点",
"node_plural": "__count__节点", "node_plural": "__count__ 个节点",
"configNode": "__count__配置节点", "configNode": "__count__ 个配置节点",
"configNode_plural": "__count__配置节点", "configNode_plural": "__count__ 个配置节点",
"flow": "__count__流程", "group": "__count__ 个组",
"flow_plural": "__count__流程", "group_plural": "__count__ 个组",
"subflow": "__count__子流程", "flow": "__count__ 个流程",
"flow_plural": "__count__ 个流程",
"subflow": "__count__ 个子流程",
"subflow_plural": "__count__ 子流程", "subflow_plural": "__count__ 子流程",
"pasteNodes": "在这里粘贴节点", "pasteNodes": "在这里粘贴节点",
"selectFile": "选择要导入的文件", "selectFile": "选择要导入的文件",
@ -186,6 +208,9 @@
"nodesImported": "导入:", "nodesImported": "导入:",
"nodeCopied": "已复制 __count__ 个节点", "nodeCopied": "已复制 __count__ 个节点",
"nodeCopied_plural": "已复制 __count__ 个节点", "nodeCopied_plural": "已复制 __count__ 个节点",
"groupCopied": "复制 __count__ 个组",
"groupCopied_plural": "已复制 __count__ 个groups",
"groupStyleCopied": "已复制组风格",
"invalidFlow": "无效的流程: __message__", "invalidFlow": "无效的流程: __message__",
"export": { "export": {
"selected": "已选择的节点", "selected": "已选择的节点",
@ -288,7 +313,7 @@
}, },
"subflow": { "subflow": {
"editSubflowInstance": "编辑子流实例: __name__", "editSubflowInstance": "编辑子流实例: __name__",
"editSubflow": "编辑流程模板: __name__", "editSubflow": "编辑流程模板 __name__",
"edit": "编辑流程模板", "edit": "编辑流程模板",
"subflowInstances": "这个子流程模板有 __count__ 个实例", "subflowInstances": "这个子流程模板有 __count__ 个实例",
"subflowInstances_plural": "这个子流程模板有 __count__ 个实例", "subflowInstances_plural": "这个子流程模板有 __count__ 个实例",
@ -308,6 +333,13 @@
"multipleInputsToSelection": "<strong>无法创建子流程</strong>: 多个输入到了选择" "multipleInputsToSelection": "<strong>无法创建子流程</strong>: 多个输入到了选择"
} }
}, },
"group": {
"editGroup": "编辑组: __name__",
"errors": {
"cannotCreateDiffGroups": "无法使用来自不同组的节点创建组",
"cannotAddSubflowPorts": "无法将子流程的端口添加到组"
}
},
"editor": { "editor": {
"configEdit": "编辑", "configEdit": "编辑",
"configAdd": "添加", "configAdd": "添加",
@ -337,6 +369,7 @@
"locale": "选择界面语言", "locale": "选择界面语言",
"icon": "图标", "icon": "图标",
"inputType": "输入类型", "inputType": "输入类型",
"selectType": "选择类型...",
"inputs": { "inputs": {
"input": "输入", "input": "输入",
"select": "选择", "select": "选择",
@ -351,7 +384,8 @@
"bool": "布尔", "bool": "布尔",
"json": "JSON", "json": "JSON",
"bin": "buffer", "bin": "buffer",
"env": "环境变量" "env": "环境变量",
"cred": "证书"
}, },
"menu": { "menu": {
"input": "输入", "input": "输入",
@ -381,7 +415,7 @@
"scope": "范围", "scope": "范围",
"unassigned": "未分配", "unassigned": "未分配",
"global": "全局", "global": "全局",
"workspace": "工作", "workspace": "工作",
"selectAll": "选择所有节点", "selectAll": "选择所有节点",
"selectAllConnected": "选择所有连接的节点", "selectAllConnected": "选择所有连接的节点",
"addRemoveNode": "从选择中添加/删除节点", "addRemoveNode": "从选择中添加/删除节点",
@ -539,6 +573,7 @@
"label": "信息", "label": "信息",
"node": "节点", "node": "节点",
"type": "类型", "type": "类型",
"group": "组",
"module": "模组", "module": "模组",
"id": "ID", "id": "ID",
"status": "状态", "status": "状态",
@ -561,7 +596,29 @@
"nodeHelp": "节点帮助", "nodeHelp": "节点帮助",
"none": "无", "none": "无",
"arrayItems": "__count__ 个项目", "arrayItems": "__count__ 个项目",
"showTips": "您可以从设置面板启用提示信息" "showTips": "您可以从设置面板启用提示信息",
"outline": "大纲",
"empty": "空的",
"globalConfig": "全局配置节点",
"triggerAction": "触发动作",
"find": "在工作区中查找",
"search": {
"configNodes": "配置节点",
"unusedConfigNodes": "未使用的配置节点",
"invalidNodes": "无效的节点",
"uknownNodes": "未知的节点",
"unusedSubflows": "未使用的子流程"
}
},
"help": {
"name": "帮助",
"label": "帮助",
"search": "搜索帮助",
"nodeHelp": "节点帮助",
"showHelp": "显示帮助",
"showInOutline": "在大纲中显示",
"showTopics": "显示主题",
"noHelp": "未选择帮助主题"
}, },
"config": { "config": {
"name": "配置节点", "name": "配置节点",
@ -614,9 +671,9 @@
"removeFromProject": "从项目中删除", "removeFromProject": "从项目中删除",
"addToProject": "添加到项目", "addToProject": "添加到项目",
"files": "文件", "files": "文件",
"package": "包",
"flow": "流程", "flow": "流程",
"credentials": "证书", "credentials": "证书",
"package": "包",
"packageCreate": "保存更改后将创建文件", "packageCreate": "保存更改后将创建文件",
"fileNotExist": "文件不存在", "fileNotExist": "文件不存在",
"selectFile": "选择文件", "selectFile": "选择文件",
@ -628,7 +685,7 @@
"changeTheEncryptionKey": "更改加密密钥", "changeTheEncryptionKey": "更改加密密钥",
"currentKey": "当前密钥", "currentKey": "当前密钥",
"newKey": "新密钥", "newKey": "新密钥",
"credentialsAlert": "这将删除所有现有证", "credentialsAlert": "这将删除所有现有",
"versionControl": "版本控制", "versionControl": "版本控制",
"branches": "分支", "branches": "分支",
"noBranches": "没有分支", "noBranches": "没有分支",
@ -757,7 +814,8 @@
"bin": "二进制流", "bin": "二进制流",
"date": "时间戳", "date": "时间戳",
"jsonata": "表达式", "jsonata": "表达式",
"env": "环境变量" "env": "环境变量",
"cred": "证书"
} }
}, },
"editableList": { "editableList": {
@ -977,7 +1035,8 @@
"passphrase": "密码短语", "passphrase": "密码短语",
"retry": "重试", "retry": "重试",
"update-failed": "无法更新身份验证", "update-failed": "无法更新身份验证",
"unhandled": "未处理的错误响应" "unhandled": "未处理的错误响应",
"host-key-verify-failed": "<p>主机密钥验证失败。</p><p>无法验证存储库主机密钥。请更新您的<code>known_hosts</code>文件,然后重试。</p>"
}, },
"create-branch-list": { "create-branch-list": {
"invalid": "无效的分支", "invalid": "无效的分支",

View File

@ -1,11 +1,11 @@
{ {
"$string": { "$string": {
"args": "arg", "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": { "$length": {
"args": "str", "args": "str",
"desc": "输出字符串str的字数。如果str不是字符串,抛出错误。" "desc": "输出字符串 `str` 的字数。如果 `str` 不是字符串,抛出错误。"
}, },
"$substring": { "$substring": {
"args": "str, start[, length]", "args": "str, start[, length]",
@ -17,11 +17,11 @@
}, },
"$substringAfter": { "$substringAfter": {
"args": "str, chars", "args": "str, chars",
"desc": "输出str中首次出现的chars之后的子字符串如果str中不包括chars则输出str。" "desc": "输出 `str` 中首次出现的 `chars` 之后的子字符串,如果 `str` 中不包括 `chars` 则输出 `str` 。"
}, },
"$uppercase": { "$uppercase": {
"args": "str", "args": "str",
"desc": "`将str中的所有字母变为大写后输出。" "desc": "将 `str` 中的所有字母变为大写后输出。"
}, },
"$lowercase": { "$lowercase": {
"args": "str", "args": "str",
@ -266,5 +266,9 @@
"$type": { "$type": {
"args": "value", "args": "value",
"desc": "以字符串形式返回 `值` 的类型。 如果该 `值` 未定义,则将返回 `未定义` " "desc": "以字符串形式返回 `值` 的类型。 如果该 `值` 未定义,则将返回 `未定义` "
},
"$moment": {
"args": "[str]",
"desc": "使用Moment库获取日期对象。"
} }
} }