# Conflicts:
#	ui/src/app/locale/locale.constant-zh.js
This commit is contained in:
charlie 2018-06-04 23:17:22 +08:00
commit c79a213eb7

View File

@ -15,6 +15,7 @@
*/ */
export default function addLocaleChinese(locales) { export default function addLocaleChinese(locales) {
var zh_CN = { var zh_CN = {
"access": { "access": {
"unauthorized": "未授权", "unauthorized": "未授权",
"unauthorized-access": "未授权访问", "unauthorized-access": "未授权访问",
@ -38,6 +39,7 @@ export default function addLocaleChinese(locales) {
"update": "更新", "update": "更新",
"remove": "移除", "remove": "移除",
"search": "查询", "search": "查询",
"clear-search": "清除查询",
"assign": "分配", "assign": "分配",
"unassign": "取消分配", "unassign": "取消分配",
"share": "分享", "share": "分享",
@ -236,16 +238,16 @@ export default function addLocaleChinese(locales) {
"delete-asset-text": "小心!确认后资产及其所有相关数据将不可恢复。", "delete-asset-text": "小心!确认后资产及其所有相关数据将不可恢复。",
"delete-assets-title": "确定要删除 { count, select, 1 {1 资产} other {# 资产} }?", "delete-assets-title": "确定要删除 { count, select, 1 {1 资产} other {# 资产} }?",
"delete-assets-action-title": "删除 { count, select, 1 {1 资产} other {# 资产} }", "delete-assets-action-title": "删除 { count, select, 1 {1 资产} other {# 资产} }",
"delete-assets-text": "小心!确认后,所有选定的客户将被删除,所有相关数据将不可恢复。", "delete-assets-text": "小心,确认后,所有选定的资产将被删除,所有相关的数据将变得不可恢复。",
"make-public-asset-title": "确定要将资产 '{{assetName}}' 设为公开?", "make-public-asset-title": "你确定你想创建公开'{{assetName}}'资产?",
"make-public-asset-text": "确认后资产及所有相关数据会被设为公开并对其他人所见。", "make-public-asset-text": "确认后,资产及其所有数据将被公开并被他人访问。",
"make-private-asset-title": "确定要将资产 '{{assetName}}' 设为私有?", "make-private-asset-title": "你确定你想创建私有 '{{assetName}}' 资产?",
"make-private-asset-text": "确认后资产及所有相关数据会被设为私有并对其他人不可见。", "make-private-asset-text": "确认后,资产及其所有数据将被私有化,无法被他人访问。",
"unassign-asset-title": "确定要取消分配资产 '{{assetName}}'?", "unassign-asset-title": "您确定要取消对'{{assetName}}'资产的分配吗?",
"unassign-asset-text": "确定后资产将被取消分配并对客户不可见。", "unassign-asset-text": "确认后,资产将未分配,客户无法访问。",
"unassign-asset": "取消分配资产", "unassign-asset": "未分配资产",
"unassign-assets-title": "确定要取消分配 { count, select, 1 {1 资产} other {# 资产} }?", "unassign-assets-title": "确定要取消分配 { count, select, 1 {1 资产} other {# 资产} }?",
"unassign-assets-text": "确定后资产将被取消分配并对客户不可见。", "unassign-assets-text": "确认后,所有选定的资产将被分配,客户无法访问。",
"copyId": "复制资产ID", "copyId": "复制资产ID",
"idCopiedMessage": "资产ID已经复制到粘贴板", "idCopiedMessage": "资产ID已经复制到粘贴板",
"select-asset": "选择资产", "select-asset": "选择资产",
@ -336,7 +338,7 @@ export default function addLocaleChinese(locales) {
"enter-password": "输入密码", "enter-password": "输入密码",
"enter-search": "输入检索条件" "enter-search": "输入检索条件"
}, },
"content-type": { // TODO "content-type": {
"json": "Json", "json": "Json",
"text": "Text", "text": "Text",
"binary": "Binary (Base64)" "binary": "Binary (Base64)"
@ -382,7 +384,10 @@ export default function addLocaleChinese(locales) {
"idCopiedMessage": "客户ID已复制到粘贴板", "idCopiedMessage": "客户ID已复制到粘贴板",
"select-customer": "选择客户", "select-customer": "选择客户",
"no-customers-matching": "没有找到匹配 '{{entity}}' 的客户。", "no-customers-matching": "没有找到匹配 '{{entity}}' 的客户。",
"customer-required": "客户是必选项" "customer-required": "客户是必选项",
"select-default-customer": "选择默认的客户",
"default-customer": "默认客户",
"default-customer-required": "为了调试租户级别上的仪表板,需要默认客户。"
}, },
"datetime": { "datetime": {
"date-from": "日期从", "date-from": "日期从",
@ -403,6 +408,12 @@ export default function addLocaleChinese(locales) {
"unassign-from-customer": "取消分配客户", "unassign-from-customer": "取消分配客户",
"make-public": "仪表板设为公开", "make-public": "仪表板设为公开",
"make-private": "仪表板设为私有", "make-private": "仪表板设为私有",
"manage-assigned-customers": "管理已分配的客户",
"assigned-customers": "已分配的客户",
"assign-to-customers": "将仪表板分配给客户",
"assign-to-customers-text": "请选择客户指定仪表板",
"unassign-from-customers": "客户未分配仪表板",
"unassign-from-customers-text": "请选择从仪表板中取消分配的客户",
"no-dashboards-text": "没有找到仪表板", "no-dashboards-text": "没有找到仪表板",
"no-widgets": "没有配置部件", "no-widgets": "没有配置部件",
"add-widget": "添加新的部件", "add-widget": "添加新的部件",
@ -418,6 +429,7 @@ export default function addLocaleChinese(locales) {
"assign-dashboards": "分配仪表板", "assign-dashboards": "分配仪表板",
"assign-new-dashboard": "分配新的仪表板", "assign-new-dashboard": "分配新的仪表板",
"assign-dashboards-text": "分配 { count, select, 1 {1 仪表板} other {# 仪表板} } 给客户", "assign-dashboards-text": "分配 { count, select, 1 {1 仪表板} other {# 仪表板} } 给客户",
"unassign-dashboards-action-text": "未分配 { count, select, 1 {1 仪表板} other {# 仪表板} } 给客户",
"delete-dashboards": "删除仪表板", "delete-dashboards": "删除仪表板",
"unassign-dashboards": "取消分配仪表板", "unassign-dashboards": "取消分配仪表板",
"unassign-dashboards-action-title": "从客户处取消分配 { count, select, 1 {1 仪表板} other {# 仪表板} } ", "unassign-dashboards-action-title": "从客户处取消分配 { count, select, 1 {1 仪表板} other {# 仪表板} } ",
@ -733,6 +745,11 @@ export default function addLocaleChinese(locales) {
"type-alarms": "警告", "type-alarms": "警告",
"list-of-alarms": "{ count, select, 1 {警告} other {# 警告列表} }", "list-of-alarms": "{ count, select, 1 {警告} other {# 警告列表} }",
"alarm-name-starts-with": "以 '{{prefix}}' 开头的警告", "alarm-name-starts-with": "以 '{{prefix}}' 开头的警告",
"type-rulechain": "规则链",
"type-rulechains": "规则链库",
"list-of-rulechains": "{ count, select, 1 {One rule chain} other {List of # rule chains} }",
"rulechain-name-starts-with": "规则链前缀名称 '{{prefix}}'",
"type-current-customer": "当前客户",
"search": "实体检索", "search": "实体检索",
"selected-entities": "{ count, select, 1 {1 实体} other {# 实体} } 被选中", "selected-entities": "{ count, select, 1 {1 实体} other {# 实体} } 被选中",
"entity-name": "实体名", "entity-name": "实体名",
@ -745,6 +762,8 @@ export default function addLocaleChinese(locales) {
"type-error": "错误", "type-error": "错误",
"type-lc-event": "生命周期事件", "type-lc-event": "生命周期事件",
"type-stats": "类型统计", "type-stats": "类型统计",
"type-debug-rule-node": "调试",
"type-debug-rule-chain": "调试",
"no-events-prompt": "找不到事件", "no-events-prompt": "找不到事件",
"error": "错误", "error": "错误",
"alarm": "报警", "alarm": "报警",
@ -752,6 +771,14 @@ export default function addLocaleChinese(locales) {
"server": "服务器", "server": "服务器",
"body": "整体", "body": "整体",
"method": "方法", "method": "方法",
"type": "类型",
"entity": "实体",
"message-id": "消息ID",
"message-type": "消息类型",
"data-type": "数据类型",
"relation-type": "关系类型",
"metadata": "元数据",
"data": "数据",
"event": "事件", "event": "事件",
"status": "状态", "status": "状态",
"success": "成功", "success": "成功",
@ -759,7 +786,7 @@ export default function addLocaleChinese(locales) {
"messages-processed": "消息处理", "messages-processed": "消息处理",
"errors-occurred": "错误发生" "errors-occurred": "错误发生"
}, },
"extension": { // TODO "extension": {
"extensions": "Extensions", "extensions": "Extensions",
"selected-extensions": "{ count, select, 1 {1 extension} other {# extensions} } selected", "selected-extensions": "{ count, select, 1 {1 extension} other {# extensions} } selected",
"type": "Type", "type": "Type",
@ -899,7 +926,6 @@ export default function addLocaleChinese(locales) {
"modbus-register-count": "Register count", "modbus-register-count": "Register count",
"modbus-register-count-range": "Register count should be a positive value.", "modbus-register-count-range": "Register count should be a positive value.",
"modbus-byte-order": "Byte order", "modbus-byte-order": "Byte order",
"sync": { "sync": {
"status": "Status", "status": "Status",
"sync": "Sync", "sync": "Sync",
@ -958,14 +984,15 @@ export default function addLocaleChinese(locales) {
}, },
"js-func": { "js-func": {
"no-return-error": "函数必须返回值!", "no-return-error": "函数必须返回值!",
"return-type-mismatch": "函数必须返回 '{{type}}' 类型的值!" "return-type-mismatch": "函数必须返回 '{{type}}' 类型的值!",
"tidy": "Tidy"
}, },
"key-val": { // TODO "key-val": {
"key": "Key", "key": "键名",
"value": "Value", "value": "值",
"remove-entry": "Remove entry", "remove-entry": "删除条目",
"add-entry": "Add entry", "add-entry": "增加条目",
"no-data": "No entries" "no-data": "没有条目"
}, },
"layout": { "layout": {
"layout": "布局", "layout": "布局",
@ -1005,6 +1032,47 @@ export default function addLocaleChinese(locales) {
"password-link-sent-message": "密码重置链接已成功发送!", "password-link-sent-message": "密码重置链接已成功发送!",
"email": "电子邮件" "email": "电子邮件"
}, },
"plugin": {
"plugins": "插件",
"delete": "删除插件",
"activate": "激活插件",
"suspend": "暂停插件",
"active": "激活",
"suspended": "暂停",
"name": "名称",
"name-required": "名称必填。",
"description": "描述",
"add": "添加插件",
"delete-plugin-title": "你确定要删除插件 '{{pluginName}}' 吗?",
"delete-plugin-text": "小心!确认后,插件和所有相关数据将不可恢复。",
"delete-plugins-title": "你确定你要删除 { count, select, 1 {1 插件} other {# 插件} } 吗?",
"delete-plugins-action-title": "删除 { count, select, 1 {1 插件} other {# 插件} }",
"delete-plugins-text": "小心!确认后,所有选定的插件将被删除,所有相关数据将不可恢复。",
"add-plugin-text": "添加新的插件",
"no-plugins-text": "没有找到插件",
"plugin-details": "插件详细信息",
"api-token": "API令牌",
"api-token-required": "API令牌必填。",
"type": "插件类型",
"type-required": "插件类型必填。",
"configuration": "插件配置",
"system": "系统",
"select-plugin": "选择插件",
"plugin": "插件",
"no-plugins-matching": "没有找到匹配'{{entity}}'的插件。",
"plugin-required": "插件必填。",
"plugin-require-match": "请选择一个现有的插件。",
"events": "事件",
"details": "详情",
"import": "导入插件",
"export": "导出插件",
"export-failed-error": "无法导出插件:{{error}}",
"create-new-plugin": "创建新的插件",
"plugin-file": "插件文件",
"invalid-plugin-file-error": "无法导入插件:插件数据结构无效。",
"copyId": "复制插件ID",
"idCopiedMessage": "插件ID已经复制到粘贴板"
},
"position": { "position": {
"top": "顶部", "top": "顶部",
"bottom": "底部", "bottom": "底部",
@ -1058,97 +1126,101 @@ export default function addLocaleChinese(locales) {
"additional-info": "附加信息 (JSON)", "additional-info": "附加信息 (JSON)",
"invalid-additional-info": "无法解析附加信息json。" "invalid-additional-info": "无法解析附加信息json。"
}, },
"rulechain": { // TODO "rulechain": {
"rulechain": "Rule chain", "rulechain": "规则链",
"rulechains": "Rule chains", "rulechains": "规则链库",
"root": "Root", "root": "根实体",
"delete": "Delete rule chain", "delete": "删除规则",
"name": "Name", "activate": "激活规则",
"name-required": "Name is required.", "suspend": "暂停规则",
"description": "Description", "active": "激活",
"add": "Add Rule Chain", "suspended": "暂停",
"set-root": "Make rule chain root", "name": "名称",
"set-root-rulechain-title": "Are you sure you want to make the rule chain '{{ruleChainName}}' root?", "name-required": "名称必填。",
"set-root-rulechain-text": "After the confirmation the rule chain will become root and will handle all incoming transport messages.", "description": "描述",
"delete-rulechain-title": "Are you sure you want to delete the rule chain '{{ruleChainName}}'?", "add": "添加规则",
"delete-rulechain-text": "Be careful, after the confirmation the rule chain and all related data will become unrecoverable.", "set-root": "创建规则链根",
"delete-rulechains-title": "Are you sure you want to delete { count, select, 1 {1 rule chain} other {# rule chains} }?", "set-root-rulechain-title": "您确定要生成规则链'{{RuleChainName}}'根吗?",
"delete-rulechains-action-title": "Delete { count, select, 1 {1 rule chain} other {# rule chains} }", "set-root-rulechain-text": "确认之后,规则链将变为根规格链,并将处理所有传入的传输消息。",
"delete-rulechains-text": "Be careful, after the confirmation all selected rule chains will be removed and all related data will become unrecoverable.", "delete-rulechain-title": " 确实要删除规则链'{{ruleChainName}}'吗?",
"add-rulechain-text": "Add new rule chain", "delete-rulechain-text": "小心,在确认规则链和所有相关数据将变得不可恢复。",
"no-rulechains-text": "No rule chains found", "delete-rulechains-title": "确实要删除{count, select, 1 { 1 规则链}其他{# 规则链库}}吗?",
"rulechain-details": "Rule chain details", "delete-rulechains-action-title": "删除 { count, select, 1 {1 规则链} other {# 规则链库} }",
"details": "Details", "delete-rulechains-text": "小心,确认后,所有选定的规则链将被删除,所有相关的数据将变得不可恢复。",
"events": "Events", "add-rulechain-text": "添加新的规则链",
"system": "System", "no-rulechains-text": "规则链没有发现",
"import": "Import rule chain", "rulechain-details": "规则链详情",
"export": "Export rule chain", "details": "详情",
"export-failed-error": "Unable to export rule chain: {{error}}", "events": "事件",
"create-new-rulechain": "Create new rule chain", "system": "系统",
"rulechain-file": "Rule chain file", "import": "导入规则",
"invalid-rulechain-file-error": "Unable to import rule chain: Invalid rule chain data structure.", "export": "导出规则",
"copyId": "Copy rule chain Id", "export-failed-error": "无法导出规则:{{error}}",
"idCopiedMessage": "Rule chain Id has been copied to clipboard", "create-new-rulechain": "创建新的规则链",
"select-rulechain": "Select rule chain", "rulechain-file": "规则链文件",
"no-rulechains-matching": "No rule chains matching '{{entity}}' were found.", "invalid-rulechain-file-error": "不能导入规则链:无效的规则链数据格式。",
"rulechain-required": "Rule chain is required", "copyId": "复制规则链ID",
"management": "Rules management", "idCopiedMessage": "规则ID已经复制到粘贴板",
"debug-mode": "Debug mode" "select-rulechain": "选择规则链",
"no-rulechains-matching": "没有发现匹配'{{entity}}'的规则链。",
"rulechain-required": "规则链必填",
"management": "规则集管理",
"debug-mode": "调试模式"
}, },
"rulenode": { // TODO "rulenode": {
"details": "Details", "details": "详情",
"events": "Events", "events": "事件",
"search": "Search nodes", "search": "搜索节点",
"open-node-library": "Open node library", "open-node-library": "打开节点库",
"add": "Add rule node", "add": "添加规则节点",
"name": "Name", "name": "名称",
"name-required": "Name is required.", "name-required": "名称必填。",
"type": "Type", "type": "类型",
"description": "Description", "description": "描述",
"delete": "Delete rule node", "delete": "删除规则节点",
"select-all-objects": "Select all nodes and connections", "select-all-objects": "选择所有节点和连接",
"deselect-all-objects": "Deselect all nodes and connections", "deselect-all-objects": "取消选择所有节点和连接",
"delete-selected-objects": "Delete selected nodes and connections", "delete-selected-objects": "删除选定的节点和连接",
"delete-selected": "Delete selected", "delete-selected": "删除选定",
"select-all": "Select all", "select-all": "选择全部",
"copy-selected": "Copy selected", "copy-selected": "选择副本",
"deselect-all": "Deselect all", "deselect-all": "取消选择",
"rulenode-details": "Rule node details", "rulenode-details": "规则节点详情",
"debug-mode": "Debug mode", "debug-mode": "调试模式",
"configuration": "Configuration", "configuration": "配置",
"link": "Link", "link": "链接",
"link-details": "Rule node link details", "link-details": "规则节点链接详情",
"add-link": "Add link", "add-link": "添加链接",
"link-label": "Link label", "link-label": "链接标签",
"link-label-required": "Link label is required.", "link-label-required": "链接标签必填",
"custom-link-label": "Custom link label", "custom-link-label": "自定义链接标签",
"custom-link-label-required": "Custom link label is required.", "custom-link-label-required": "自定义链接标签必填",
"type-filter": "Filter", "type-filter": "滤波器",
"type-filter-details": "Filter incoming messages with configured conditions", "type-filter-details": "使用配置条件过滤传入消息",
"type-enrichment": "Enrichment", "type-enrichment": "属性集",
"type-enrichment-details": "Add additional information into Message Metadata", "type-enrichment-details": "向消息元数据中添加附加信息",
"type-transformation": "Transformation", "type-transformation": "变换",
"type-transformation-details": "Change Message payload and Metadata", "type-transformation-details": "更改消息有效载荷和元数据",
"type-action": "Action", "type-action": "动作",
"type-action-details": "Perform special action", "type-action-details": "执行特别动作",
"type-external": "External", "type-external": "外部的",
"type-external-details": "Interacts with external system", "type-external-details": "与外部系统交互",
"type-rule-chain": "Rule Chain", "type-rule-chain": "规则链",
"type-rule-chain-details": "Forwards incoming messages to specified Rule Chain", "type-rule-chain-details": "将传入消息转发到指定的规则链",
"type-input": "Input", "type-input": "输入",
"type-input-details": "Logical input of Rule Chain, forwards incoming messages to next related Rule Node", "type-input-details": "规则链的逻辑输入,将传入消息转发到下一个相关规则节点",
"directive-is-not-loaded": "Defined configuration directive '{{directiveName}}' is not available.", "directive-is-not-loaded": "定义的配置指令 '{{directiveName}}' 不可用。",
"ui-resources-load-error": "Failed to load configuration ui resources.", "ui-resources-load-error": "加载配置UI资源失败。",
"invalid-target-rulechain": "Unable to resolve target rule chain!", "invalid-target-rulechain": "无法解析目标规则链!",
"test-script-function": "Test script function", "test-script-function": "测试脚本功能",
"message": "Message", "message": "消息",
"message-type": "Message type", "message-type": "消息类型",
"message-type-required": "Message type is required", "message-type-required": "消息类型必填",
"metadata": "Metadata", "metadata": "元数据",
"metadata-required": "Metadata entries can't be empty.", "metadata-required": "元数据项不能为空。",
"output": "Output", "output": "输出",
"test": "Test", "test": "测试",
"help": "Help" "help": "帮助"
}, },
"tenant": { "tenant": {
"tenant": "租户", "tenant": "租户",
@ -1241,7 +1313,7 @@ export default function addLocaleChinese(locales) {
"activation-link-text": "使用该链接 <a href='{{activationLink}}' target='_blank'>激活</a> 激活用户:", "activation-link-text": "使用该链接 <a href='{{activationLink}}' target='_blank'>激活</a> 激活用户:",
"copy-activation-link": "复制用户激活链接", "copy-activation-link": "复制用户激活链接",
"activation-link-copied-message": "用户激活链接已经复制到粘贴板", "activation-link-copied-message": "用户激活链接已经复制到粘贴板",
"details": "Details" // TODO "details": "Details"
}, },
"value": { "value": {
"type": "值类型", "type": "值类型",
@ -1255,21 +1327,24 @@ export default function addLocaleChinese(locales) {
"boolean": "布尔", "boolean": "布尔",
"boolean-value": "布尔值", "boolean-value": "布尔值",
"false": "假", "false": "假",
"true": "真" "true": "真",
"long": "Long"
}, },
"widget": { "widget": {
"widget-library": "部件库", "widget-library": "部件库",
"widget-bundle": "部件包", "widget-bundle": "部件包",
"select-widgets-bundle": "选择部件包", "select-widgets-bundle": "选择部件包",
"management": "部件管理", "management": "管理部件",
"editor": "部件编辑器", "editor": "部件编辑器",
"widget-type-not-found": "加载部件配置时出现问题。<br> 可能关联的\n 部件类型已删除。", "widget-type-not-found": "加载部件配置出错。<br>可能关联的\n 部件已经删除了。",
"widget-type-load-error": "由于以下错误,部件未加载:", "widget-type-load-error": "由于以下错误未加载小部件",
"remove": "删除部件", "remove": "删除部件",
"edit": "编辑部件", "edit": "编辑部件",
"remove-widget-title": "您确定要删除部件 '{{widgetTitle}}' 吗?", "remove-widget-title": "确实要删除 '{{widgetTitle}}'部件吗?",
"remove-widget-text": "确认后,窗口部件和所有相关数据将不可恢复。", "remove-widget-text": "确认后,控件和所有相关数据将变得不可恢复。",
"timeseries": "时间序列", "timeseries": "时间序列",
"search-data": "搜索数据",
"no-data-found": "没有找到数据",
"latest-values": "最新值", "latest-values": "最新值",
"rpc": "控件部件", "rpc": "控件部件",
"alarm": "警告部件", "alarm": "警告部件",
@ -1277,11 +1352,12 @@ export default function addLocaleChinese(locales) {
"select-widget-type": "选择窗口部件类型", "select-widget-type": "选择窗口部件类型",
"missing-widget-title-error": "部件标题必须指定!", "missing-widget-title-error": "部件标题必须指定!",
"widget-saved": "部件已保存", "widget-saved": "部件已保存",
"unable-to-save-widget-error": "无法保存窗口部件! 部件有错误!", "unable-to-save-widget-error": "无法保存部件!控件有错误!",
"save": "保存部件", "save": "保存部件",
"saveAs": "将部件另存为", "saveAs": "部件另存为",
"save-widget-type-as": "将部件类型另存为", "save-widget-type-as": "部件类型另存为",
"save-widget-type-as-text": "请输入新的部件标题和/或选择目标部件包", "save-widget-type-as-text": "请输入新的部件标题或选择目标部件包",
"toggle-fullscreen": "切换全屏", "toggle-fullscreen": "切换全屏",
"run": "运行部件", "run": "运行部件",
"title": "部件标题", "title": "部件标题",
@ -1408,14 +1484,6 @@ export default function addLocaleChinese(locales) {
"material-icons": "素材图标", "material-icons": "素材图标",
"show-all": "显示所有图标" "show-all": "显示所有图标"
}, },
"custom": { // TODO
"widget-action": {
"action-cell-button": "Action cell button",
"row-click": "On row click",
"marker-click": "On marker click",
"tooltip-tag-action": "Tooltip tag action"
}
},
"language": { "language": {
"language": "语言", "language": "语言",
"en_US": "英语", "en_US": "英语",