diff --git a/cmdb-api/api/translations/zh/LC_MESSAGES/messages.mo b/cmdb-api/api/translations/zh/LC_MESSAGES/messages.mo index c742637..cb5f170 100644 Binary files a/cmdb-api/api/translations/zh/LC_MESSAGES/messages.mo and b/cmdb-api/api/translations/zh/LC_MESSAGES/messages.mo differ diff --git a/cmdb-api/api/translations/zh/LC_MESSAGES/messages.po b/cmdb-api/api/translations/zh/LC_MESSAGES/messages.po index a668075..4783c26 100644 --- a/cmdb-api/api/translations/zh/LC_MESSAGES/messages.po +++ b/cmdb-api/api/translations/zh/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-03-29 10:42+0800\n" +"POT-Creation-Date: 2024-05-28 18:05+0800\n" "PO-Revision-Date: 2023-12-25 20:21+0800\n" "Last-Translator: FULL NAME \n" "Language: zh\n" @@ -284,166 +284,198 @@ msgstr "重复的触发器" msgid "Trigger {} does not exist" msgstr "触发器 {} 不存在" +#: api/lib/cmdb/resp_format.py:81 +msgid "Duplicated reconciliation rule" +msgstr "" + #: api/lib/cmdb/resp_format.py:82 +msgid "Reconciliation rule {} does not exist" +msgstr "关系类型 {} 不存在" + +#: api/lib/cmdb/resp_format.py:84 msgid "Operation record {} does not exist" msgstr "操作记录 {} 不存在" -#: api/lib/cmdb/resp_format.py:83 +#: api/lib/cmdb/resp_format.py:85 msgid "Unique identifier cannot be deleted" msgstr "不能删除唯一标识" -#: api/lib/cmdb/resp_format.py:84 +#: api/lib/cmdb/resp_format.py:86 msgid "Cannot delete default sorted attributes" msgstr "不能删除默认排序的属性" -#: api/lib/cmdb/resp_format.py:86 +#: api/lib/cmdb/resp_format.py:88 msgid "No node selected" msgstr "没有选择节点" -#: api/lib/cmdb/resp_format.py:87 +#: api/lib/cmdb/resp_format.py:89 msgid "This search option does not exist!" msgstr "该搜索选项不存在!" -#: api/lib/cmdb/resp_format.py:88 +#: api/lib/cmdb/resp_format.py:90 msgid "This search option has a duplicate name!" msgstr "该搜索选项命名重复!" -#: api/lib/cmdb/resp_format.py:90 +#: api/lib/cmdb/resp_format.py:92 msgid "Relationship type {} already exists" msgstr "关系类型 {} 已经存在" -#: api/lib/cmdb/resp_format.py:91 +#: api/lib/cmdb/resp_format.py:93 msgid "Relationship type {} does not exist" msgstr "关系类型 {} 不存在" -#: api/lib/cmdb/resp_format.py:93 +#: api/lib/cmdb/resp_format.py:95 msgid "Invalid attribute value: {}" msgstr "无效的属性值: {}" -#: api/lib/cmdb/resp_format.py:94 +#: api/lib/cmdb/resp_format.py:96 msgid "{} Invalid value: {}" msgstr "{} 无效的值: {}" -#: api/lib/cmdb/resp_format.py:95 +#: api/lib/cmdb/resp_format.py:97 msgid "{} is not in the predefined values" msgstr "{} 不在预定义值里" -#: api/lib/cmdb/resp_format.py:97 +#: api/lib/cmdb/resp_format.py:99 msgid "The value of attribute {} must be unique, {} already exists" msgstr "属性 {} 的值必须是唯一的, 当前值 {} 已存在" -#: api/lib/cmdb/resp_format.py:98 +#: api/lib/cmdb/resp_format.py:100 msgid "Attribute {} value must exist" msgstr "属性 {} 值必须存在" -#: api/lib/cmdb/resp_format.py:99 +#: api/lib/cmdb/resp_format.py:101 msgid "Out of range value, the maximum value is 2147483647" msgstr "超过最大值限制, 最大值是2147483647" -#: api/lib/cmdb/resp_format.py:101 +#: api/lib/cmdb/resp_format.py:103 msgid "Unknown error when adding or modifying attribute value: {}" msgstr "新增或者修改属性值未知错误: {}" -#: api/lib/cmdb/resp_format.py:103 +#: api/lib/cmdb/resp_format.py:105 msgid "Duplicate custom name" msgstr "订制名重复" -#: api/lib/cmdb/resp_format.py:105 +#: api/lib/cmdb/resp_format.py:107 msgid "Number of models exceeds limit: {}" msgstr "模型数超过限制: {}" -#: api/lib/cmdb/resp_format.py:106 +#: api/lib/cmdb/resp_format.py:108 msgid "The number of CIs exceeds the limit: {}" msgstr "CI数超过限制: {}" -#: api/lib/cmdb/resp_format.py:108 +#: api/lib/cmdb/resp_format.py:110 msgid "Auto-discovery rule: {} already exists!" msgstr "自动发现规则: {} 已经存在!" -#: api/lib/cmdb/resp_format.py:109 +#: api/lib/cmdb/resp_format.py:111 msgid "Auto-discovery rule: {} does not exist!" msgstr "自动发现规则: {} 不存在!" -#: api/lib/cmdb/resp_format.py:111 +#: api/lib/cmdb/resp_format.py:113 msgid "This auto-discovery rule is referenced by the model and cannot be deleted!" msgstr "该自动发现规则被模型引用, 不能删除!" -#: api/lib/cmdb/resp_format.py:113 +#: api/lib/cmdb/resp_format.py:115 msgid "The application of auto-discovery rules cannot be defined repeatedly!" msgstr "自动发现规则的应用不能重复定义!" -#: api/lib/cmdb/resp_format.py:114 +#: api/lib/cmdb/resp_format.py:116 msgid "The auto-discovery you want to modify: {} does not exist!" msgstr "您要修改的自动发现: {} 不存在!" -#: api/lib/cmdb/resp_format.py:115 +#: api/lib/cmdb/resp_format.py:117 msgid "Attribute does not include unique identifier: {}" msgstr "属性字段没有包括唯一标识: {}" -#: api/lib/cmdb/resp_format.py:116 +#: api/lib/cmdb/resp_format.py:118 msgid "The auto-discovery instance does not exist!" msgstr "自动发现的实例不存在!" -#: api/lib/cmdb/resp_format.py:117 +#: api/lib/cmdb/resp_format.py:119 msgid "The model is not associated with this auto-discovery!" msgstr "模型并未关联该自动发现!" -#: api/lib/cmdb/resp_format.py:118 +#: api/lib/cmdb/resp_format.py:120 msgid "Only the creator can modify the Secret!" msgstr "只有创建人才能修改Secret!" -#: api/lib/cmdb/resp_format.py:120 +#: api/lib/cmdb/resp_format.py:122 msgid "This rule already has auto-discovery instances and cannot be deleted!" msgstr "该规则已经有自动发现的实例, 不能被删除!" -#: api/lib/cmdb/resp_format.py:122 +#: api/lib/cmdb/resp_format.py:124 msgid "The default auto-discovery rule is already referenced by model {}!" msgstr "该默认的自动发现规则 已经被模型 {} 引用!" -#: api/lib/cmdb/resp_format.py:124 +#: api/lib/cmdb/resp_format.py:126 msgid "The unique_key method must return a non-empty string!" msgstr "unique_key方法必须返回非空字符串!" -#: api/lib/cmdb/resp_format.py:125 +#: api/lib/cmdb/resp_format.py:127 msgid "The attributes method must return a list" msgstr "attributes方法必须返回的是list" -#: api/lib/cmdb/resp_format.py:127 +#: api/lib/cmdb/resp_format.py:129 msgid "The list returned by the attributes method cannot be empty!" msgstr "attributes方法返回的list不能为空!" -#: api/lib/cmdb/resp_format.py:129 +#: api/lib/cmdb/resp_format.py:131 msgid "Only administrators can define execution targets as: all nodes!" msgstr "只有管理员才可以定义执行机器为: 所有节点!" -#: api/lib/cmdb/resp_format.py:130 +#: api/lib/cmdb/resp_format.py:132 msgid "Execute targets permission check failed: {}" msgstr "执行机器权限检查不通过: {}" -#: api/lib/cmdb/resp_format.py:132 +#: api/lib/cmdb/resp_format.py:134 msgid "CI filter authorization must be named!" msgstr "CI过滤授权 必须命名!" -#: api/lib/cmdb/resp_format.py:133 +#: api/lib/cmdb/resp_format.py:135 msgid "CI filter authorization is currently not supported or query" msgstr "CI过滤授权 暂时不支持 或 查询" -#: api/lib/cmdb/resp_format.py:136 +#: api/lib/cmdb/resp_format.py:138 msgid "You do not have permission to operate attribute {}!" msgstr "您没有属性 {} 的操作权限!" -#: api/lib/cmdb/resp_format.py:137 +#: api/lib/cmdb/resp_format.py:139 msgid "You do not have permission to operate this CI!" msgstr "您没有该CI的操作权限!" -#: api/lib/cmdb/resp_format.py:139 +#: api/lib/cmdb/resp_format.py:141 msgid "Failed to save password: {}" msgstr "保存密码失败: {}" -#: api/lib/cmdb/resp_format.py:140 +#: api/lib/cmdb/resp_format.py:142 msgid "Failed to get password: {}" msgstr "获取密码失败: {}" +#: api/lib/cmdb/resp_format.py:144 +msgid "Scheduling time format error" +msgstr "{}格式错误,应该为:%Y-%m-%d %H:%M:%S" + +#: api/lib/cmdb/resp_format.py:145 +msgid "CMDB data reconciliation results" +msgstr "" + +#: api/lib/cmdb/resp_format.py:146 +msgid "Number of {} illegal: {}" +msgstr "" + +#: api/lib/cmdb/resp_format.py:148 +msgid "Topology view {} already exists" +msgstr "拓扑视图 {} 已经存在" + +#: api/lib/cmdb/resp_format.py:149 +msgid "Topology group {} already exists" +msgstr "拓扑视图分组 {} 已经存在" + +#: api/lib/cmdb/resp_format.py:151 +msgid "The group cannot be deleted because the topology view already exists" +msgstr "因为该分组下定义了拓扑视图,不能删除" + #: api/lib/common_setting/resp_format.py:8 msgid "Company info already existed" msgstr "公司信息已存在,无法创建!" @@ -700,6 +732,10 @@ msgstr "LDAP测试用户名必填" msgid "Company wide" msgstr "全公司" +#: api/lib/common_setting/resp_format.py:84 +msgid "No permission to access resource {}, perm {} " +msgstr "您没有资源: {} 的 {} 权限" + #: api/lib/perm/acl/resp_format.py:9 msgid "login successful" msgstr "登录成功"