From 940512fb2c77f30730d1d5eb7d5dd47229820c2c Mon Sep 17 00:00:00 2001 From: xuyu0v0 Date: Sun, 7 May 2023 20:16:28 +0800 Subject: [PATCH] Update editor.json Update Simplified Chinese translation files --- .../editor-client/locales/zh-CN/editor.json | 165 +++++++++++++++--- 1 file changed, 138 insertions(+), 27 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 eca5878ae..4f0aefebb 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 @@ -1,7 +1,7 @@ { "common": { "label": { - "name": "姓名", + "name": "名称", "ok": "确认", "done": "完成", "cancel": "取消", @@ -38,11 +38,14 @@ } }, "event": { + "loadPlugins": "加载插件", "loadPalette": "加载控制板", "loadNodeCatalogs": "加载节点目录", "loadNodes": "加载 __count__ 个节点", "loadFlows": "加载流程", - "importFlows": "往工作区中加载流程" + "importFlows": "往工作区中加载流程", + "importError": "

加载流程错误

__message__

", + "loadingProject": "加载项目" }, "workspace": { "defaultName": "流程 __number__", @@ -51,7 +54,16 @@ "delete": "你确定要删除 __label__ ?", "dropFlowHere": "把流程放到这里", "addFlow": "添加流程", - "listFlows": "流程一览", + "addFlowToRight": "右侧添加流程", + "hideFlow": "隐藏流程", + "hideOtherFlows": "隐藏其他流程", + "showAllFlows": "显示所有流程", + "hideAllFlows": "隐藏所有流程", + "hiddenFlows": "列出 __count__ 个隐藏流程", + "hiddenFlows_plural": "列出 __count__ 个隐藏流程", + "showLastHiddenFlow": "显示最后一个隐藏流程", + "listFlows": "流程表", + "listSubflows": "子流程表", "status": "状态", "enabled": "有效", "disabled": "无效", @@ -63,6 +75,8 @@ "view": { "view": "显示", "grid": "网格", + "storeZoom": "加载时恢复缩放级别", + "storePosition": "加载时恢复滚动位置", "showGrid": "显示网格", "snapGrid": "对齐网格", "gridSize": "网格尺寸", @@ -80,6 +94,7 @@ "palette": { "show": "显示控制板" }, + "edit": "编辑", "settings": "设置", "userSettings": "用户设置", "nodes": "节点", @@ -102,24 +117,43 @@ "editPalette": "节点管理", "other": "其他", "showTips": "显示小提示", + "showWelcomeTours": "显示新版本的导览", "help": "Node-RED网页", "projects": "项目", "projects-new": "新建", "projects-open": "打开", "projects-settings": "项目设定", "showNodeLabelDefault": "显示新添加的节点的标签", + "codeEditor": "代码编辑器", "groups": "组", "groupSelection": "选择组", "ungroupSelection": "取消选择组", "groupMergeSelection": "合并选择", - "groupRemoveSelection": "从组中移除" + "groupRemoveSelection": "从组中移除", + "arrange": "排列", + "alignLeft": "左对齐", + "alignCenter": "水平居中对齐", + "alignRight": "右对齐", + "alignTop": "顶部对齐", + "alignMiddle": "垂直居中对齐", + "alignBottom": "底部对齐", + "distributeHorizontally": "横向分布", + "distributeVertically": "垂直分布", + "moveToBack": "移动到最底层", + "moveToFront": "移动到最顶层", + "moveBackwards": "向后移动一层", + "moveForwards": "向前移动一层" } }, "actions": { "toggle-navigator": "切换导航器", "zoom-out": "缩小", "zoom-reset": "重设缩放", - "zoom-in": "放大" + "zoom-in": "放大", + "search-flows": "搜索流程", + "search-prev": "上一个", + "search-next": "下一个", + "search-counter": "\"__term__\" __count__ 个 __result__ " }, "user": { "loggedInAs": "作为 __name__ 登录", @@ -135,12 +169,17 @@ } }, "notification": { + "state": { + "flowsStopped": "流程停止", + "flowsStarted": "流程开始" + }, "warning": "警告: __message__", "warnings": { "undeployedChanges": "节点中存在未部署的更改", "nodeActionDisabled": "节点操作已禁用", "nodeActionDisabledSubflow": "节点动作在子流程中被禁用", "missing-types": "流程由于缺少节点类型而停止。请检查日志的详细信息", + "missing-modules": "

由于缺少模块,流程停止。

", "safe-mode": "

流程以安全模式停止。

您可以修改流程并部署更改以重新启动。

", "restartRequired": "Node-RED必须重新启动,以启用升级的模块", "credentials_load_failed": "

由于无法解密凭据,因此流程停止。

流程凭据文件已加密,但是项目的加密密钥丢失或无效。

", @@ -339,6 +378,18 @@ "deleteSubflow": "删除子流程", "info": "详细描述", "category": "类别", + "module": "模块", + "license": "许可证", + "licenseNone": "无", + "licenseOther": "其他", + "type": "节点类型", + "version": "版本", + "versionPlaceholder": "x.y.z", + "keys": "关键字", + "keysPlaceholder": "逗号分隔的关键字", + "author": "作者", + "authorPlaceholder": "你的名字", + "desc": "描述", "env": { "restore": "恢复为默认子流", "remove": "删除环境变量" @@ -385,6 +436,7 @@ "icon": "图标", "inputType": "输入类型", "selectType": "选择类型...", + "loadCredentials": "加载节点凭证", "inputs": { "input": "输入", "select": "选择", @@ -419,7 +471,8 @@ }, "errors": { "scopeChange": "更改范围将使其他流中的节点无法使用", - "invalidProperties": "无效的属性:" + "invalidProperties": "无效的属性:", + "credentialLoadFailed": "无法加载节点凭据" } }, "keyboard": { @@ -431,7 +484,9 @@ "unassigned": "未分配", "global": "全局", "workspace": "工作区", + "editor": "编辑对话框", "selectAll": "选择所有节点", + "selectNone": "不选择所有节点", "selectAllConnected": "选择所有连接的节点", "addRemoveNode": "从选择中添加/删除节点", "editSelected": "编辑选定节点", @@ -445,17 +500,21 @@ "copyNode": "复制所选节点", "cutNode": "剪切所选节点", "pasteNode": "粘贴节点", - "undoChange": "撤消上次执行的更改", + "copyGroupStyle": "复制组样式", + "pasteGroupStyle": "粘贴组样式", + "undoChange": "撤消", + "redoChange": "恢复", "searchBox": "打开搜索框", "managePalette": "管理面板", - "actionList": "动作列表" + "actionList": "动作列表", + "splitWireWithLinks": "使用链接节点拆分选择" }, "library": { "library": "库", "openLibrary": "打开库...", "saveToLibrary": "保存到库...", "typeLibrary": "__type__类型库", - "unnamedType": "无名__type__", + "unnamedType": "未命名__type__", "exportedToLibrary": "节点导出到库", "dialogSaveOverwrite": "一个叫做__libraryName__的__libraryType__已经存在,您需要覆盖么?", "invalidFilename": "无效的文件名", @@ -466,8 +525,7 @@ "types": { "local": "本地的", "examples": "例子" - }, - "exportToLibrary": "将节点导出到库" + } }, "palette": { "noInfo": "无可用信息", @@ -501,7 +559,8 @@ "nodeEnabled_plural": "启用多个节点:", "nodeDisabled": "禁用节点:", "nodeDisabled_plural": "禁用多个节点:", - "nodeUpgraded": "节点模块__module__升级到__version__版本" + "nodeUpgraded": "节点模块__module__升级到__version__版本", + "unknownNodeRegistered": "加载节点时出错: " }, "editor": { "title": "面板管理", @@ -549,25 +608,26 @@ "sortRecent": "日期顺序", "more": "增加 __count__ 个", "upload": "上传模块tgz文件", + "refresh": "刷新模块列表", "errors": { - "catalogLoadFailed": "无法加载节点目录。
查看浏览器控制台了解更多信息", - "installFailed": "无法安装: __module__
__message__
查看日志了解更多信息", - "removeFailed": "无法删除: __module__
__message__
查看日志了解更多信息", - "updateFailed": "无法更新: __module__
__message__
查看日志了解更多信息", - "enableFailed": "无法启用: __module__
__message__
查看日志了解更多信息", - "disableFailed": "无法禁用: __module__
__message__
查看日志了解更多信息" + "catalogLoadFailed": "

无法加载节点目录。

查看浏览器控制台了解更多信息

", + "installFailed": "

无法安装: __module__

__message__

查看日志了解更多信息

", + "removeFailed": "

无法删除: __module__

__message__

查看日志了解更多信息

", + "updateFailed": "

无法更新: __module__

__message__

查看日志了解更多信息

", + "enableFailed": "

无法启用: __module__

__message__

", + "disableFailed": "

无法禁用: __module__

__message__

查看日志了解更多信息

" }, "confirm": { "install": { - "body": "在安装之前,请阅读节点的文档,某些节点的依赖关系不能自动解决,可能需要重新启动Node-RED。", + "body": "

'__module__'安装中

在安装之前,请阅读节点的文档。 某些节点的依赖关系不能自动解决可能需要重新启动Node-RED。

", "title": "安装节点" }, "remove": { - "body": "删除节点将从Node-RED卸载它。节点可能会继续使用资源,直到重新启动Node-RED。", + "body": "

'__module__'删除中

删除节点将从Node-RED卸载它。节点可能会继续使用资源,直到重新启动Node-RED。

", "title": "删除节点" }, "update": { - "body": "更新节点将需要重新启动Node-RED来完成更新,该过程必须由手动完成。", + "body": "

'__module__'升级中

更新节点将需要重新启动Node-RED来完成更新,该过程必须由手动完成。

", "title": "更新节点" }, "cannotUpdate": { @@ -617,6 +677,8 @@ "empty": "空的", "globalConfig": "全局配置节点", "triggerAction": "触发动作", + "showFlow": "显示", + "hideFlow": "隐藏", "find": "在工作区中查找" }, "help": { @@ -627,7 +689,8 @@ "showHelp": "显示帮助", "showInOutline": "在大纲中显示", "showTopics": "显示主题", - "noHelp": "未选择帮助主题" + "noHelp": "未选择帮助主题", + "changeLog": "更新日志" }, "config": { "name": "配置节点", @@ -821,7 +884,7 @@ }, "typedInput": { "type": { - "str": "文字列", + "str": "字符串", "num": "数字", "re": "正则表达式", "bool": "布尔值", @@ -834,9 +897,12 @@ } }, "editableList": { - "add": "添加" + "add": "添加", + "addTitle": "添加一个物品" }, "search": { + "history": "查询历史", + "clear": "清除所有", "empty": "找不到匹配", "addNode": "添加一个节点...", "options": { @@ -844,7 +910,10 @@ "unusedConfigNodes": "未使用的配置节点", "invalidNodes": "无效的节点", "uknownNodes": "未知的节点", - "unusedSubflows": "未使用的子流程" + "unusedSubflows": "未使用的子流程", + "hiddenFlows": "隐藏流程", + "modifiedNodes": "修改节点和流程", + "thisFlow": "当前流程" } }, "expressionEditor": { @@ -863,9 +932,15 @@ "invalid-expr": "无效的JSONata表达式:\n __message__", "invalid-msg": "无效的示例JSON消息:\n __message__", "context-unsupported": "无法测试上下文函数\n $flowContext 或 $globalContext", + "env-unsupported": "无法测试 $env 函数", + "moment-unsupported": "无法测试 $moment 函数", + "clone-unsupported": "C无法测试 $clone 函数", "eval": "评估表达式错误:\n __message__" } }, + "monaco": { + "setTheme": "设置主题" + }, "jsEditor": { "title": "JavaScript编辑器" }, @@ -877,6 +952,8 @@ "format": "格式化JSON", "rawMode": "编辑 JSON", "uiMode": "Visual编辑器", + "rawMode-readonly": "JSON", + "uiMode-readonly": "Visual", "insertAbove": "在上方插入", "insertBelow": "在下方插入", "addItem": "添加项目", @@ -1000,7 +1077,7 @@ }, "create-success": { "success": "您已经成功创建了第一个项目!", - "desc0": "现在,您可以像往常一样继续使用Node-RED。", + "desc0": "现在您可以像往常一样继续使用Node-RED。", "desc1": "侧栏中的“信息”标签显示了您当前的活动项目。名称旁边的按钮可用于访问项目设置视图。", "desc2": "侧栏中的“历史记录”标签可用于查看项目中已更改的文件并提交。它向您显示了提交的完整历史记录,并允许您将更改推送到远程存储库。" }, @@ -1038,7 +1115,8 @@ "not-git": "不是git仓库", "no-resource": "找不到存储库", "cant-get-ssh-key-path": "错误!无法获取所选的SSH密钥路径。", - "unexpected_error": "意外的错误" + "unexpected_error": "意外的错误", + "clearContext": "切换项目时清除上下文" }, "delete": { "confirm": "您确定要删除此项目吗?" @@ -1079,17 +1157,50 @@ "editor-tab": { "properties": "属性", "envProperties": "环境变量", + "module": "模块属性", "description": "描述", "appearance": "外观", "preview": "UI预览", "defaultValue": "默认值" }, + "tourGuide": { + "takeATour": "游览一下", + "start": "开始", + "next": "Next", + "welcomeTours": "欢迎游览" + }, + "diagnostics": { + "title": "系统信息" + }, "languages": { "de": "德语", "en-US": "英文", "ja": "日语", "ko": "韩文", + "ru": "俄文", "zh-CN": "简体中文", "zh-TW": "繁体中文" + }, + "validator": { + "errors": { + "invalid-json": "无效的JSON数据: __error__", + "invalid-json-prop": "__prop__: 无效的JSON数据: __error__", + "invalid-prop": "无效的属性表达式", + "invalid-prop-prop": "__prop__: 无效的属性表达式", + "invalid-num": "无效的数字", + "invalid-num-prop": "__prop__: 无效的数字", + "invalid-regexp": "无效的输入模式", + "invalid-regex-prop": "__prop__: 无效的输入模式", + "missing-required-prop": "__prop__: 缺少属性值", + "invalid-config": "__prop__: 无效的配置节点", + "missing-config": "__prop__: 缺少配置节点", + "validation-error": "__prop__: 验证错误: __node__, __id__: __error__" + } + }, + "contextMenu": { + "insert": "插入", + "node": "节点", + "junction": "连接点", + "linkNodes": "链接节点" } }