fix: i18n

pull/6833/head
Michael Bai 2021-09-13 20:37:45 +08:00 committed by Jiangjie.Bai
parent 29645768a0
commit 4618989813
2 changed files with 262 additions and 224 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n" "Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-13 19:13+0800\n" "POT-Creation-Date: 2021-09-13 20:32+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n" "Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n" "Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -60,8 +60,8 @@ msgstr "激活中"
#: orgs/models.py:27 perms/models/base.py:53 settings/models.py:34 #: orgs/models.py:27 perms/models/base.py:53 settings/models.py:34
#: terminal/models/storage.py:26 terminal/models/terminal.py:114 #: terminal/models/storage.py:26 terminal/models/terminal.py:114
#: tickets/models/ticket.py:71 users/models/group.py:16 #: tickets/models/ticket.py:71 users/models/group.py:16
#: users/models/user.py:637 xpack/plugins/change_auth_plan/models.py:77 #: users/models/user.py:637 xpack/plugins/change_auth_plan/models/base.py:41
#: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:108 #: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:113
#: xpack/plugins/gathered_user/models.py:26 #: xpack/plugins/gathered_user/models.py:26
msgid "Comment" msgid "Comment"
msgstr "备注" msgstr "备注"
@ -125,8 +125,8 @@ msgstr "系统用户"
#: terminal/backends/command/serializers.py:13 terminal/models/session.py:40 #: terminal/backends/command/serializers.py:13 terminal/models/session.py:40
#: users/templates/users/user_asset_permission.html:40 #: users/templates/users/user_asset_permission.html:40
#: users/templates/users/user_asset_permission.html:70 #: users/templates/users/user_asset_permission.html:70
#: xpack/plugins/change_auth_plan/models.py:282 #: xpack/plugins/change_auth_plan/models/asset.py:195
#: xpack/plugins/cloud/models.py:212 #: xpack/plugins/cloud/models.py:217
msgid "Asset" msgid "Asset"
msgstr "资产" msgstr "资产"
@ -139,7 +139,7 @@ msgstr "审批人"
msgid "Login asset confirm" msgid "Login asset confirm"
msgstr "登录资产复核" msgstr "登录资产复核"
#: acls/serializers/login_acl.py:18 xpack/plugins/cloud/serializers.py:165 #: acls/serializers/login_acl.py:18 xpack/plugins/cloud/serializers/task.py:23
msgid "IP address invalid: `{}`" msgid "IP address invalid: `{}`"
msgstr "IP 地址无效: `{}`" msgstr "IP 地址无效: `{}`"
@ -179,9 +179,9 @@ msgstr "格式为逗号分隔的字符串, * 表示匹配所有. "
#: audits/models.py:105 authentication/forms.py:15 authentication/forms.py:17 #: audits/models.py:105 authentication/forms.py:15 authentication/forms.py:17
#: ops/models/adhoc.py:148 users/forms/profile.py:31 users/models/user.py:602 #: ops/models/adhoc.py:148 users/forms/profile.py:31 users/models/user.py:602
#: users/templates/users/_select_user_modal.html:14 #: users/templates/users/_select_user_modal.html:14
#: xpack/plugins/change_auth_plan/models.py:47 #: xpack/plugins/change_auth_plan/models/asset.py:35
#: xpack/plugins/change_auth_plan/models.py:278 #: xpack/plugins/change_auth_plan/models/asset.py:191
#: xpack/plugins/cloud/serializers.py:67 #: xpack/plugins/cloud/serializers/account_attrs.py:62
msgid "Username" msgid "Username"
msgstr "用户名" msgstr "用户名"
@ -234,6 +234,7 @@ msgstr "我的应用"
#: applications/const.py:8 applications/models/account.py:10 #: applications/const.py:8 applications/models/account.py:10
#: applications/serializers/attrs/application_category/db.py:14 #: applications/serializers/attrs/application_category/db.py:14
#: applications/serializers/attrs/application_type/mysql_workbench.py:26 #: applications/serializers/attrs/application_type/mysql_workbench.py:26
#: xpack/plugins/change_auth_plan/models/app.py:32
msgid "Database" msgid "Database"
msgstr "数据库" msgstr "数据库"
@ -257,6 +258,8 @@ msgstr "自定义"
#: users/templates/users/user_asset_permission.html:159 #: users/templates/users/user_asset_permission.html:159
#: users/templates/users/user_database_app_permission.html:40 #: users/templates/users/user_database_app_permission.html:40
#: users/templates/users/user_database_app_permission.html:67 #: users/templates/users/user_database_app_permission.html:67
#: xpack/plugins/change_auth_plan/models/app.py:36
#: xpack/plugins/change_auth_plan/models/app.py:142
msgid "System user" msgid "System user"
msgstr "系统用户" msgstr "系统用户"
@ -266,7 +269,7 @@ msgid "Version"
msgstr "版本" msgstr "版本"
#: applications/models/account.py:18 xpack/plugins/cloud/models.py:82 #: applications/models/account.py:18 xpack/plugins/cloud/models.py:82
#: xpack/plugins/cloud/serializers.py:204 #: xpack/plugins/cloud/serializers/task.py:65
msgid "Account" msgid "Account"
msgstr "账户" msgstr "账户"
@ -279,6 +282,7 @@ msgstr "应用管理"
#: perms/models/application_permission.py:20 #: perms/models/application_permission.py:20
#: perms/serializers/application/user_permission.py:33 #: perms/serializers/application/user_permission.py:33
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:20 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:20
#: xpack/plugins/change_auth_plan/models/app.py:25
msgid "Category" msgid "Category"
msgstr "类别" msgstr "类别"
@ -289,6 +293,8 @@ msgstr "类别"
#: terminal/models/storage.py:55 terminal/models/storage.py:116 #: terminal/models/storage.py:55 terminal/models/storage.py:116
#: tickets/models/flow.py:51 tickets/models/ticket.py:48 #: tickets/models/flow.py:51 tickets/models/ticket.py:48
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:27 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:27
#: xpack/plugins/change_auth_plan/models/app.py:28
#: xpack/plugins/change_auth_plan/models/app.py:148
msgid "Type" msgid "Type"
msgstr "类型" msgstr "类型"
@ -314,7 +320,7 @@ msgstr "类别名称"
#: perms/serializers/application/permission.py:17 #: perms/serializers/application/permission.py:17
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:31 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:31
#: tickets/serializers/ticket/ticket.py:22 #: tickets/serializers/ticket/ticket.py:22
#: tickets/serializers/ticket/ticket.py:162 #: tickets/serializers/ticket/ticket.py:168
msgid "Type display" msgid "Type display"
msgstr "类型名称" msgstr "类型名称"
@ -329,7 +335,7 @@ msgstr "集群"
#: applications/serializers/attrs/application_category/db.py:11 #: applications/serializers/attrs/application_category/db.py:11
#: ops/models/adhoc.py:146 settings/serializers/auth/radius.py:14 #: ops/models/adhoc.py:146 settings/serializers/auth/radius.py:14
#: xpack/plugins/cloud/serializers.py:65 #: xpack/plugins/cloud/serializers/account_attrs.py:60
msgid "Host" msgid "Host"
msgstr "主机" msgstr "主机"
@ -339,7 +345,8 @@ msgstr "主机"
#: applications/serializers/attrs/application_type/oracle.py:11 #: applications/serializers/attrs/application_type/oracle.py:11
#: applications/serializers/attrs/application_type/pgsql.py:11 #: applications/serializers/attrs/application_type/pgsql.py:11
#: assets/models/asset.py:185 assets/models/domain.py:62 #: assets/models/asset.py:185 assets/models/domain.py:62
#: settings/serializers/auth/radius.py:15 xpack/plugins/cloud/serializers.py:66 #: settings/serializers/auth/radius.py:15
#: xpack/plugins/cloud/serializers/account_attrs.py:61
msgid "Port" msgid "Port"
msgstr "端口" msgstr "端口"
@ -351,6 +358,11 @@ msgid "Application path"
msgstr "应用路径" msgstr "应用路径"
#: applications/serializers/attrs/application_category/remote_app.py:45 #: applications/serializers/attrs/application_category/remote_app.py:45
#: xpack/plugins/change_auth_plan/serializers/asset.py:65
#: xpack/plugins/change_auth_plan/serializers/asset.py:68
#: xpack/plugins/change_auth_plan/serializers/asset.py:71
#: xpack/plugins/change_auth_plan/serializers/asset.py:87
#: xpack/plugins/cloud/serializers/account_attrs.py:44
msgid "This field is required." msgid "This field is required."
msgstr "该字段是必填项。" msgstr "该字段是必填项。"
@ -370,10 +382,10 @@ msgstr "目标URL"
#: users/templates/users/user_otp_check_password.html:13 #: users/templates/users/user_otp_check_password.html:13
#: users/templates/users/user_password_update.html:43 #: users/templates/users/user_password_update.html:43
#: users/templates/users/user_password_verify.html:18 #: users/templates/users/user_password_verify.html:18
#: xpack/plugins/change_auth_plan/models.py:68 #: xpack/plugins/change_auth_plan/models/base.py:39
#: xpack/plugins/change_auth_plan/models.py:190 #: xpack/plugins/change_auth_plan/models/base.py:114
#: xpack/plugins/change_auth_plan/models.py:285 #: xpack/plugins/change_auth_plan/models/base.py:182
#: xpack/plugins/cloud/serializers.py:69 #: xpack/plugins/cloud/serializers/account_attrs.py:64
msgid "Password" msgid "Password"
msgstr "密码" msgstr "密码"
@ -425,13 +437,13 @@ msgstr "系统平台"
#: assets/models/asset.py:186 assets/serializers/asset.py:65 #: assets/models/asset.py:186 assets/serializers/asset.py:65
#: perms/serializers/asset/user_permission.py:41 #: perms/serializers/asset/user_permission.py:41
#: xpack/plugins/cloud/models.py:99 xpack/plugins/cloud/serializers.py:183 #: xpack/plugins/cloud/models.py:104 xpack/plugins/cloud/serializers/task.py:42
msgid "Protocols" msgid "Protocols"
msgstr "协议组" msgstr "协议组"
#: assets/models/asset.py:189 assets/models/user.py:198 #: assets/models/asset.py:189 assets/models/user.py:198
#: perms/models/asset_permission.py:100 #: perms/models/asset_permission.py:100
#: xpack/plugins/change_auth_plan/models.py:56 #: xpack/plugins/change_auth_plan/models/asset.py:44
#: xpack/plugins/gathered_user/models.py:24 #: xpack/plugins/gathered_user/models.py:24
msgid "Nodes" msgid "Nodes"
msgstr "节点" msgstr "节点"
@ -444,7 +456,6 @@ msgstr "激活"
#: assets/models/asset.py:193 assets/models/cluster.py:19 #: assets/models/asset.py:193 assets/models/cluster.py:19
#: assets/models/user.py:195 assets/models/user.py:330 templates/_nav.html:44 #: assets/models/user.py:195 assets/models/user.py:330 templates/_nav.html:44
#: xpack/plugins/cloud/models.py:96 xpack/plugins/cloud/serializers.py:205
msgid "Admin user" msgid "Admin user"
msgstr "特权用户" msgstr "特权用户"
@ -521,8 +532,9 @@ msgstr "标签管理"
#: assets/models/cmd_filter.py:67 assets/models/group.py:21 #: assets/models/cmd_filter.py:67 assets/models/group.py:21
#: common/db/models.py:70 common/mixins/models.py:49 orgs/models.py:25 #: common/db/models.py:70 common/mixins/models.py:49 orgs/models.py:25
#: orgs/models.py:437 perms/models/base.py:51 users/models/user.py:645 #: orgs/models.py:437 perms/models/base.py:51 users/models/user.py:645
#: users/serializers/group.py:33 xpack/plugins/change_auth_plan/models.py:81 #: users/serializers/group.py:33
#: xpack/plugins/cloud/models.py:114 xpack/plugins/gathered_user/models.py:30 #: xpack/plugins/change_auth_plan/models/base.py:45
#: xpack/plugins/cloud/models.py:119 xpack/plugins/gathered_user/models.py:30
msgid "Created by" msgid "Created by"
msgstr "创建者" msgstr "创建者"
@ -532,7 +544,7 @@ msgstr "创建者"
#: assets/models/label.py:25 common/db/models.py:72 common/mixins/models.py:50 #: assets/models/label.py:25 common/db/models.py:72 common/mixins/models.py:50
#: ops/models/adhoc.py:38 ops/models/command.py:29 orgs/models.py:26 #: ops/models/adhoc.py:38 ops/models/command.py:29 orgs/models.py:26
#: orgs/models.py:435 perms/models/base.py:52 users/models/group.py:18 #: orgs/models.py:435 perms/models/base.py:52 users/models/group.py:18
#: users/models/user.py:836 xpack/plugins/cloud/models.py:117 #: users/models/user.py:836 xpack/plugins/cloud/models.py:122
msgid "Date created" msgid "Date created"
msgstr "创建日期" msgstr "创建日期"
@ -549,7 +561,7 @@ msgid "Ok"
msgstr "成功" msgstr "成功"
#: assets/models/base.py:32 audits/models.py:102 #: assets/models/base.py:32 audits/models.py:102
#: xpack/plugins/cloud/const.py:27 #: xpack/plugins/cloud/const.py:28
msgid "Failed" msgid "Failed"
msgstr "失败" msgstr "失败"
@ -561,15 +573,15 @@ msgstr "可连接性"
msgid "Date verified" msgid "Date verified"
msgstr "校验日期" msgstr "校验日期"
#: assets/models/base.py:178 xpack/plugins/change_auth_plan/models.py:72 #: assets/models/base.py:178 xpack/plugins/change_auth_plan/models/asset.py:54
#: xpack/plugins/change_auth_plan/models.py:197 #: xpack/plugins/change_auth_plan/models/asset.py:126
#: xpack/plugins/change_auth_plan/models.py:292 #: xpack/plugins/change_auth_plan/models/asset.py:202
msgid "SSH private key" msgid "SSH private key"
msgstr "SSH密钥" msgstr "SSH密钥"
#: assets/models/base.py:179 xpack/plugins/change_auth_plan/models.py:75 #: assets/models/base.py:179 xpack/plugins/change_auth_plan/models/asset.py:57
#: xpack/plugins/change_auth_plan/models.py:193 #: xpack/plugins/change_auth_plan/models/asset.py:122
#: xpack/plugins/change_auth_plan/models.py:288 #: xpack/plugins/change_auth_plan/models/asset.py:198
msgid "SSH public key" msgid "SSH public key"
msgstr "SSH公钥" msgstr "SSH公钥"
@ -731,7 +743,7 @@ msgstr "ssh私钥"
#: users/templates/users/user_asset_permission.html:41 #: users/templates/users/user_asset_permission.html:41
#: users/templates/users/user_asset_permission.html:73 #: users/templates/users/user_asset_permission.html:73
#: users/templates/users/user_asset_permission.html:158 #: users/templates/users/user_asset_permission.html:158
#: xpack/plugins/cloud/models.py:93 xpack/plugins/cloud/serializers.py:206 #: xpack/plugins/cloud/models.py:93 xpack/plugins/cloud/serializers/task.py:68
msgid "Node" msgid "Node"
msgstr "节点" msgstr "节点"
@ -752,7 +764,7 @@ msgid "Username same with user"
msgstr "用户名与用户相同" msgstr "用户名与用户相同"
#: assets/models/user.py:200 assets/serializers/domain.py:28 #: assets/models/user.py:200 assets/serializers/domain.py:28
#: templates/_nav.html:39 xpack/plugins/change_auth_plan/models.py:52 #: templates/_nav.html:39 xpack/plugins/change_auth_plan/models/asset.py:40
msgid "Assets" msgid "Assets"
msgstr "资产" msgstr "资产"
@ -1081,8 +1093,8 @@ msgstr "成功"
#: terminal/models/session.py:52 #: terminal/models/session.py:52
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:53 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:53
#: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:45 #: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:45
#: xpack/plugins/change_auth_plan/models.py:177 #: xpack/plugins/change_auth_plan/models/base.py:105
#: xpack/plugins/change_auth_plan/models.py:307 #: xpack/plugins/change_auth_plan/models/base.py:189
#: xpack/plugins/gathered_user/models.py:76 #: xpack/plugins/gathered_user/models.py:76
msgid "Date start" msgid "Date start"
msgstr "开始日期" msgstr "开始日期"
@ -1154,13 +1166,13 @@ msgid "MFA"
msgstr "多因子认证" msgstr "多因子认证"
#: audits/models.py:111 terminal/models/sharing.py:88 #: audits/models.py:111 terminal/models/sharing.py:88
#: xpack/plugins/change_auth_plan/models.py:303 #: xpack/plugins/change_auth_plan/models/base.py:187
#: xpack/plugins/cloud/models.py:171 #: xpack/plugins/cloud/models.py:176
msgid "Reason" msgid "Reason"
msgstr "原因" msgstr "原因"
#: audits/models.py:112 tickets/models/ticket.py:57 #: audits/models.py:112 tickets/models/ticket.py:57
#: xpack/plugins/cloud/models.py:167 xpack/plugins/cloud/models.py:216 #: xpack/plugins/cloud/models.py:172 xpack/plugins/cloud/models.py:221
msgid "Status" msgid "Status"
msgstr "状态" msgstr "状态"
@ -1194,7 +1206,7 @@ msgid "Hosts display"
msgstr "主机名称" msgstr "主机名称"
#: audits/serializers.py:89 ops/models/command.py:26 #: audits/serializers.py:89 ops/models/command.py:26
#: xpack/plugins/cloud/models.py:165 #: xpack/plugins/cloud/models.py:170
msgid "Result" msgid "Result"
msgstr "结果" msgstr "结果"
@ -1651,7 +1663,7 @@ msgstr "登录复核"
#: authentication/models.py:90 #: authentication/models.py:90
msgid "{} need confirm by {}" msgid "{} need confirm by {}"
msgstr "" msgstr "{} 需要 {} 复核"
#: authentication/models.py:99 #: authentication/models.py:99
msgid "Expired" msgid "Expired"
@ -2082,22 +2094,22 @@ msgstr "加密的字段"
msgid "Network error, please contact system administrator" msgid "Network error, please contact system administrator"
msgstr "网络错误,请联系系统管理员" msgstr "网络错误,请联系系统管理员"
#: common/message/backends/sms/__init__.py:38 #: common/message/backends/sms/__init__.py:15
msgid "Invalid SMS sign and template: {}"
msgstr "无效的短信签名和模版: {}"
#: common/message/backends/sms/__init__.py:43
msgid "Alibaba cloud" msgid "Alibaba cloud"
msgstr "阿里云" msgstr "阿里云"
#: common/message/backends/sms/__init__.py:44 #: common/message/backends/sms/__init__.py:16
msgid "Tencent cloud" msgid "Tencent cloud"
msgstr "腾讯云" msgstr "腾讯云"
#: common/message/backends/sms/__init__.py:74 #: common/message/backends/sms/__init__.py:42
msgid "SMS provider not support: {}" msgid "SMS provider not support: {}"
msgstr "短信服务商不支持:{}" msgstr "短信服务商不支持:{}"
#: common/message/backends/sms/__init__.py:63
msgid "SMS verification code signature or template invalid"
msgstr "短信验证码签名或模版无效"
#: common/message/backends/sms/alibaba.py:56 #: common/message/backends/sms/alibaba.py:56
msgid "Signature does not match" msgid "Signature does not match"
msgstr "签名不匹配" msgstr "签名不匹配"
@ -2204,7 +2216,7 @@ msgid "Regularly perform"
msgstr "定期执行" msgstr "定期执行"
#: ops/mixin.py:106 ops/mixin.py:147 #: ops/mixin.py:106 ops/mixin.py:147
#: xpack/plugins/change_auth_plan/serializers.py:55 #: xpack/plugins/change_auth_plan/serializers/base.py:42
msgid "Periodic perform" msgid "Periodic perform"
msgstr "定时执行" msgstr "定时执行"
@ -2283,8 +2295,8 @@ msgstr "开始时间"
msgid "End time" msgid "End time"
msgstr "完成时间" msgstr "完成时间"
#: ops/models/adhoc.py:246 xpack/plugins/change_auth_plan/models.py:180 #: ops/models/adhoc.py:246 xpack/plugins/change_auth_plan/models/base.py:108
#: xpack/plugins/change_auth_plan/models.py:310 #: xpack/plugins/change_auth_plan/models/base.py:190
#: xpack/plugins/gathered_user/models.py:79 #: xpack/plugins/gathered_user/models.py:79
msgid "Time" msgid "Time"
msgstr "时间" msgstr "时间"
@ -2528,8 +2540,8 @@ msgstr "系统用户名称"
msgid "test_phone is required" msgid "test_phone is required"
msgstr "测试手机号 该字段是必填项。" msgstr "测试手机号 该字段是必填项。"
#: settings/api/alibaba_sms.py:52 settings/api/dingtalk.py:36 #: settings/api/alibaba_sms.py:51 settings/api/dingtalk.py:36
#: settings/api/feishu.py:35 settings/api/tencent_sms.py:57 #: settings/api/feishu.py:35 settings/api/tencent_sms.py:56
#: settings/api/wecom.py:36 #: settings/api/wecom.py:36
msgid "Test success" msgid "Test success"
msgstr "测试成功" msgstr "测试成功"
@ -2668,7 +2680,8 @@ msgstr ""
"用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上username, name," "用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上username, name,"
"email 是jumpserver的用户需要属性" "email 是jumpserver的用户需要属性"
#: settings/serializers/auth/ldap.py:58 xpack/plugins/cloud/serializers.py:207 #: settings/serializers/auth/ldap.py:58
#: xpack/plugins/cloud/serializers/task.py:69
#: xpack/plugins/gathered_user/serializers.py:20 #: xpack/plugins/gathered_user/serializers.py:20
msgid "Periodic display" msgid "Periodic display"
msgstr "定时执行" msgstr "定时执行"
@ -2693,7 +2706,8 @@ msgstr "JumpServer 地址"
msgid "Client Id" msgid "Client Id"
msgstr "客户端 ID" msgstr "客户端 ID"
#: settings/serializers/auth/oidc.py:18 xpack/plugins/cloud/serializers.py:33 #: settings/serializers/auth/oidc.py:18
#: xpack/plugins/cloud/serializers/account_attrs.py:26
msgid "Client Secret" msgid "Client Secret"
msgstr "客户端密钥" msgstr "客户端密钥"
@ -2785,26 +2799,24 @@ msgstr "使用 Radius OTP"
msgid "Enable SMS" msgid "Enable SMS"
msgstr "启用 SMS" msgstr "启用 SMS"
#: settings/serializers/auth/sms.py:11 #: settings/serializers/auth/sms.py:12
msgid "SMS provider" msgid "SMS provider"
msgstr "短信服务商" msgstr "短信服务商"
#: settings/serializers/auth/sms.py:15 settings/serializers/email.py:69 #: settings/serializers/auth/sms.py:17 settings/serializers/auth/sms.py:35
#: settings/serializers/auth/sms.py:43 settings/serializers/email.py:69
msgid "Signature" msgid "Signature"
msgstr "签名" msgstr "签名"
#: settings/serializers/auth/sms.py:16 #: settings/serializers/auth/sms.py:18 settings/serializers/auth/sms.py:36
msgid "Template" #: settings/serializers/auth/sms.py:44
msgid "Template code"
msgstr "模板" msgstr "模板"
#: settings/serializers/auth/sms.py:20 #: settings/serializers/auth/sms.py:22
msgid "Test phone" msgid "Test phone"
msgstr "测试手机号" msgstr "测试手机号"
#: settings/serializers/auth/sms.py:37 settings/serializers/auth/sms.py:46
msgid "Signatures and Templates"
msgstr "签名和模版"
#: settings/serializers/auth/sso.py:12 #: settings/serializers/auth/sso.py:12
msgid "Enable SSO auth" msgid "Enable SSO auth"
msgstr "启用 SSO Token 认证" msgstr "启用 SSO Token 认证"
@ -2969,40 +2981,48 @@ msgstr "提示: 创建用户时,发送设置密码邮件的内容"
msgid "Tips: Email signature (eg:jumpserver)" msgid "Tips: Email signature (eg:jumpserver)"
msgstr "邮件署名 (如:jumpserver)" msgstr "邮件署名 (如:jumpserver)"
#: settings/serializers/other.py:9 #: settings/serializers/other.py:7
msgid "Email suffix" msgid "Email suffix"
msgstr "邮件后缀" msgstr "邮件后缀"
#: settings/serializers/other.py:10 #: settings/serializers/other.py:8
msgid "" msgid ""
"This is used by default if no email is returned during SSO authentication" "This is used by default if no email is returned during SSO authentication"
msgstr "SSO认证时如果没有返回邮件地址将使用该后缀" msgstr "SSO认证时如果没有返回邮件地址将使用该后缀"
#: settings/serializers/other.py:12 #: settings/serializers/other.py:10
msgid "Enable tickets" msgid "Enable tickets"
msgstr "启用工单系统" msgstr "启用工单系统"
#: settings/serializers/other.py:15 #: settings/serializers/other.py:13
msgid "OTP issuer name" msgid "OTP issuer name"
msgstr "OTP 扫描后的名称" msgstr "OTP 扫描后的名称"
#: settings/serializers/other.py:17 #: settings/serializers/other.py:15
msgid "OTP valid window" msgid "OTP valid window"
msgstr "OTP 延迟有效次数" msgstr "OTP 延迟有效次数"
#: settings/serializers/other.py:19 #: settings/serializers/other.py:17
msgid "Enable period task" msgid "Enable period task"
msgstr "启用周期任务" msgstr "启用周期任务"
#: settings/serializers/other.py:20
msgid "CMD"
msgstr ""
#: settings/serializers/other.py:21 #: settings/serializers/other.py:21
msgid "Ansible windows default shell" msgid "PowerShell"
msgstr ""
#: settings/serializers/other.py:23
msgid "Shell (Windows)"
msgstr "ShellWindows 资产)" msgstr "ShellWindows 资产)"
#: settings/serializers/other.py:22 #: settings/serializers/other.py:24
msgid "The shell type used when Windows assets perform ansible tasks" msgid "The shell type used when Windows assets perform ansible tasks"
msgstr "windows 资产执行 Ansible 任务时,使用的 Shell 类型。" msgstr "windows 资产执行 Ansible 任务时,使用的 Shell 类型。"
#: settings/serializers/other.py:26 #: settings/serializers/other.py:28
msgid "Perm single to ungroup node" msgid "Perm single to ungroup node"
msgstr "直接授权资产放在未分组节点" msgstr "直接授权资产放在未分组节点"
@ -3958,7 +3978,8 @@ msgstr "加入日期"
msgid "Date left" msgid "Date left"
msgstr "结束日期" msgstr "结束日期"
#: terminal/models/sharing.py:91 xpack/plugins/change_auth_plan/models.py:274 #: terminal/models/sharing.py:91
#: xpack/plugins/change_auth_plan/models/base.py:178
msgid "Finished" msgid "Finished"
msgstr "结束" msgstr "结束"
@ -4035,6 +4056,7 @@ msgid "Danger command alert"
msgstr "危险命令告警" msgstr "危险命令告警"
#: terminal/notifications.py:78 #: terminal/notifications.py:78
#, python-format
msgid "" msgid ""
"\n" "\n"
"Command: %(command)s\n" "Command: %(command)s\n"
@ -4177,7 +4199,7 @@ msgstr "Secret key"
msgid "Endpoint" msgid "Endpoint"
msgstr "端点" msgstr "端点"
#: terminal/serializers/storage.py:66 xpack/plugins/cloud/models.py:209 #: terminal/serializers/storage.py:66 xpack/plugins/cloud/models.py:214
msgid "Region" msgid "Region"
msgstr "地域" msgstr "地域"
@ -4592,7 +4614,11 @@ msgstr "提交数据中的类型 (`{}`) 与请求URL地址中的类型 (`{}`)
msgid "The ticket flow `{}` does not exist" msgid "The ticket flow `{}` does not exist"
msgstr "工单流程 `{}` 不存在" msgstr "工单流程 `{}` 不存在"
#: tickets/serializers/ticket/ticket.py:182 #: tickets/serializers/ticket/ticket.py:162
msgid "Please select the Assignees"
msgstr "请选择受理人"
#: tickets/serializers/ticket/ticket.py:188
msgid "The current organization type already exists" msgid "The current organization type already exists"
msgstr "当前组织已存在该类型" msgstr "当前组织已存在该类型"
@ -5227,8 +5253,9 @@ msgstr "两次密码不一致"
msgid "Is first login" msgid "Is first login"
msgstr "首次登录" msgstr "首次登录"
#: users/serializers/user.py:22 xpack/plugins/change_auth_plan/models.py:61 #: users/serializers/user.py:22
#: xpack/plugins/change_auth_plan/serializers.py:30 #: xpack/plugins/change_auth_plan/models/base.py:32
#: xpack/plugins/change_auth_plan/serializers/base.py:24
msgid "Password strategy" msgid "Password strategy"
msgstr "密码策略" msgstr "密码策略"
@ -5296,7 +5323,7 @@ msgstr "是否绑定了飞书"
msgid "Role limit to {}" msgid "Role limit to {}"
msgstr "角色只能为 {}" msgstr "角色只能为 {}"
#: users/serializers/user.py:221 #: users/serializers/user.py:231
msgid "name not unique" msgid "name not unique"
msgstr "名称重复" msgstr "名称重复"
@ -5617,90 +5644,147 @@ msgstr "* 新密码不能是最近 {} 次的密码"
msgid "Reset password success, return to login page" msgid "Reset password success, return to login page"
msgstr "重置密码成功,返回到登录页面" msgstr "重置密码成功,返回到登录页面"
#: xpack/plugins/change_auth_plan/api/app.py:112
#: xpack/plugins/change_auth_plan/api/asset.py:100
msgid "The parameter 'action' must be [{}]"
msgstr "参数 'action' 必须是 [{}]"
#: xpack/plugins/change_auth_plan/meta.py:9 #: xpack/plugins/change_auth_plan/meta.py:9
#: xpack/plugins/change_auth_plan/models.py:89 #: xpack/plugins/change_auth_plan/models/asset.py:63
#: xpack/plugins/change_auth_plan/models.py:184 #: xpack/plugins/change_auth_plan/models/asset.py:119
msgid "Change auth plan" msgid "Change auth plan"
msgstr "改密计划" msgstr "改密计划"
#: xpack/plugins/change_auth_plan/models.py:41 #: xpack/plugins/change_auth_plan/models/app.py:41
msgid "Custom password" #: xpack/plugins/change_auth_plan/models/app.py:90
msgstr "自定义密码" msgid "Application change auth plan"
msgstr "应用改密计划执行"
#: xpack/plugins/change_auth_plan/models.py:42 #: xpack/plugins/change_auth_plan/models/app.py:94
msgid "All assets use the same random password" #: xpack/plugins/change_auth_plan/models/app.py:146
msgstr "使用相同的随机密码" msgid "Application change auth plan execution"
msgstr "应用改密计划执行"
#: xpack/plugins/change_auth_plan/models.py:43 #: xpack/plugins/change_auth_plan/models/app.py:139
msgid "All assets use different random password" msgid "App"
msgstr "使用不同的随机密码" msgstr "应用"
#: xpack/plugins/change_auth_plan/models.py:65 #: xpack/plugins/change_auth_plan/models/app.py:151
msgid "Password rules" msgid "Application change auth plan task"
msgstr "密码规则" msgstr "用用改密计划任务"
#: xpack/plugins/change_auth_plan/models.py:187 #: xpack/plugins/change_auth_plan/models/asset.py:30
msgid "Change auth plan snapshot" msgid "Append SSH KEY"
msgstr "改密计划快照" msgstr "追加"
#: xpack/plugins/change_auth_plan/models.py:202 #: xpack/plugins/change_auth_plan/models/asset.py:31
#: xpack/plugins/change_auth_plan/models.py:296 msgid "Empty and append SSH KEY"
msgstr "清空所有并添加"
#: xpack/plugins/change_auth_plan/models/asset.py:32
msgid "Empty pre add and append SSH KEY"
msgstr "清空上次并添加"
#: xpack/plugins/change_auth_plan/models/asset.py:50
#: xpack/plugins/change_auth_plan/serializers/asset.py:34
msgid "SSH Key strategy"
msgstr "SSH 密钥策略"
#: xpack/plugins/change_auth_plan/models/asset.py:130
#: xpack/plugins/change_auth_plan/models/asset.py:206
msgid "Change auth plan execution" msgid "Change auth plan execution"
msgstr "改密计划执行" msgstr "改密计划执行"
#: xpack/plugins/change_auth_plan/models.py:269 #: xpack/plugins/change_auth_plan/models/asset.py:213
msgid "Ready"
msgstr "准备"
#: xpack/plugins/change_auth_plan/models.py:270
msgid "Preflight check"
msgstr "改密前的校验"
#: xpack/plugins/change_auth_plan/models.py:271
msgid "Change auth"
msgstr "执行改密"
#: xpack/plugins/change_auth_plan/models.py:272
msgid "Verify auth"
msgstr "验证密码/密钥"
#: xpack/plugins/change_auth_plan/models.py:273
msgid "Keep auth"
msgstr "保存密码/密钥"
#: xpack/plugins/change_auth_plan/models.py:300
msgid "Step"
msgstr "步骤"
#: xpack/plugins/change_auth_plan/models.py:317
msgid "Change auth plan task" msgid "Change auth plan task"
msgstr "改密计划任务" msgstr "改密计划任务"
#: xpack/plugins/change_auth_plan/serializers.py:56 #: xpack/plugins/change_auth_plan/models/base.py:24
msgid "Custom password"
msgstr "自定义密码"
#: xpack/plugins/change_auth_plan/models/base.py:25
msgid "All assets use the same random password"
msgstr "使用相同的随机密码"
#: xpack/plugins/change_auth_plan/models/base.py:26
msgid "All assets use different random password"
msgstr "使用不同的随机密码"
#: xpack/plugins/change_auth_plan/models/base.py:36
msgid "Password rules"
msgstr "密码规则"
#: xpack/plugins/change_auth_plan/models/base.py:100
msgid "Manual trigger"
msgstr "手动触发"
#: xpack/plugins/change_auth_plan/models/base.py:101
msgid "Timing trigger"
msgstr "定时触发"
#: xpack/plugins/change_auth_plan/models/base.py:111
msgid "Change auth plan snapshot"
msgstr "改密计划快照"
#: xpack/plugins/change_auth_plan/models/base.py:118
#: xpack/plugins/change_auth_plan/serializers/base.py:70
msgid "Trigger mode"
msgstr "触发模式"
#: xpack/plugins/change_auth_plan/models/base.py:173
msgid "Ready"
msgstr "准备"
#: xpack/plugins/change_auth_plan/models/base.py:174
msgid "Preflight check"
msgstr "改密前的校验"
#: xpack/plugins/change_auth_plan/models/base.py:175
msgid "Change auth"
msgstr "执行改密"
#: xpack/plugins/change_auth_plan/models/base.py:176
msgid "Verify auth"
msgstr "验证密码/密钥"
#: xpack/plugins/change_auth_plan/models/base.py:177
msgid "Keep auth"
msgstr "保存密码/密钥"
#: xpack/plugins/change_auth_plan/models/base.py:185
msgid "Step"
msgstr "步骤"
#: xpack/plugins/change_auth_plan/serializers/asset.py:31
msgid "Change Password"
msgstr "更改密码"
#: xpack/plugins/change_auth_plan/serializers/asset.py:32
msgid "Change SSH Key"
msgstr "修改 SSH Key"
#: xpack/plugins/change_auth_plan/serializers/base.py:43
msgid "Run times" msgid "Run times"
msgstr "执行次数" msgstr "执行次数"
#: xpack/plugins/change_auth_plan/serializers.py:72 #: xpack/plugins/change_auth_plan/serializers/base.py:54
msgid "* Please enter custom password"
msgstr "* 请输入自定义密码"
#: xpack/plugins/change_auth_plan/serializers.py:82
msgid "* Please enter the correct password length" msgid "* Please enter the correct password length"
msgstr "* 请输入正确的密码长度" msgstr "* 请输入正确的密码长度"
#: xpack/plugins/change_auth_plan/serializers.py:85 #: xpack/plugins/change_auth_plan/serializers/base.py:57
msgid "* Password length range 6-30 bits" msgid "* Password length range 6-30 bits"
msgstr "* 密码长度范围 6-30 位" msgstr "* 密码长度范围 6-30 位"
#: xpack/plugins/change_auth_plan/utils.py:442 #: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:248
msgid "Invalid/incorrect password" msgid "Invalid/incorrect password"
msgstr "无效/错误 密码" msgstr "无效/错误 密码"
#: xpack/plugins/change_auth_plan/utils.py:444 #: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:250
msgid "Failed to connect to the host" msgid "Failed to connect to the host"
msgstr "连接主机失败" msgstr "连接主机失败"
#: xpack/plugins/change_auth_plan/utils.py:446 #: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:252
msgid "Data could not be sent to remote" msgid "Data could not be sent to remote"
msgstr "无法将数据发送到远程" msgstr "无法将数据发送到远程"
@ -5756,31 +5840,35 @@ msgstr "华为私有云"
msgid "Qingyun Private Cloud" msgid "Qingyun Private Cloud"
msgstr "青云私有云" msgstr "青云私有云"
#: xpack/plugins/cloud/const.py:22 #: xpack/plugins/cloud/const.py:19
msgid "Google Cloud Platform"
msgstr "谷歌云"
#: xpack/plugins/cloud/const.py:23
msgid "Instance name" msgid "Instance name"
msgstr "实例名称" msgstr "实例名称"
#: xpack/plugins/cloud/const.py:23 #: xpack/plugins/cloud/const.py:24
msgid "Instance name and Partial IP" msgid "Instance name and Partial IP"
msgstr "实例名称和部分IP" msgstr "实例名称和部分IP"
#: xpack/plugins/cloud/const.py:28 #: xpack/plugins/cloud/const.py:29
msgid "Succeed" msgid "Succeed"
msgstr "成功" msgstr "成功"
#: xpack/plugins/cloud/const.py:32 #: xpack/plugins/cloud/const.py:33
msgid "Unsync" msgid "Unsync"
msgstr "未同步" msgstr "未同步"
#: xpack/plugins/cloud/const.py:33 #: xpack/plugins/cloud/const.py:34
msgid "New Sync" msgid "New Sync"
msgstr "新同步" msgstr "新同步"
#: xpack/plugins/cloud/const.py:34 #: xpack/plugins/cloud/const.py:35
msgid "Synced" msgid "Synced"
msgstr "已同步" msgstr "已同步"
#: xpack/plugins/cloud/const.py:35 #: xpack/plugins/cloud/const.py:36
msgid "Released" msgid "Released"
msgstr "已释放" msgstr "已释放"
@ -5796,7 +5884,7 @@ msgstr "云服务商"
msgid "Cloud account" msgid "Cloud account"
msgstr "云账号" msgstr "云账号"
#: xpack/plugins/cloud/models.py:85 xpack/plugins/cloud/serializers.py:179 #: xpack/plugins/cloud/models.py:85 xpack/plugins/cloud/serializers/task.py:37
msgid "Regions" msgid "Regions"
msgstr "地域" msgstr "地域"
@ -5804,35 +5892,43 @@ msgstr "地域"
msgid "Hostname strategy" msgid "Hostname strategy"
msgstr "主机名策略" msgstr "主机名策略"
#: xpack/plugins/cloud/models.py:102 xpack/plugins/cloud/serializers.py:186 #: xpack/plugins/cloud/models.py:97 xpack/plugins/cloud/serializers/task.py:66
msgid "Unix admin user"
msgstr "Unix 管理员"
#: xpack/plugins/cloud/models.py:101 xpack/plugins/cloud/serializers/task.py:67
msgid "Windows admin user"
msgstr "Windows 管理员"
#: xpack/plugins/cloud/models.py:107 xpack/plugins/cloud/serializers/task.py:45
msgid "IP network segment group" msgid "IP network segment group"
msgstr "IP网段组" msgstr "IP网段组"
#: xpack/plugins/cloud/models.py:105 xpack/plugins/cloud/serializers.py:208 #: xpack/plugins/cloud/models.py:110 xpack/plugins/cloud/serializers/task.py:70
msgid "Always update" msgid "Always update"
msgstr "总是更新" msgstr "总是更新"
#: xpack/plugins/cloud/models.py:111 #: xpack/plugins/cloud/models.py:116
msgid "Date last sync" msgid "Date last sync"
msgstr "最后同步日期" msgstr "最后同步日期"
#: xpack/plugins/cloud/models.py:122 xpack/plugins/cloud/models.py:163 #: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:168
msgid "Sync instance task" msgid "Sync instance task"
msgstr "同步实例任务" msgstr "同步实例任务"
#: xpack/plugins/cloud/models.py:174 xpack/plugins/cloud/models.py:219 #: xpack/plugins/cloud/models.py:179 xpack/plugins/cloud/models.py:224
msgid "Date sync" msgid "Date sync"
msgstr "同步日期" msgstr "同步日期"
#: xpack/plugins/cloud/models.py:199 #: xpack/plugins/cloud/models.py:204
msgid "Sync task" msgid "Sync task"
msgstr "同步任务" msgstr "同步任务"
#: xpack/plugins/cloud/models.py:203 #: xpack/plugins/cloud/models.py:208
msgid "Sync instance task history" msgid "Sync instance task history"
msgstr "同步实例任务历史" msgstr "同步实例任务历史"
#: xpack/plugins/cloud/models.py:206 #: xpack/plugins/cloud/models.py:211
msgid "Instance" msgid "Instance"
msgstr "实例" msgstr "实例"
@ -5976,35 +6072,40 @@ msgstr "西南-贵阳1"
msgid "EU-Paris" msgid "EU-Paris"
msgstr "欧洲-巴黎" msgstr "欧洲-巴黎"
#: xpack/plugins/cloud/serializers.py:21 #: xpack/plugins/cloud/serializers/account_attrs.py:13
msgid "AccessKey ID" msgid "AccessKey ID"
msgstr "" msgstr ""
#: xpack/plugins/cloud/serializers.py:24 #: xpack/plugins/cloud/serializers/account_attrs.py:16
msgid "AccessKey Secret" msgid "AccessKey Secret"
msgstr "" msgstr ""
#: xpack/plugins/cloud/serializers.py:30 #: xpack/plugins/cloud/serializers/account_attrs.py:23
msgid "Client ID" msgid "Client ID"
msgstr "客户端 ID" msgstr "客户端 ID"
#: xpack/plugins/cloud/serializers.py:36 #: xpack/plugins/cloud/serializers/account_attrs.py:29
msgid "Tenant ID" msgid "Tenant ID"
msgstr "租户 ID" msgstr "租户 ID"
#: xpack/plugins/cloud/serializers.py:39 #: xpack/plugins/cloud/serializers/account_attrs.py:32
msgid "Subscription ID" msgid "Subscription ID"
msgstr "订阅 ID" msgstr "订阅 ID"
#: xpack/plugins/cloud/serializers.py:51 #: xpack/plugins/cloud/serializers/account_attrs.py:81
msgid "This field is required" #: xpack/plugins/cloud/serializers/account_attrs.py:86
msgstr "该字段是必填项。"
#: xpack/plugins/cloud/serializers.py:85 xpack/plugins/cloud/serializers.py:89
msgid "API Endpoint" msgid "API Endpoint"
msgstr "API 端点" msgstr "API 端点"
#: xpack/plugins/cloud/serializers.py:171 #: xpack/plugins/cloud/serializers/account_attrs.py:92
msgid "Service account key"
msgstr "账户密钥"
#: xpack/plugins/cloud/serializers/account_attrs.py:93
msgid "The file is in JSON format"
msgstr "JSON 格式的文件"
#: xpack/plugins/cloud/serializers/task.py:29
msgid "" msgid ""
"The IP address that is first matched to will be used as the IP of the " "The IP address that is first matched to will be used as the IP of the "
"created asset. <br>The default * indicates a random match. <br>Format for " "created asset. <br>The default * indicates a random match. <br>Format for "
@ -6013,11 +6114,11 @@ msgstr ""
"第一个匹配到的 IP 地址将被用作创建的资产的 IP。<br> 默认值 * 表示随机匹配。" "第一个匹配到的 IP 地址将被用作创建的资产的 IP。<br> 默认值 * 表示随机匹配。"
"<br> 格式为以逗号分隔的字符串,例如:192.168.1.0/24,10.1.1.1-10.1.1.20" "<br> 格式为以逗号分隔的字符串,例如:192.168.1.0/24,10.1.1.1-10.1.1.20"
#: xpack/plugins/cloud/serializers.py:177 #: xpack/plugins/cloud/serializers/task.py:35
msgid "History count" msgid "History count"
msgstr "执行次数" msgstr "执行次数"
#: xpack/plugins/cloud/serializers.py:178 #: xpack/plugins/cloud/serializers/task.py:36
msgid "Instance count" msgid "Instance count"
msgstr "实例个数" msgstr "实例个数"
@ -6108,66 +6209,3 @@ msgstr "旗舰版"
#: xpack/plugins/license/models.py:77 #: xpack/plugins/license/models.py:77
msgid "Community edition" msgid "Community edition"
msgstr "社区版" msgstr "社区版"
#~ msgid "New Ticket - {} ({})"
#~ msgstr "新工单 - {} ({})"
#~ msgid "Ticket has processed - {} ({})"
#~ msgstr "工单已处理 - {} ({})"
#~ msgid "The parameter 'action' must be [{}]"
#~ msgstr "参数 'action' 必须是 [{}]"
#~ msgid "Application change auth plan"
#~ msgstr "应用改密计划执行"
#~ msgid "Application change auth plan execution"
#~ msgstr "应用改密计划执行"
#~ msgid "App"
#~ msgstr "应用"
#~ msgid "Application change auth plan task"
#~ msgstr "用用改密计划任务"
#~ msgid "Append SSH KEY"
#~ msgstr "追加"
#~ msgid "Empty and append SSH KEY"
#~ msgstr "清空所有并添加"
#~ msgid "Empty pre add and append SSH KEY"
#~ msgstr "清空上次并添加"
#~ msgid "SSH Key strategy"
#~ msgstr "SSH 密钥策略"
#~ msgid "Manual trigger"
#~ msgstr "手动触发"
#~ msgid "Timing trigger"
#~ msgstr "定时触发"
#~ msgid "Trigger mode"
#~ msgstr "触发模式"
#~ msgid "Change Password"
#~ msgstr "更改密码"
#~ msgid "Change SSH Key"
#~ msgstr "修改 SSH Key"
#~ msgid "Google Cloud Platform"
#~ msgstr "谷歌云"
#~ msgid "Unix admin user"
#~ msgstr "Unix 管理员"
#~ msgid "Windows admin user"
#~ msgstr "Windows 管理员"
#~ msgid "Service account key"
#~ msgstr "账户密钥"
#~ msgid "The file is in JSON format"
#~ msgstr "JSON 格式的文件"

View File

@ -20,7 +20,7 @@ class OtherSettingSerializer(serializers.Serializer):
('cmd', _("CMD")), ('cmd', _("CMD")),
('powershell', _("PowerShell")) ('powershell', _("PowerShell"))
], ],
label=_('Ansible windows default shell'), label=_('Shell (Windows)'),
help_text=_('The shell type used when Windows assets perform ansible tasks') help_text=_('The shell type used when Windows assets perform ansible tasks')
) )