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

replace invalid JSON characters in runtime.json

Replaces instances of  `:` with proper colons `: `
Replaces instances of  `,` with proper commas `, `
This commit is contained in:
Stephen McLaughlin 2023-07-12 19:33:30 +01:00 committed by GitHub
parent 0df8a2ec64
commit 59055516de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ {
"runtime": { "runtime": {
"welcome": "欢迎使用Node-RED", "welcome": "欢迎使用Node-RED",
"version": "__component__ 版本 __version__", "version": "__component__ 版本: __version__",
"unsupported_version": "__component__的不受支持的版本。要求: __requires__ 找到: __version__", "unsupported_version": "__component__的不受支持的版本。要求: __requires__ 找到: __version__",
"paths": { "paths": {
"settings": "设置文件 : __path__", "settings": "设置文件 : __path__",
@ -11,26 +11,26 @@
"server": { "server": {
"loading": "加载控制板节点", "loading": "加载控制板节点",
"palette-editor": { "palette-editor": {
"disabled": "控制板编辑器已禁用用户设置", "disabled": "控制板编辑器已禁用: 用户设置",
"npm-not-found": "控制板编辑器已禁用找不到npm命令", "npm-not-found": "控制板编辑器已禁用: 找不到npm命令",
"npm-too-old": "控制板编辑器已禁用 npm版本太旧。需要版本npm >= 3.x" "npm-too-old": "控制板编辑器已禁用: npm版本太旧。需要版本npm >= 3.x"
}, },
"errors": "无法注册__count__节点类型", "errors": "无法注册__count__节点类型",
"errors_plural": "无法注册__count__个节点类型", "errors_plural": "无法注册__count__个节点类型",
"errors-help": "使用-v运行以获取详细信息", "errors-help": "使用-v运行以获取详细信息",
"missing-modules": "缺少节点模块", "missing-modules": "缺少节点模块: ",
"node-version-mismatch": "无法在此版本上加载节点模块。要求__ version__", "node-version-mismatch": "无法在此版本上加载节点模块。要求: __ version__",
"set-has-no-types": "集没有任何类型。名字: '__name__', 模块: '__module__', 文件: '__file__'", "set-has-no-types": "集没有任何类型。名字: '__name__', 模块: '__module__', 文件: '__file__'",
"type-already-registered": "'__type__'已由模块__module__注册", "type-already-registered": "'__type__'已由模块__module__注册",
"removing-modules": "从配置中删除模块", "removing-modules": "从配置中删除模块",
"added-types": "添加的节点类型", "added-types": "添加的节点类型: ",
"removed-types": "删除的节点类型", "removed-types": "删除的节点类型: ",
"install": { "install": {
"invalid": "无效的模块名称", "invalid": "无效的模块名称",
"installing": "安装模块__ name__版本__ version__", "installing": "安装模块: __ name__, 版本: __ version__",
"installed": "已安装的模块__ name__", "installed": "已安装的模块: __ name__",
"install-failed": "安装失败", "install-failed": "安装失败",
"install-failed-long": "模块__name__安装失败", "install-failed-long": "模块__name__安装失败: ",
"install-failed-not-found": "$t(server.install.install-failed-long) 模块未发现", "install-failed-not-found": "$t(server.install.install-failed-long) 模块未发现",
"install-failed-name": "$t(server.install.install-failed-long) 模块名称无效: __name__", "install-failed-name": "$t(server.install.install-failed-long) 模块名称无效: __name__",
"install-failed-url": "$t(server.install.install-failed-long) 无效的网址: __url__", "install-failed-url": "$t(server.install.install-failed-long) 无效的网址: __url__",
@ -44,13 +44,13 @@
"uninstalled": "卸载模块: __name__", "uninstalled": "卸载模块: __name__",
"old-ext-mod-dir-warning": "\n\n---------------------------------------------------------------------\n检测到 Node-RED 1.3 外部模块目录:\n __oldDir__\n该目录不再使用。外部模块将\n重新安装在您的 Node-RED 用户目录中:\n __newDir__\n删除旧的外部模块目录以停止此消息。\n---------------------------------------------------------------------\n" "old-ext-mod-dir-warning": "\n\n---------------------------------------------------------------------\n检测到 Node-RED 1.3 外部模块目录:\n __oldDir__\n该目录不再使用。外部模块将\n重新安装在您的 Node-RED 用户目录中:\n __newDir__\n删除旧的外部模块目录以停止此消息。\n---------------------------------------------------------------------\n"
}, },
"deprecatedOption": "不推荐使用__old__请使用__new__代替", "deprecatedOption": "不推荐使用__old__, 请使用__new__代替",
"unable-to-listen": "无法在__listenpath__上收听", "unable-to-listen": "无法在__listenpath__上收听",
"port-in-use": "错误: 端口正在使用中", "port-in-use": "错误: 端口正在使用中",
"uncaught-exception": "未捕获的异常", "uncaught-exception": "未捕获的异常: ",
"admin-ui-disabled": "管理员界面已禁用", "admin-ui-disabled": "管理员界面已禁用",
"now-running": "服务器现在在__listenpath__上运行", "now-running": "服务器现在在__listenpath__上运行",
"failed-to-start": "无法启动服务器", "failed-to-start": "无法启动服务器: ",
"headless-mode": "在headless模式下运行", "headless-mode": "在headless模式下运行",
"httpadminauth-deprecated": "不建议使用httpAdminAuth。请改用adminAuth", "httpadminauth-deprecated": "不建议使用httpAdminAuth。请改用adminAuth",
"https": { "https": {
@ -67,10 +67,10 @@
"error-reload": "重载流程错误: __message__" "error-reload": "重载流程错误: __message__"
}, },
"library": { "library": {
"error-load-entry": "加载库条目'__path__'时出错__message__", "error-load-entry": "加载库条目'__path__'时出错: __message__",
"error-save-entry": "保存库条目'__path__'时出错__ message__", "error-save-entry": "保存库条目'__path__'时出错: __ message__",
"error-load-flow": "加载流程'__path__'时出错__ message__", "error-load-flow": "加载流程'__path__'时出错: __ message__",
"error-save-flow": "保存流'__path__'时出错__ message__" "error-save-flow": "保存流'__path__'时出错: __ message__"
}, },
"nodes": { "nodes": {
"enabled": "启用的节点类型:", "enabled": "启用的节点类型:",
@ -79,117 +79,117 @@
} }
}, },
"comms": { "comms": {
"error": "通讯渠道错误__ message__" "error": "通讯渠道错误: __ message__",
"error-server": "通信服务器错误__ message__" "error-server": "通信服务器错误: __ message__",
"error-send": "通讯发送错误__ message__" "error-send": "通讯发送错误: __ message__"
} },
"settings": { "settings": {
"user-not-available": "无法保存用户设置__ message__" "user-not-available": "无法保存用户设置: __ message__",
"not-available": "设置不可用" "not-available": "设置不可用",
"property-read-only": "属性“ __prop__”是只读的" "property-read-only": "属性“ __prop__”是只读的",
"readonly-mode": "运行时处于只读模式。 更改将不会被保存。" "readonly-mode": "运行时处于只读模式。 更改将不会被保存。"
} },
"library": { "library": {
"unknownLibrary": "未知库: __library__" "unknownLibrary": "未知库: __library__",
"unknownType": "未知库类型: __type__" "unknownType": "未知库类型: __type__",
"readOnly": "__library__库是只读的" "readOnly": "__library__库是只读的",
"failedToInit": "无法初始化__library__库: __error__" "failedToInit": "无法初始化__library__库: __error__",
"invalidProperty": "无效__prop__属性: '__value__'" "invalidProperty": "无效__prop__属性: '__value__'"
} },
"nodes": { "nodes": {
"credentials": { "credentials": {
"error":"加载证书时出错__ message__" "error":"加载证书时出错: __ message__",
"error-saving":"保存证书时出错__ message__" "error-saving":"保存证书时出错: __ message__",
"not-registered": "证书类型'__type__'未注册" "not-registered": "证书类型'__type__'未注册",
"system-key-warning": "\n\n---------------------------------------------------------------------\n您的流程证书文件是使用系统生成的密钥加密的。\n\n如果系统生成的密钥由于任何原因丢失,则您的证书文件将无法恢复,您将必须删除它并重新输入您的证书。\n\n您应该使用您的设置文件中的'credentialSecret'选项设置自己的密钥。然后,下次部署更改时,Node-RED将使用选择的密钥重新加密您的证书文件。\n---------------------------------------------------------------------\n" "system-key-warning": "\n\n---------------------------------------------------------------------\n您的流程证书文件是使用系统生成的密钥加密的。\n\n如果系统生成的密钥由于任何原因丢失, 则您的证书文件将无法恢复, 您将必须删除它并重新输入您的证书。\n\n您应该使用您的设置文件中的'credentialSecret'选项设置自己的密钥。然后, 下次部署更改时, Node-RED将使用选择的密钥重新加密您的证书文件。\n---------------------------------------------------------------------\n",
"unencrypted": "使用未加密的证书" "unencrypted": "使用未加密的证书",
"encryptedNotFound": "未找到加密证书" "encryptedNotFound": "未找到加密证书"
} },
"flows": { "flows": {
"safe-mode": "流程在安全模式下停止。部署开始。" "safe-mode": "流程在安全模式下停止。部署开始。",
"registered-missing": "缺少注册的类型__ type__" "registered-missing": "缺少注册的类型: __ type__",
"error": "错误加载流程__ message__" "error": "错误加载流程: __ message__",
"starting-modified-nodes": "启动修改的节点" "starting-modified-nodes": "启动修改的节点",
"starting-modified-flows": "启动修改的流程" "starting-modified-flows": "启动修改的流程",
"starting-flows": "启动流程" "starting-flows": "启动流程",
"started-modified-nodes": "修改的节点已启动" "started-modified-nodes": "修改的节点已启动",
"started-modified-flows": "修改的流程已启动" "started-modified-flows": "修改的流程已启动",
"started-flows": "流程已启动" "started-flows": "流程已启动",
"stopping-modified-nodes": "停止修改的节点" "stopping-modified-nodes": "停止修改的节点",
"stopping-modified-flows": "停止修改的流程" "stopping-modified-flows": "停止修改的流程",
"stopping-flows": "停止流程" "stopping-flows": "停止流程",
"stopped-modified-nodes": "修改的节点已停止" "stopped-modified-nodes": "修改的节点已停止",
"stopped-modified-flows": "修改的流程已停止" "stopped-modified-flows": "修改的流程已停止",
"stopped-flows": "流程已停止" "stopped-flows": "流程已停止",
"stopped": "已停止" "stopped": "已停止",
"stopping-error": "错误停止节点__ message__" "stopping-error": "错误停止节点: __ message__",
"updated-flows": "更新流程" "updated-flows": "更新流程",
"added-flow": "流程已添加: __label__" "added-flow": "流程已添加: __label__",
"updated-flow": "流程已更新: __label__" "updated-flow": "流程已更新: __label__",
"removed-flow": "流程已移除: __label__" "removed-flow": "流程已移除: __label__",
"missing-types": "等待缺少的类型被注册" "missing-types": "等待缺少的类型被注册: ",
"missing-type-provided": " - __type__ (由npm模块__module__提供)" "missing-type-provided": " - __type__ (由npm模块__module__提供)",
"missing-type-install-1": "要安装所有缺少的模块,请运行:" "missing-type-install-1": "要安装所有缺少的模块, 请运行: ",
"missing-type-install-2": "在目录中" "missing-type-install-2": "在目录中: "
} },
"flow": { "flow": {
"unknown-type": "未知类型: __type__" "unknown-type": "未知类型: __type__",
"missing-types": "缺少类型" "missing-types": "缺少类型",
"error-loop": "邮件已超过最大捕获数" "error-loop": "邮件已超过最大捕获数",
"non-message-returned": "节点尝试发送 __type__ 类型的消息" "non-message-returned": "节点尝试发送 __type__ 类型的消息"
} },
"index": { "index": {
"unrecognised-id": "无法识别的ID: __id__" "unrecognised-id": "无法识别的ID: __id__",
"type-in-use": "使用中的类型: __msg__" "type-in-use": "使用中的类型: __msg__",
"unrecognised-module": "无法识别的模块: __module__" "unrecognised-module": "无法识别的模块: __module__"
} },
"registry": { "registry": {
"localfilesystem": { "localfilesystem": {
"module-not-found": "找不到模块:'__module__'" "module-not-found": "找不到模块:'__module__'"
} }
} }
} },
"storage": { "storage": {
"index": { "index": {
"forbidden-flow-name": "禁止流程名称" "forbidden-flow-name": "禁止流程名称"
} },
"localfilesystem": { "localfilesystem": {
"user-dir": "用户目录: __path__" "user-dir": "用户目录: __path__",
"flows-file": "流程文件: __path__" "flows-file": "流程文件: __path__",
"create": "创建新__type__文件" "create": "创建新__type__文件",
"empty": "现有__type__文件为空" "empty": "现有__type__文件为空",
"invalid": "现有__type__文件为无效json" "invalid": "现有__type__文件为无效json",
"restore": "恢复__type__文件备份__path__" "restore": "恢复__type__文件备份: __path__",
"restore-fail": "恢复__type__文件备份失败__ message__" "restore-fail": "恢复__type__文件备份失败: __ message__",
"fsync-fail": "将文件__path__刷新到磁盘失败__message__" "fsync-fail": "将文件__path__刷新到磁盘失败: __message__",
"warn_name": "未设置流程文件名。 使用主机名生成名称。" "warn_name": "未设置流程文件名。 使用主机名生成名称。",
"projects": { "projects": {
"changing-project": "设置活动项目__ project__" "changing-project": "设置活动项目: __ project__",
"active-project": "活动项目__ project__" "active-project": "活动项目: __ project__",
"projects-directory": "项目目录: __projectsDirectory__" "projects-directory": "项目目录: __projectsDirectory__",
"project-not-found": "找不到项目__ project__" "project-not-found": "找不到项目: __ project__",
"no-active-project": "没有活动的项目:使用默认流文件" "no-active-project": "没有活动的项目: 使用默认流文件",
"disabled": "项目已禁用editorTheme.projects.enabled = false" "disabled": "项目已禁用: editorTheme.projects.enabled = false",
"disabledNoFlag": "项目已禁用设置editorTheme.projects.enabled = true来启用" "disabledNoFlag": "项目已禁用: 设置editorTheme.projects.enabled = true来启用",
"git-not-found": "项目已禁用找不到git命令" "git-not-found": "项目已禁用: 找不到git命令",
"git-version-old": "项目已禁用不支持的git __version__。 需要的git版本为2.x" "git-version-old": "项目已禁用: 不支持的git __version__。 需要的git版本为2.x",
"summary": "一个Node-RED项目" "summary": "一个Node-RED项目",
"readme": "### 关于\n\n这是您项目的README.md文件。它可以帮助用户了解您的项目如何使用它以及他们可能需要知道的其他任何信息。" "readme": "### 关于\n\n这是您项目的README.md文件。它可以帮助用户了解您的项目, 如何使用它以及他们可能需要知道的其他任何信息。"
} }
} }
} },
"context": { "context": {
"log-store-init": "上下文储存: '__name__' [__info__]" "log-store-init": "上下文储存: '__name__' [__info__]",
"error-loading-module": "加载上下文存储时出错 __message__" "error-loading-module": "加载上下文存储时出错: __message__",
"error-loading-module2": "加载上下文存储时出错 '__module__': __message__" "error-loading-module2": "加载上下文存储时出错 '__module__': __message__",
"error-module-not-defined": "上下文存储库'__storage__'缺少“模块”选项" "error-module-not-defined": "上下文存储库'__storage__'缺少“模块”选项",
"error-invalid-module-name": "无效的上下文存储名称'__ name__'" "error-invalid-module-name": "无效的上下文存储名称: '__ name__'",
"error-invalid-default-module": "无效的默认的上下文存储库 '__storage__'" "error-invalid-default-module": "无效的默认的上下文存储库: '__storage__'",
"unknown-store": "指定了未知的上下文存储库'__name__'。 使用默认存储库。" "unknown-store": "指定了未知的上下文存储库'__name__'。 使用默认存储库。",
"localfilesystem": { "localfilesystem": {
"invalid-json": "上下文文件'__file__'中的 JSON 无效" "invalid-json": "上下文文件'__file__'中的 JSON 无效",
"error-circular": "上下文__scope__包含无法保留的循环引用" "error-circular": "上下文__scope__包含无法保留的循环引用",
"error-write": "编写上下文时出错__ message__" "error-write": "编写上下文时出错: __ message__"
} }
} }
} }