From d7bbfdcce6f8976f45b358fb0b3f9b8c4fa57dd3 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Tue, 16 Jul 2024 18:38:47 +0800 Subject: [PATCH] perf: Translate (#13731) Co-authored-by: feng <1304903146@qq.com> --- apps/i18n/core/en/LC_MESSAGES/django.po | 265 +++++++++--------- apps/i18n/core/ja/LC_MESSAGES/django.po | 275 +++++++++--------- apps/i18n/core/zh/LC_MESSAGES/django.po | 277 ++++++++++--------- apps/i18n/core/zh_Hant/LC_MESSAGES/django.po | 275 +++++++++--------- 4 files changed, 552 insertions(+), 540 deletions(-) diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index a05d845e8..d886e11b3 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/apps/i18n/core/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-10 18:54+0800\n" +"POT-Creation-Date: 2024-07-16 16:57+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -174,7 +174,7 @@ msgstr "" msgid "Specified account" msgstr "" -#: accounts/const/account.py:26 users/models/user.py:792 +#: accounts/const/account.py:26 users/models/user/_source.py:11 msgid "Local" msgstr "" @@ -294,7 +294,7 @@ msgstr "" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:21 #: settings/serializers/msg.py:58 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:903 +#: users/forms/profile.py:108 users/models/user/__init__.py:57 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -354,7 +354,7 @@ msgstr "" #: terminal/serializers/command.py:17 terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 #: terminal/templates/terminal/_msg_session_sharing.html:4 -#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:276 +#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:281 msgid "Asset" msgstr "" @@ -373,7 +373,7 @@ msgid "Version" msgstr "" #: accounts/models/account.py:57 accounts/serializers/account/account.py:220 -#: users/models/user.py:964 +#: users/models/user/__init__.py:118 msgid "Source" msgstr "" @@ -395,7 +395,7 @@ msgstr "" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:101 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "" @@ -484,13 +484,14 @@ msgstr "" #: accounts/serializers/account/backup.py:48 #: accounts/serializers/automations/base.py:56 #: assets/models/automations/base.py:122 -#: assets/serializers/automations/base.py:40 +#: assets/serializers/automations/base.py:40 xpack/plugins/cloud/models.py:240 +#: xpack/plugins/cloud/serializers/task.py:231 msgid "Trigger mode" msgstr "" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 #: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 -#: xpack/plugins/cloud/models.py:228 +#: xpack/plugins/cloud/models.py:229 msgid "Reason" msgstr "" @@ -586,8 +587,8 @@ msgstr "" #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 #: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 #: tickets/serializers/super_ticket.py:13 -#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:224 -#: xpack/plugins/cloud/models.py:280 +#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:225 +#: xpack/plugins/cloud/models.py:285 msgid "Status" msgstr "" @@ -622,7 +623,7 @@ msgstr "" #: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9 #: terminal/serializers/storage.py:136 users/forms/profile.py:31 -#: users/forms/profile.py:114 users/models/user.py:901 +#: users/forms/profile.py:114 users/models/user/__init__.py:55 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -719,9 +720,9 @@ msgstr "" #: terminal/models/virtualapp/provider.py:10 #: terminal/models/virtualapp/virtualapp.py:19 tickets/api/ticket.py:87 #: users/forms/profile.py:32 users/models/group.py:13 -#: users/models/preference.py:11 users/models/user.py:902 -#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:296 -#: xpack/plugins/cloud/serializers/task.py:74 +#: users/models/preference.py:11 users/models/user/__init__.py:56 +#: xpack/plugins/cloud/models.py:34 xpack/plugins/cloud/models.py:301 +#: xpack/plugins/cloud/serializers/task.py:75 msgid "Name" msgstr "" @@ -749,7 +750,7 @@ msgstr "" msgid "Push params" msgstr "" -#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:377 +#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:382 msgid "Account template" msgstr "" @@ -944,8 +945,8 @@ msgstr "" #: terminal/serializers/command.py:16 #: terminal/templates/terminal/_msg_command_warning.html:6 #: terminal/templates/terminal/_msg_session_sharing.html:6 -#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1125 -#: users/models/user.py:1169 +#: tickets/models/comment.py:21 users/const.py:14 +#: users/models/user/__init__.py:280 users/models/user/__init__.py:307 msgid "User" msgstr "" @@ -1032,8 +1033,8 @@ msgstr "" #: terminal/models/component/endpoint.py:119 #: terminal/models/session/session.py:47 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:295 users/models/user.py:936 -#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:121 +#: tickets/models/ticket/general.py:295 users/models/user/__init__.py:90 +#: xpack/plugins/cloud/models.py:41 xpack/plugins/cloud/models.py:122 msgid "Comment" msgstr "Description" @@ -1215,12 +1216,12 @@ msgid "Notify" msgstr "" #: acls/models/base.py:37 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:302 +#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:307 msgid "Priority" msgstr "" #: acls/models/base.py:38 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:303 +#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:308 msgid "1-100, the lower the value will be match first" msgstr "" @@ -1263,7 +1264,7 @@ msgid "Command" msgstr "" #: acls/models/command_acl.py:17 assets/models/cmd_filter.py:59 -#: xpack/plugins/cloud/models.py:343 +#: xpack/plugins/cloud/models.py:348 msgid "Regex" msgstr "" @@ -1366,7 +1367,7 @@ msgid "None of the reviewers belong to Organization `{}`" msgstr "" #: acls/serializers/rules/rules.py:20 -#: xpack/plugins/cloud/serializers/task.py:149 +#: xpack/plugins/cloud/serializers/task.py:150 msgid "IP address invalid: `{}`" msgstr "" @@ -1380,7 +1381,7 @@ msgstr "" #: authentication/templates/authentication/_msg_oauth_bind.html:12 #: authentication/templates/authentication/_msg_rest_password_success.html:8 #: authentication/templates/authentication/_msg_rest_public_key_success.html:8 -#: xpack/plugins/cloud/models.py:378 +#: xpack/plugins/cloud/models.py:383 msgid "IP" msgstr "" @@ -1549,7 +1550,7 @@ msgid "Gather facts" msgstr "" #: assets/const/base.py:32 audits/const.py:58 -#: terminal/serializers/applet_host.py:32 users/models/user.py:689 +#: terminal/serializers/applet_host.py:32 users/models/user/_auth.py:32 msgid "Disabled" msgstr "" @@ -1769,7 +1770,7 @@ msgstr "" msgid "API mode" msgstr "" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "" @@ -1800,7 +1801,7 @@ msgstr "" #: assets/models/asset/common.py:161 assets/models/platform.py:134 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 -#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:373 +#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:378 msgid "Platform" msgstr "" @@ -1859,7 +1860,7 @@ msgstr "" #: assets/models/automations/base.py:18 assets/models/cmd_filter.py:32 #: assets/models/node.py:553 perms/models/asset_permission.py:72 -#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:374 +#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:379 msgid "Node" msgstr "" @@ -1878,7 +1879,7 @@ msgstr "" #: assets/models/automations/base.py:114 assets/models/cmd_filter.py:41 #: common/db/models.py:34 ops/models/base.py:54 ops/models/job.py:241 -#: users/models/user.py:1172 +#: users/models/user/__init__.py:310 msgid "Date created" msgstr "" @@ -1899,17 +1900,17 @@ msgid "Date verified" msgstr "" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 -#: users/models/group.py:25 users/models/user.py:908 +#: users/models/group.py:25 users/models/user/__init__.py:62 msgid "User group" msgstr "" #: assets/models/cmd_filter.py:42 common/db/models.py:35 -#: users/models/user.py:984 +#: users/models/user/__init__.py:138 msgid "Date updated" msgstr "" #: assets/models/cmd_filter.py:44 assets/models/cmd_filter.py:91 -#: common/db/models.py:32 users/models/user.py:946 +#: common/db/models.py:32 users/models/user/__init__.py:100 #: users/serializers/group.py:32 msgid "Created by" msgstr "" @@ -1946,7 +1947,7 @@ msgstr "" msgid "Gateway" msgstr "" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1151 +#: assets/models/label.py:15 rbac/const.py:6 msgid "System" msgstr "" @@ -2019,7 +2020,7 @@ msgstr "" #: assets/models/platform.py:38 audits/const.py:59 #: authentication/backends/passkey/models.py:11 settings/models.py:38 -#: terminal/serializers/applet_host.py:33 users/models/user.py:690 +#: terminal/serializers/applet_host.py:33 users/models/user/_auth.py:33 msgid "Enabled" msgstr "" @@ -2144,8 +2145,8 @@ msgstr "" #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:46 -#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:376 -#: xpack/plugins/cloud/serializers/task.py:34 +#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:381 +#: xpack/plugins/cloud/serializers/task.py:35 msgid "Protocols" msgstr "" @@ -2655,7 +2656,7 @@ msgstr "" #: audits/models.py:200 audits/serializers.py:52 #: authentication/templates/authentication/_mfa_confirm_modal.html:14 -#: users/forms/profile.py:63 users/models/user.py:924 +#: users/forms/profile.py:63 users/models/user/__init__.py:78 #: users/serializers/profile.py:97 msgid "MFA" msgstr "" @@ -2713,7 +2714,7 @@ msgstr "" #: audits/serializers.py:172 authentication/models/connection_token.py:47 #: authentication/models/temp_token.py:13 perms/models/asset_permission.py:80 #: tickets/models/ticket/apply_application.py:31 -#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:943 +#: tickets/models/ticket/apply_asset.py:20 users/models/user/__init__.py:97 msgid "Date expired" msgstr "" @@ -2747,29 +2748,29 @@ msgstr "" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:78 notifications/backends/__init__.py:11 #: settings/serializers/auth/wecom.py:10 settings/serializers/auth/wecom.py:15 -#: users/models/user.py:799 users/models/user.py:967 +#: users/models/user/__init__.py:121 users/models/user/_source.py:18 msgid "WeCom" msgstr "" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:105 #: authentication/views/login.py:90 notifications/backends/__init__.py:14 #: settings/serializers/auth/feishu.py:10 -#: settings/serializers/auth/feishu.py:12 users/models/user.py:801 -#: users/models/user.py:973 +#: settings/serializers/auth/feishu.py:12 users/models/user/__init__.py:127 +#: users/models/user/_source.py:20 msgid "FeiShu" msgstr "" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:102 #: authentication/views/slack.py:87 notifications/backends/__init__.py:16 #: settings/serializers/auth/slack.py:10 settings/serializers/auth/slack.py:12 -#: users/models/user.py:803 users/models/user.py:979 +#: users/models/user/__init__.py:133 users/models/user/_source.py:22 msgid "Slack" msgstr "" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:159 #: authentication/views/login.py:84 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:800 -#: users/models/user.py:970 +#: settings/serializers/auth/dingtalk.py:10 users/models/user/__init__.py:124 +#: users/models/user/_source.py:19 msgid "DingTalk" msgstr "" @@ -3326,7 +3327,7 @@ msgid "Component" msgstr "" #: authentication/serializers/connect_token_secret.py:136 -#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:375 +#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:380 msgid "Domain" msgstr "" @@ -3873,7 +3874,7 @@ msgstr "" msgid "discard time" msgstr "" -#: common/db/models.py:33 users/models/user.py:949 +#: common/db/models.py:33 users/models/user/__init__.py:103 msgid "Updated by" msgstr "" @@ -3907,7 +3908,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "" @@ -4058,7 +4059,7 @@ msgstr "" msgid "Tags" msgstr "" -#: common/tasks.py:31 common/utils/verify_code.py:16 +#: common/tasks.py:31 msgid "Send email" msgstr "" @@ -4083,6 +4084,10 @@ msgstr "" msgid "Hello %s" msgstr "" +#: common/utils/verify_code.py:16 +msgid "Send SMS code" +msgstr "" + #: common/validators.py:16 msgid "Special char not allowed" msgstr "" @@ -4442,7 +4447,7 @@ msgid "Date last run" msgstr "" #: ops/models/base.py:51 ops/models/job.py:238 -#: xpack/plugins/cloud/models.py:222 +#: xpack/plugins/cloud/models.py:223 msgid "Result" msgstr "" @@ -4949,7 +4954,7 @@ msgid "Scope" msgstr "" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:911 +#: users/models/user/__init__.py:65 msgid "Role" msgstr "" @@ -5337,7 +5342,7 @@ msgstr "" msgid "Dingtalk" msgstr "" -#: settings/serializers/auth/lark.py:12 users/models/user.py:802 +#: settings/serializers/auth/lark.py:12 users/models/user/_source.py:21 msgid "Lark" msgstr "" @@ -5626,7 +5631,7 @@ msgstr "" msgid "Enable Short Message Service (SMS)" msgstr "" -#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:35 +#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:36 msgid "Provider" msgstr "" @@ -5653,7 +5658,7 @@ msgstr "" msgid "Template code" msgstr "" -#: settings/serializers/auth/sms.py:40 users/models/user.py:921 +#: settings/serializers/auth/sms.py:40 users/models/user/__init__.py:75 #: users/serializers/user.py:155 msgid "Phone" msgstr "" @@ -6293,7 +6298,7 @@ msgid "" msgstr "" #: settings/serializers/terminal.py:34 users/forms/profile.py:172 -#: users/models/user.py:934 +#: users/models/user/__init__.py:88 #: xpack/plugins/cloud/serializers/account_attrs.py:210 msgid "Public key" msgstr "" @@ -6801,7 +6806,7 @@ msgid "High" msgstr "" #: terminal/const.py:47 terminal/const.py:84 -#: users/templates/users/reset_password.html:53 +#: users/templates/users/reset_password.html:54 msgid "Normal" msgstr "" @@ -7433,7 +7438,7 @@ msgid "Access key secret" msgstr "" #: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 -#: xpack/plugins/cloud/models.py:273 +#: xpack/plugins/cloud/models.py:278 msgid "Region" msgstr "" @@ -7453,7 +7458,7 @@ msgstr "" msgid "HOST" msgstr "" -#: terminal/serializers/storage.py:146 users/models/user.py:931 +#: terminal/serializers/storage.py:146 users/models/user/__init__.py:85 #: xpack/plugins/cloud/serializers/account_attrs.py:213 msgid "Private key" msgstr "" @@ -8183,71 +8188,63 @@ msgstr "" msgid "Preference" msgstr "" -#: users/models/user.py:691 -msgid "Force enabled" -msgstr "" - -#: users/models/user.py:914 users/serializers/user.py:271 +#: users/models/user/__init__.py:68 users/serializers/user.py:271 msgid "Is service account" msgstr "Is service account" -#: users/models/user.py:916 +#: users/models/user/__init__.py:70 msgid "Avatar" msgstr "" -#: users/models/user.py:918 +#: users/models/user/__init__.py:72 msgid "Wechat" msgstr "" -#: users/models/user.py:927 +#: users/models/user/__init__.py:81 msgid "OTP secret key" msgstr "" -#: users/models/user.py:937 users/serializers/profile.py:124 +#: users/models/user/__init__.py:91 users/serializers/profile.py:124 #: users/serializers/user.py:268 msgid "Is first login" msgstr "First login" -#: users/models/user.py:955 +#: users/models/user/__init__.py:109 msgid "Date password last updated" msgstr "Password updated" -#: users/models/user.py:958 +#: users/models/user/__init__.py:112 msgid "Need update password" msgstr "" -#: users/models/user.py:982 +#: users/models/user/__init__.py:136 msgid "Date api key used" msgstr "" -#: users/models/user.py:1120 +#: users/models/user/__init__.py:275 msgid "Can not delete admin user" msgstr "" -#: users/models/user.py:1134 +#: users/models/user/__init__.py:289 msgid "Can invite user" msgstr "" -#: users/models/user.py:1135 +#: users/models/user/__init__.py:290 msgid "Can remove user" msgstr "" -#: users/models/user.py:1136 +#: users/models/user/__init__.py:291 msgid "Can match user" msgstr "" -#: users/models/user.py:1147 -msgid "Administrator" -msgstr "" - -#: users/models/user.py:1150 -msgid "Administrator is the super user of system" -msgstr "" - -#: users/models/user.py:1182 +#: users/models/user/__init__.py:320 msgid "User password history" msgstr "" +#: users/models/user/_auth.py:34 +msgid "Force enabled" +msgstr "" + #: users/notifications.py:55 #: users/templates/users/_msg_password_expire_reminder.html:17 #: users/templates/users/reset_password.html:5 @@ -8618,23 +8615,23 @@ msgstr "" msgid "Password strength" msgstr "" -#: users/templates/users/reset_password.html:51 +#: users/templates/users/reset_password.html:52 msgid "Very weak" msgstr "" -#: users/templates/users/reset_password.html:52 +#: users/templates/users/reset_password.html:53 msgid "Weak" msgstr "" -#: users/templates/users/reset_password.html:54 +#: users/templates/users/reset_password.html:55 msgid "Medium" msgstr "" -#: users/templates/users/reset_password.html:55 +#: users/templates/users/reset_password.html:56 msgid "Strong" msgstr "" -#: users/templates/users/reset_password.html:56 +#: users/templates/users/reset_password.html:57 msgid "Very strong" msgstr "" @@ -8880,7 +8877,7 @@ msgstr "" msgid "Public IP" msgstr "" -#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:347 +#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:352 msgid "Instance name" msgstr "" @@ -9005,7 +9002,7 @@ msgstr "" msgid "Set protocols \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:28 msgid "Run sync instance task" msgstr "" @@ -9013,164 +9010,164 @@ msgstr "" msgid "Cloud center" msgstr "" -#: xpack/plugins/cloud/models.py:38 +#: xpack/plugins/cloud/models.py:39 #: xpack/plugins/cloud/serializers/account.py:94 msgid "Attrs" msgstr "" -#: xpack/plugins/cloud/models.py:39 +#: xpack/plugins/cloud/models.py:40 msgid "Validity" msgstr "" -#: xpack/plugins/cloud/models.py:44 +#: xpack/plugins/cloud/models.py:45 msgid "Cloud account" msgstr "" -#: xpack/plugins/cloud/models.py:46 +#: xpack/plugins/cloud/models.py:47 msgid "Test cloud account" msgstr "" -#: xpack/plugins/cloud/models.py:103 +#: xpack/plugins/cloud/models.py:104 #: xpack/plugins/cloud/serializers/account.py:76 -#: xpack/plugins/cloud/serializers/task.py:156 +#: xpack/plugins/cloud/serializers/task.py:157 msgid "Regions" msgstr "" -#: xpack/plugins/cloud/models.py:106 +#: xpack/plugins/cloud/models.py:107 msgid "Hostname strategy" msgstr "" -#: xpack/plugins/cloud/models.py:111 +#: xpack/plugins/cloud/models.py:112 msgid "IP network segment group" msgstr "" -#: xpack/plugins/cloud/models.py:114 -#: xpack/plugins/cloud/serializers/task.py:159 +#: xpack/plugins/cloud/models.py:115 +#: xpack/plugins/cloud/serializers/task.py:160 msgid "Sync IP type" msgstr "" -#: xpack/plugins/cloud/models.py:117 +#: xpack/plugins/cloud/models.py:118 msgid "Always update" msgstr "" -#: xpack/plugins/cloud/models.py:119 +#: xpack/plugins/cloud/models.py:120 msgid "Fully synchronous" msgstr "" -#: xpack/plugins/cloud/models.py:124 +#: xpack/plugins/cloud/models.py:125 msgid "Date last sync" msgstr "" -#: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:365 -#: xpack/plugins/cloud/models.py:391 +#: xpack/plugins/cloud/models.py:128 xpack/plugins/cloud/models.py:370 +#: xpack/plugins/cloud/models.py:396 msgid "Strategy" msgstr "" -#: xpack/plugins/cloud/models.py:132 xpack/plugins/cloud/models.py:220 +#: xpack/plugins/cloud/models.py:133 xpack/plugins/cloud/models.py:221 msgid "Sync instance task" msgstr "" -#: xpack/plugins/cloud/models.py:231 xpack/plugins/cloud/models.py:283 +#: xpack/plugins/cloud/models.py:232 xpack/plugins/cloud/models.py:288 msgid "Date sync" msgstr "" -#: xpack/plugins/cloud/models.py:235 +#: xpack/plugins/cloud/models.py:236 msgid "Sync instance snapshot" msgstr "" -#: xpack/plugins/cloud/models.py:239 +#: xpack/plugins/cloud/models.py:244 msgid "Sync instance task execution" msgstr "" -#: xpack/plugins/cloud/models.py:263 +#: xpack/plugins/cloud/models.py:268 msgid "Sync task" msgstr "" -#: xpack/plugins/cloud/models.py:267 +#: xpack/plugins/cloud/models.py:272 msgid "Sync instance task history" msgstr "" -#: xpack/plugins/cloud/models.py:270 +#: xpack/plugins/cloud/models.py:275 msgid "Instance" msgstr "" -#: xpack/plugins/cloud/models.py:287 +#: xpack/plugins/cloud/models.py:292 msgid "Sync instance detail" msgstr "" -#: xpack/plugins/cloud/models.py:299 xpack/plugins/cloud/serializers/task.py:76 +#: xpack/plugins/cloud/models.py:304 xpack/plugins/cloud/serializers/task.py:77 msgid "Rule relation" msgstr "" -#: xpack/plugins/cloud/models.py:309 +#: xpack/plugins/cloud/models.py:314 msgid "Task strategy" msgstr "" -#: xpack/plugins/cloud/models.py:336 +#: xpack/plugins/cloud/models.py:341 msgid "Equal" msgstr "" -#: xpack/plugins/cloud/models.py:337 +#: xpack/plugins/cloud/models.py:342 msgid "Not Equal" msgstr "" -#: xpack/plugins/cloud/models.py:338 +#: xpack/plugins/cloud/models.py:343 msgid "In" msgstr "" -#: xpack/plugins/cloud/models.py:339 +#: xpack/plugins/cloud/models.py:344 msgid "Contains" msgstr "" -#: xpack/plugins/cloud/models.py:340 +#: xpack/plugins/cloud/models.py:345 msgid "Exclude" msgstr "" -#: xpack/plugins/cloud/models.py:341 +#: xpack/plugins/cloud/models.py:346 msgid "Startswith" msgstr "" -#: xpack/plugins/cloud/models.py:342 +#: xpack/plugins/cloud/models.py:347 msgid "Endswith" msgstr "" -#: xpack/plugins/cloud/models.py:348 +#: xpack/plugins/cloud/models.py:353 msgid "Instance platform" msgstr "" -#: xpack/plugins/cloud/models.py:349 +#: xpack/plugins/cloud/models.py:354 msgid "Instance address" msgstr "" -#: xpack/plugins/cloud/models.py:356 +#: xpack/plugins/cloud/models.py:361 msgid "Rule attr" msgstr "" -#: xpack/plugins/cloud/models.py:360 +#: xpack/plugins/cloud/models.py:365 msgid "Rule match" msgstr "" -#: xpack/plugins/cloud/models.py:362 +#: xpack/plugins/cloud/models.py:367 msgid "Rule value" msgstr "" -#: xpack/plugins/cloud/models.py:369 xpack/plugins/cloud/serializers/task.py:79 +#: xpack/plugins/cloud/models.py:374 xpack/plugins/cloud/serializers/task.py:80 msgid "Strategy rule" msgstr "" -#: xpack/plugins/cloud/models.py:379 +#: xpack/plugins/cloud/models.py:384 msgid "Name strategy" msgstr "" -#: xpack/plugins/cloud/models.py:386 +#: xpack/plugins/cloud/models.py:391 msgid "Action attr" msgstr "" -#: xpack/plugins/cloud/models.py:388 +#: xpack/plugins/cloud/models.py:393 msgid "Action value" msgstr "" -#: xpack/plugins/cloud/models.py:395 xpack/plugins/cloud/serializers/task.py:82 +#: xpack/plugins/cloud/models.py:400 xpack/plugins/cloud/serializers/task.py:83 msgid "Strategy action" msgstr "" @@ -9469,15 +9466,15 @@ msgstr "" msgid "Project" msgstr "" -#: xpack/plugins/cloud/serializers/task.py:154 +#: xpack/plugins/cloud/serializers/task.py:155 msgid "History count" msgstr "" -#: xpack/plugins/cloud/serializers/task.py:155 +#: xpack/plugins/cloud/serializers/task.py:156 msgid "Instance count" msgstr "" -#: xpack/plugins/cloud/tasks.py:41 +#: xpack/plugins/cloud/tasks.py:42 msgid "Period clean sync instance task execution" msgstr "" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index 354c96fc5..f51e85d8f 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/ja/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-10 18:54+0800\n" +"POT-Creation-Date: 2024-07-16 16:57+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -174,7 +174,7 @@ msgstr "匿名ユーザー" msgid "Specified account" msgstr "特定のアカウント" -#: accounts/const/account.py:26 users/models/user.py:792 +#: accounts/const/account.py:26 users/models/user/_source.py:11 msgid "Local" msgstr "ローカル" @@ -294,7 +294,7 @@ msgstr "作成のみ" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:21 #: settings/serializers/msg.py:58 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:903 +#: users/forms/profile.py:108 users/models/user/__init__.py:57 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -354,7 +354,7 @@ msgstr "ユーザー %s がパスワードを閲覧/導き出しました" #: terminal/serializers/command.py:17 terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 #: terminal/templates/terminal/_msg_session_sharing.html:4 -#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:276 +#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:281 msgid "Asset" msgstr "資産" @@ -373,7 +373,7 @@ msgid "Version" msgstr "バージョン" #: accounts/models/account.py:57 accounts/serializers/account/account.py:220 -#: users/models/user.py:964 +#: users/models/user/__init__.py:118 msgid "Source" msgstr "ソース" @@ -395,7 +395,7 @@ msgstr "ソース ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:101 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "アカウント" @@ -484,13 +484,14 @@ msgstr "アカウントのバックアップスナップショット" #: accounts/serializers/account/backup.py:48 #: accounts/serializers/automations/base.py:56 #: assets/models/automations/base.py:122 -#: assets/serializers/automations/base.py:40 +#: assets/serializers/automations/base.py:40 xpack/plugins/cloud/models.py:240 +#: xpack/plugins/cloud/serializers/task.py:231 msgid "Trigger mode" msgstr "トリガーモード" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 #: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 -#: xpack/plugins/cloud/models.py:228 +#: xpack/plugins/cloud/models.py:229 msgid "Reason" msgstr "理由" @@ -586,8 +587,8 @@ msgstr "終了日" #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 #: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 #: tickets/serializers/super_ticket.py:13 -#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:224 -#: xpack/plugins/cloud/models.py:280 +#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:225 +#: xpack/plugins/cloud/models.py:285 msgid "Status" msgstr "ステータス" @@ -622,7 +623,7 @@ msgstr "最終ログイン日" #: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9 #: terminal/serializers/storage.py:136 users/forms/profile.py:31 -#: users/forms/profile.py:114 users/models/user.py:901 +#: users/forms/profile.py:114 users/models/user/__init__.py:55 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -719,9 +720,9 @@ msgstr "パスワードルール" #: terminal/models/virtualapp/provider.py:10 #: terminal/models/virtualapp/virtualapp.py:19 tickets/api/ticket.py:87 #: users/forms/profile.py:32 users/models/group.py:13 -#: users/models/preference.py:11 users/models/user.py:902 -#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:296 -#: xpack/plugins/cloud/serializers/task.py:74 +#: users/models/preference.py:11 users/models/user/__init__.py:56 +#: xpack/plugins/cloud/models.py:34 xpack/plugins/cloud/models.py:301 +#: xpack/plugins/cloud/serializers/task.py:75 msgid "Name" msgstr "名前" @@ -749,7 +750,7 @@ msgstr "プラットフォーム" msgid "Push params" msgstr "パラメータをプッシュする" -#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:377 +#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:382 msgid "Account template" msgstr "アカウント テンプレート" @@ -954,8 +955,8 @@ msgstr "ID" #: terminal/serializers/command.py:16 #: terminal/templates/terminal/_msg_command_warning.html:6 #: terminal/templates/terminal/_msg_session_sharing.html:6 -#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1125 -#: users/models/user.py:1169 +#: tickets/models/comment.py:21 users/const.py:14 +#: users/models/user/__init__.py:280 users/models/user/__init__.py:307 msgid "User" msgstr "ユーザー" @@ -985,7 +986,7 @@ msgstr "資産タイプ" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "パスワード" +msgstr "キーパスワード" #: accounts/serializers/account/base.py:96 msgid "" @@ -1044,8 +1045,8 @@ msgstr "关联平台,可以配置推送参数,如果不关联,则使用默 #: terminal/models/component/endpoint.py:119 #: terminal/models/session/session.py:47 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:295 users/models/user.py:936 -#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:121 +#: tickets/models/ticket/general.py:295 users/models/user/__init__.py:90 +#: xpack/plugins/cloud/models.py:41 xpack/plugins/cloud/models.py:122 msgid "Comment" msgstr "コメント" @@ -1233,12 +1234,12 @@ msgid "Notify" msgstr "通知する" #: acls/models/base.py:37 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:302 +#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:307 msgid "Priority" msgstr "優先順位" #: acls/models/base.py:38 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:303 +#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:308 msgid "1-100, the lower the value will be match first" msgstr "1-100、低い値は最初に一致します" @@ -1281,7 +1282,7 @@ msgid "Command" msgstr "コマンド" #: acls/models/command_acl.py:17 assets/models/cmd_filter.py:59 -#: xpack/plugins/cloud/models.py:343 +#: xpack/plugins/cloud/models.py:348 msgid "Regex" msgstr "正規情報" @@ -1387,7 +1388,7 @@ msgid "None of the reviewers belong to Organization `{}`" msgstr "いずれのレビューアも組織 '{}' に属していません" #: acls/serializers/rules/rules.py:20 -#: xpack/plugins/cloud/serializers/task.py:149 +#: xpack/plugins/cloud/serializers/task.py:150 msgid "IP address invalid: `{}`" msgstr "IPアドレスが無効: '{}'" @@ -1403,7 +1404,7 @@ msgstr "" #: authentication/templates/authentication/_msg_oauth_bind.html:12 #: authentication/templates/authentication/_msg_rest_password_success.html:8 #: authentication/templates/authentication/_msg_rest_public_key_success.html:8 -#: xpack/plugins/cloud/models.py:378 +#: xpack/plugins/cloud/models.py:383 msgid "IP" msgstr "IP" @@ -1577,7 +1578,7 @@ msgid "Gather facts" msgstr "資産情報の収集" #: assets/const/base.py:32 audits/const.py:58 -#: terminal/serializers/applet_host.py:32 users/models/user.py:689 +#: terminal/serializers/applet_host.py:32 users/models/user/_auth.py:32 msgid "Disabled" msgstr "無効" @@ -1802,7 +1803,7 @@ msgstr "ボタンセレクターを確認する" msgid "API mode" msgstr "APIモード" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "いろんなタイプ" @@ -1833,7 +1834,7 @@ msgstr "アドレス" #: assets/models/asset/common.py:161 assets/models/platform.py:134 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 -#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:373 +#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:378 msgid "Platform" msgstr "プラットフォーム" @@ -1892,7 +1893,7 @@ msgstr "プロキシー" #: assets/models/automations/base.py:18 assets/models/cmd_filter.py:32 #: assets/models/node.py:553 perms/models/asset_permission.py:72 -#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:374 +#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:379 msgid "Node" msgstr "ノード" @@ -1911,7 +1912,7 @@ msgstr "アセットの自動化タスク" #: assets/models/automations/base.py:114 assets/models/cmd_filter.py:41 #: common/db/models.py:34 ops/models/base.py:54 ops/models/job.py:241 -#: users/models/user.py:1172 +#: users/models/user/__init__.py:310 msgid "Date created" msgstr "作成された日付" @@ -1932,17 +1933,17 @@ msgid "Date verified" msgstr "確認済みの日付" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 -#: users/models/group.py:25 users/models/user.py:908 +#: users/models/group.py:25 users/models/user/__init__.py:62 msgid "User group" msgstr "ユーザーグループ" #: assets/models/cmd_filter.py:42 common/db/models.py:35 -#: users/models/user.py:984 +#: users/models/user/__init__.py:138 msgid "Date updated" msgstr "更新日" #: assets/models/cmd_filter.py:44 assets/models/cmd_filter.py:91 -#: common/db/models.py:32 users/models/user.py:946 +#: common/db/models.py:32 users/models/user/__init__.py:100 #: users/serializers/group.py:32 msgid "Created by" msgstr "によって作成された" @@ -1979,7 +1980,7 @@ msgstr "お気に入りのアセット" msgid "Gateway" msgstr "ゲートウェイ" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1151 +#: assets/models/label.py:15 rbac/const.py:6 msgid "System" msgstr "システム" @@ -2052,7 +2053,7 @@ msgstr "設定" #: assets/models/platform.py:38 audits/const.py:59 #: authentication/backends/passkey/models.py:11 settings/models.py:38 -#: terminal/serializers/applet_host.py:33 users/models/user.py:690 +#: terminal/serializers/applet_host.py:33 users/models/user/_auth.py:33 msgid "Enabled" msgstr "有効化" @@ -2179,8 +2180,8 @@ msgstr "" #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:46 -#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:376 -#: xpack/plugins/cloud/serializers/task.py:34 +#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:381 +#: xpack/plugins/cloud/serializers/task.py:35 msgid "Protocols" msgstr "プロトコル" @@ -2704,7 +2705,7 @@ msgstr "ログインIP" #: audits/models.py:200 audits/serializers.py:52 #: authentication/templates/authentication/_mfa_confirm_modal.html:14 -#: users/forms/profile.py:63 users/models/user.py:924 +#: users/forms/profile.py:63 users/models/user/__init__.py:78 #: users/serializers/profile.py:97 msgid "MFA" msgstr "MFA" @@ -2762,7 +2763,7 @@ msgstr "ユーザー %s %s が現在のリソースをサブスクライブし #: audits/serializers.py:172 authentication/models/connection_token.py:47 #: authentication/models/temp_token.py:13 perms/models/asset_permission.py:80 #: tickets/models/ticket/apply_application.py:31 -#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:943 +#: tickets/models/ticket/apply_asset.py:20 users/models/user/__init__.py:97 msgid "Date expired" msgstr "期限切れの日付" @@ -2796,29 +2797,29 @@ msgstr "認証トークン" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:78 notifications/backends/__init__.py:11 #: settings/serializers/auth/wecom.py:10 settings/serializers/auth/wecom.py:15 -#: users/models/user.py:799 users/models/user.py:967 +#: users/models/user/__init__.py:121 users/models/user/_source.py:18 msgid "WeCom" msgstr "企業微信" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:105 #: authentication/views/login.py:90 notifications/backends/__init__.py:14 #: settings/serializers/auth/feishu.py:10 -#: settings/serializers/auth/feishu.py:12 users/models/user.py:801 -#: users/models/user.py:973 +#: settings/serializers/auth/feishu.py:12 users/models/user/__init__.py:127 +#: users/models/user/_source.py:20 msgid "FeiShu" msgstr "本を飛ばす" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:102 #: authentication/views/slack.py:87 notifications/backends/__init__.py:16 #: settings/serializers/auth/slack.py:10 settings/serializers/auth/slack.py:12 -#: users/models/user.py:803 users/models/user.py:979 +#: users/models/user/__init__.py:133 users/models/user/_source.py:22 msgid "Slack" msgstr "Slack" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:159 #: authentication/views/login.py:84 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:800 -#: users/models/user.py:970 +#: settings/serializers/auth/dingtalk.py:10 users/models/user/__init__.py:124 +#: users/models/user/_source.py:19 msgid "DingTalk" msgstr "DingTalk" @@ -3393,7 +3394,7 @@ msgid "Component" msgstr "コンポーネント" #: authentication/serializers/connect_token_secret.py:136 -#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:375 +#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:380 msgid "Domain" msgstr "ドメイン" @@ -3957,7 +3958,7 @@ msgstr "は破棄されます" msgid "discard time" msgstr "時間を捨てる" -#: common/db/models.py:33 users/models/user.py:949 +#: common/db/models.py:33 users/models/user/__init__.py:103 msgid "Updated by" msgstr "によって更新" @@ -3993,7 +3994,7 @@ msgstr "" "{} - 暗号化パスワードが設定されていません-個人情報->ファイル暗号化パスワード" "に暗号化パスワードを設定してください" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s オブジェクトは存在しません。" @@ -4146,7 +4147,7 @@ msgstr "無効なオプション: {}" msgid "Tags" msgstr "ラベル" -#: common/tasks.py:31 common/utils/verify_code.py:16 +#: common/tasks.py:31 msgid "Send email" msgstr "メールを送る" @@ -4171,6 +4172,12 @@ msgstr "無効なアドレス。" msgid "Hello %s" msgstr "こんにちは %s" +#: common/utils/verify_code.py:16 +#, fuzzy +#| msgid "Please enter SMS code" +msgid "Send SMS code" +msgstr "SMSコードを入力してください" + #: common/validators.py:16 msgid "Special char not allowed" msgstr "特別なcharは許可されていません" @@ -4545,7 +4552,7 @@ msgid "Date last run" msgstr "最終実行日" #: ops/models/base.py:51 ops/models/job.py:238 -#: xpack/plugins/cloud/models.py:222 +#: xpack/plugins/cloud/models.py:223 msgid "Result" msgstr "結果" @@ -5056,7 +5063,7 @@ msgid "Scope" msgstr "スコープ" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:911 +#: users/models/user/__init__.py:65 msgid "Role" msgstr "ロール" @@ -5456,7 +5463,7 @@ msgstr "" msgid "Dingtalk" msgstr "ピン認証の有効化" -#: settings/serializers/auth/lark.py:12 users/models/user.py:802 +#: settings/serializers/auth/lark.py:12 users/models/user/_source.py:21 msgid "Lark" msgstr "Lark認証を有効にする" @@ -5764,7 +5771,7 @@ msgstr "ユーザーがログアウトすると、SAML2サーバーからもロ msgid "Enable Short Message Service (SMS)" msgstr "短信サービス(SMS)を有効にする" -#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:35 +#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:36 msgid "Provider" msgstr "プロバイダー" @@ -5791,7 +5798,7 @@ msgstr "署名" msgid "Template code" msgstr "テンプレートコード" -#: settings/serializers/auth/sms.py:40 users/models/user.py:921 +#: settings/serializers/auth/sms.py:40 users/models/user/__init__.py:75 #: users/serializers/user.py:155 msgid "Phone" msgstr "電話" @@ -6493,7 +6500,7 @@ msgstr "" "する" #: settings/serializers/terminal.py:34 users/forms/profile.py:172 -#: users/models/user.py:934 +#: users/models/user/__init__.py:88 #: xpack/plugins/cloud/serializers/account_attrs.py:210 msgid "Public key" msgstr "公開キー" @@ -7046,7 +7053,7 @@ msgid "High" msgstr "高い" #: terminal/const.py:47 terminal/const.py:84 -#: users/templates/users/reset_password.html:53 +#: users/templates/users/reset_password.html:54 msgid "Normal" msgstr "正常" @@ -7702,7 +7709,7 @@ msgid "Access key secret" msgstr "アクセスキーシークレット" #: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 -#: xpack/plugins/cloud/models.py:273 +#: xpack/plugins/cloud/models.py:278 msgid "Region" msgstr "リージョン" @@ -7722,7 +7729,7 @@ msgstr "エンドポイントサフィックス" msgid "HOST" msgstr "ホスト" -#: terminal/serializers/storage.py:146 users/models/user.py:931 +#: terminal/serializers/storage.py:146 users/models/user/__init__.py:85 #: xpack/plugins/cloud/serializers/account_attrs.py:213 msgid "Private key" msgstr "ssh秘密鍵" @@ -8470,73 +8477,65 @@ msgstr "有効なssh公開鍵ではありません" msgid "Preference" msgstr "ユーザー設定" -#: users/models/user.py:691 -msgid "Force enabled" -msgstr "強制有効" - -#: users/models/user.py:914 users/serializers/user.py:271 +#: users/models/user/__init__.py:68 users/serializers/user.py:271 msgid "Is service account" msgstr "サービスアカウントです" -#: users/models/user.py:916 +#: users/models/user/__init__.py:70 msgid "Avatar" msgstr "アバター" -#: users/models/user.py:918 +#: users/models/user/__init__.py:72 msgid "Wechat" msgstr "微信" -#: users/models/user.py:927 +#: users/models/user/__init__.py:81 msgid "OTP secret key" msgstr "OTP 秘密" # msgid "Private key" # msgstr "ssh秘密鍵" -#: users/models/user.py:937 users/serializers/profile.py:124 +#: users/models/user/__init__.py:91 users/serializers/profile.py:124 #: users/serializers/user.py:268 msgid "Is first login" msgstr "最初のログインです" -#: users/models/user.py:955 +#: users/models/user/__init__.py:109 msgid "Date password last updated" msgstr "最終更新日パスワード" -#: users/models/user.py:958 +#: users/models/user/__init__.py:112 msgid "Need update password" msgstr "更新パスワードが必要" -#: users/models/user.py:982 +#: users/models/user/__init__.py:136 msgid "Date api key used" msgstr "API key 最後に使用した日付" -#: users/models/user.py:1120 +#: users/models/user/__init__.py:275 msgid "Can not delete admin user" msgstr "管理者ユーザーを削除できませんでした" -#: users/models/user.py:1134 +#: users/models/user/__init__.py:289 msgid "Can invite user" msgstr "ユーザーを招待できます" -#: users/models/user.py:1135 +#: users/models/user/__init__.py:290 msgid "Can remove user" msgstr "ユーザーを削除できます" -#: users/models/user.py:1136 +#: users/models/user/__init__.py:291 msgid "Can match user" msgstr "ユーザーに一致できます" -#: users/models/user.py:1147 -msgid "Administrator" -msgstr "管理者" - -#: users/models/user.py:1150 -msgid "Administrator is the super user of system" -msgstr "管理者はシステムのスーパーユーザーです" - -#: users/models/user.py:1182 +#: users/models/user/__init__.py:320 msgid "User password history" msgstr "ユーザーパスワード履歴" +#: users/models/user/_auth.py:34 +msgid "Force enabled" +msgstr "強制有効" + #: users/notifications.py:55 #: users/templates/users/_msg_password_expire_reminder.html:17 #: users/templates/users/reset_password.html:5 @@ -8933,23 +8932,23 @@ msgstr "パスワードを満たす必要があります" msgid "Password strength" msgstr "パスワードの強さ" -#: users/templates/users/reset_password.html:51 +#: users/templates/users/reset_password.html:52 msgid "Very weak" msgstr "非常に弱い" -#: users/templates/users/reset_password.html:52 +#: users/templates/users/reset_password.html:53 msgid "Weak" msgstr "弱い" -#: users/templates/users/reset_password.html:54 +#: users/templates/users/reset_password.html:55 msgid "Medium" msgstr "中" -#: users/templates/users/reset_password.html:55 +#: users/templates/users/reset_password.html:56 msgid "Strong" msgstr "強い" -#: users/templates/users/reset_password.html:56 +#: users/templates/users/reset_password.html:57 msgid "Very strong" msgstr "非常に強い" @@ -9205,7 +9204,7 @@ msgstr "プライベートIP" msgid "Public IP" msgstr "パブリックIP" -#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:347 +#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:352 msgid "Instance name" msgstr "インスタンス名" @@ -9332,7 +9331,7 @@ msgstr "アカウント \"%s\" の設定" msgid "Set protocols \"%s\"" msgstr "プロトコル \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:28 msgid "Run sync instance task" msgstr "同期インスタンス タスクを実行する" @@ -9340,164 +9339,164 @@ msgstr "同期インスタンス タスクを実行する" msgid "Cloud center" msgstr "クラウドセンター" -#: xpack/plugins/cloud/models.py:38 +#: xpack/plugins/cloud/models.py:39 #: xpack/plugins/cloud/serializers/account.py:94 msgid "Attrs" msgstr "ツールバーの" -#: xpack/plugins/cloud/models.py:39 +#: xpack/plugins/cloud/models.py:40 msgid "Validity" msgstr "有効性" -#: xpack/plugins/cloud/models.py:44 +#: xpack/plugins/cloud/models.py:45 msgid "Cloud account" msgstr "クラウドアカウント" -#: xpack/plugins/cloud/models.py:46 +#: xpack/plugins/cloud/models.py:47 msgid "Test cloud account" msgstr "クラウドアカウントのテスト" -#: xpack/plugins/cloud/models.py:103 +#: xpack/plugins/cloud/models.py:104 #: xpack/plugins/cloud/serializers/account.py:76 -#: xpack/plugins/cloud/serializers/task.py:156 +#: xpack/plugins/cloud/serializers/task.py:157 msgid "Regions" msgstr "リージョン" -#: xpack/plugins/cloud/models.py:106 +#: xpack/plugins/cloud/models.py:107 msgid "Hostname strategy" msgstr "ホスト名戦略" -#: xpack/plugins/cloud/models.py:111 +#: xpack/plugins/cloud/models.py:112 msgid "IP network segment group" msgstr "IPネットワークセグメントグループ" -#: xpack/plugins/cloud/models.py:114 -#: xpack/plugins/cloud/serializers/task.py:159 +#: xpack/plugins/cloud/models.py:115 +#: xpack/plugins/cloud/serializers/task.py:160 msgid "Sync IP type" msgstr "同期IPタイプ" -#: xpack/plugins/cloud/models.py:117 +#: xpack/plugins/cloud/models.py:118 msgid "Always update" msgstr "常に更新" -#: xpack/plugins/cloud/models.py:119 +#: xpack/plugins/cloud/models.py:120 msgid "Fully synchronous" msgstr "完全同期" -#: xpack/plugins/cloud/models.py:124 +#: xpack/plugins/cloud/models.py:125 msgid "Date last sync" msgstr "最終同期日" -#: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:365 -#: xpack/plugins/cloud/models.py:391 +#: xpack/plugins/cloud/models.py:128 xpack/plugins/cloud/models.py:370 +#: xpack/plugins/cloud/models.py:396 msgid "Strategy" msgstr "戦略" -#: xpack/plugins/cloud/models.py:132 xpack/plugins/cloud/models.py:220 +#: xpack/plugins/cloud/models.py:133 xpack/plugins/cloud/models.py:221 msgid "Sync instance task" msgstr "インスタンスの同期タスク" -#: xpack/plugins/cloud/models.py:231 xpack/plugins/cloud/models.py:283 +#: xpack/plugins/cloud/models.py:232 xpack/plugins/cloud/models.py:288 msgid "Date sync" msgstr "日付の同期" -#: xpack/plugins/cloud/models.py:235 +#: xpack/plugins/cloud/models.py:236 msgid "Sync instance snapshot" msgstr "インスタンススナップショットの同期" -#: xpack/plugins/cloud/models.py:239 +#: xpack/plugins/cloud/models.py:244 msgid "Sync instance task execution" msgstr "インスタンスタスクの同期実行" -#: xpack/plugins/cloud/models.py:263 +#: xpack/plugins/cloud/models.py:268 msgid "Sync task" msgstr "同期タスク" -#: xpack/plugins/cloud/models.py:267 +#: xpack/plugins/cloud/models.py:272 msgid "Sync instance task history" msgstr "インスタンスタスク履歴の同期" -#: xpack/plugins/cloud/models.py:270 +#: xpack/plugins/cloud/models.py:275 msgid "Instance" msgstr "インスタンス" -#: xpack/plugins/cloud/models.py:287 +#: xpack/plugins/cloud/models.py:292 msgid "Sync instance detail" msgstr "同期インスタンスの詳細" -#: xpack/plugins/cloud/models.py:299 xpack/plugins/cloud/serializers/task.py:76 +#: xpack/plugins/cloud/models.py:304 xpack/plugins/cloud/serializers/task.py:77 msgid "Rule relation" msgstr "条件関係" -#: xpack/plugins/cloud/models.py:309 +#: xpack/plugins/cloud/models.py:314 msgid "Task strategy" msgstr "ミッション戦略です" -#: xpack/plugins/cloud/models.py:336 +#: xpack/plugins/cloud/models.py:341 msgid "Equal" msgstr "等しい" -#: xpack/plugins/cloud/models.py:337 +#: xpack/plugins/cloud/models.py:342 msgid "Not Equal" msgstr "不等于" -#: xpack/plugins/cloud/models.py:338 +#: xpack/plugins/cloud/models.py:343 msgid "In" msgstr "で..." -#: xpack/plugins/cloud/models.py:339 +#: xpack/plugins/cloud/models.py:344 msgid "Contains" msgstr "含む" -#: xpack/plugins/cloud/models.py:340 +#: xpack/plugins/cloud/models.py:345 msgid "Exclude" msgstr "除外" -#: xpack/plugins/cloud/models.py:341 +#: xpack/plugins/cloud/models.py:346 msgid "Startswith" msgstr "始まる..." -#: xpack/plugins/cloud/models.py:342 +#: xpack/plugins/cloud/models.py:347 msgid "Endswith" msgstr "終わる..." -#: xpack/plugins/cloud/models.py:348 +#: xpack/plugins/cloud/models.py:353 msgid "Instance platform" msgstr "インスタンス名" -#: xpack/plugins/cloud/models.py:349 +#: xpack/plugins/cloud/models.py:354 msgid "Instance address" msgstr "インスタンスアドレス" -#: xpack/plugins/cloud/models.py:356 +#: xpack/plugins/cloud/models.py:361 msgid "Rule attr" msgstr "ルール属性" -#: xpack/plugins/cloud/models.py:360 +#: xpack/plugins/cloud/models.py:365 msgid "Rule match" msgstr "ルール一致" -#: xpack/plugins/cloud/models.py:362 +#: xpack/plugins/cloud/models.py:367 msgid "Rule value" msgstr "ルール値" -#: xpack/plugins/cloud/models.py:369 xpack/plugins/cloud/serializers/task.py:79 +#: xpack/plugins/cloud/models.py:374 xpack/plugins/cloud/serializers/task.py:80 msgid "Strategy rule" msgstr "戦略ルール" -#: xpack/plugins/cloud/models.py:379 +#: xpack/plugins/cloud/models.py:384 msgid "Name strategy" msgstr "ホスト名戦略" -#: xpack/plugins/cloud/models.py:386 +#: xpack/plugins/cloud/models.py:391 msgid "Action attr" msgstr "アクション属性" -#: xpack/plugins/cloud/models.py:388 +#: xpack/plugins/cloud/models.py:393 msgid "Action value" msgstr "アクション値" -#: xpack/plugins/cloud/models.py:395 xpack/plugins/cloud/serializers/task.py:82 +#: xpack/plugins/cloud/models.py:400 xpack/plugins/cloud/serializers/task.py:83 msgid "Strategy action" msgstr "戦略アクション" @@ -9799,15 +9798,15 @@ msgstr "テストタイムアウト" msgid "Project" msgstr "project" -#: xpack/plugins/cloud/serializers/task.py:154 +#: xpack/plugins/cloud/serializers/task.py:155 msgid "History count" msgstr "実行回数" -#: xpack/plugins/cloud/serializers/task.py:155 +#: xpack/plugins/cloud/serializers/task.py:156 msgid "Instance count" msgstr "インスタンス数" -#: xpack/plugins/cloud/tasks.py:41 +#: xpack/plugins/cloud/tasks.py:42 msgid "Period clean sync instance task execution" msgstr "同期インスタンス タスクの実行記録を定期的にクリアする" @@ -9880,3 +9879,9 @@ msgstr "エンタープライズプロフェッショナル版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "エンタープライズ・フラッグシップ・エディション" + +#~ msgid "Administrator" +#~ msgstr "管理者" + +#~ msgid "Administrator is the super user of system" +#~ msgstr "管理者はシステムのスーパーユーザーです" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index b3334fde1..8ce4a3a78 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-10 18:54+0800\n" +"POT-Creation-Date: 2024-07-16 16:57+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -173,7 +173,7 @@ msgstr "匿名账号" msgid "Specified account" msgstr "指定账号" -#: accounts/const/account.py:26 users/models/user.py:792 +#: accounts/const/account.py:26 users/models/user/_source.py:11 msgid "Local" msgstr "数据库" @@ -293,7 +293,7 @@ msgstr "仅创建" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:21 #: settings/serializers/msg.py:58 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:903 +#: users/forms/profile.py:108 users/models/user/__init__.py:57 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -353,7 +353,7 @@ msgstr "用户 %s 查看/导出 了密码" #: terminal/serializers/command.py:17 terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 #: terminal/templates/terminal/_msg_session_sharing.html:4 -#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:276 +#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:281 msgid "Asset" msgstr "资产" @@ -372,7 +372,7 @@ msgid "Version" msgstr "版本" #: accounts/models/account.py:57 accounts/serializers/account/account.py:220 -#: users/models/user.py:964 +#: users/models/user/__init__.py:118 msgid "Source" msgstr "来源" @@ -394,7 +394,7 @@ msgstr "来源 ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:101 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "账号" @@ -483,13 +483,14 @@ msgstr "账号备份快照" #: accounts/serializers/account/backup.py:48 #: accounts/serializers/automations/base.py:56 #: assets/models/automations/base.py:122 -#: assets/serializers/automations/base.py:40 +#: assets/serializers/automations/base.py:40 xpack/plugins/cloud/models.py:240 +#: xpack/plugins/cloud/serializers/task.py:231 msgid "Trigger mode" msgstr "触发模式" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 #: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 -#: xpack/plugins/cloud/models.py:228 +#: xpack/plugins/cloud/models.py:229 msgid "Reason" msgstr "原因" @@ -585,8 +586,8 @@ msgstr "结束日期" #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 #: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 #: tickets/serializers/super_ticket.py:13 -#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:224 -#: xpack/plugins/cloud/models.py:280 +#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:225 +#: xpack/plugins/cloud/models.py:285 msgid "Status" msgstr "状态" @@ -621,7 +622,7 @@ msgstr "最后登录日期" #: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9 #: terminal/serializers/storage.py:136 users/forms/profile.py:31 -#: users/forms/profile.py:114 users/models/user.py:901 +#: users/forms/profile.py:114 users/models/user/__init__.py:55 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -682,7 +683,7 @@ msgstr "密文类型" #: authentication/templates/authentication/_access_key_modal.html:31 #: settings/serializers/auth/radius.py:19 msgid "Secret" -msgstr "密钥" +msgstr "密文" #: accounts/models/base.py:42 #: accounts/serializers/automations/change_secret.py:41 @@ -718,9 +719,9 @@ msgstr "密码规则" #: terminal/models/virtualapp/provider.py:10 #: terminal/models/virtualapp/virtualapp.py:19 tickets/api/ticket.py:87 #: users/forms/profile.py:32 users/models/group.py:13 -#: users/models/preference.py:11 users/models/user.py:902 -#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:296 -#: xpack/plugins/cloud/serializers/task.py:74 +#: users/models/preference.py:11 users/models/user/__init__.py:56 +#: xpack/plugins/cloud/models.py:34 xpack/plugins/cloud/models.py:301 +#: xpack/plugins/cloud/serializers/task.py:75 msgid "Name" msgstr "名称" @@ -748,7 +749,7 @@ msgstr "平台" msgid "Push params" msgstr "账号推送参数" -#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:377 +#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:382 msgid "Account template" msgstr "账号模板" @@ -952,8 +953,8 @@ msgstr "ID" #: terminal/serializers/command.py:16 #: terminal/templates/terminal/_msg_command_warning.html:6 #: terminal/templates/terminal/_msg_session_sharing.html:6 -#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1125 -#: users/models/user.py:1169 +#: tickets/models/comment.py:21 users/const.py:14 +#: users/models/user/__init__.py:280 users/models/user/__init__.py:307 msgid "User" msgstr "用户" @@ -983,7 +984,7 @@ msgstr "资产类型" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "密码" +msgstr "密钥密码" #: accounts/serializers/account/base.py:96 msgid "" @@ -1042,8 +1043,8 @@ msgstr "关联平台,可配置推送参数,如果不关联,将使用默认 #: terminal/models/component/endpoint.py:119 #: terminal/models/session/session.py:47 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:295 users/models/user.py:936 -#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:121 +#: tickets/models/ticket/general.py:295 users/models/user/__init__.py:90 +#: xpack/plugins/cloud/models.py:41 xpack/plugins/cloud/models.py:122 msgid "Comment" msgstr "备注" @@ -1226,12 +1227,12 @@ msgid "Notify" msgstr "通知" #: acls/models/base.py:37 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:302 +#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:307 msgid "Priority" msgstr "优先级" #: acls/models/base.py:38 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:303 +#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:308 msgid "1-100, the lower the value will be match first" msgstr "优先级可选范围为 1-100 (数值越小越优先)" @@ -1274,7 +1275,7 @@ msgid "Command" msgstr "命令" #: acls/models/command_acl.py:17 assets/models/cmd_filter.py:59 -#: xpack/plugins/cloud/models.py:343 +#: xpack/plugins/cloud/models.py:348 msgid "Regex" msgstr "正则表达式" @@ -1379,7 +1380,7 @@ msgid "None of the reviewers belong to Organization `{}`" msgstr "所有复核人都不属于组织 `{}`" #: acls/serializers/rules/rules.py:20 -#: xpack/plugins/cloud/serializers/task.py:149 +#: xpack/plugins/cloud/serializers/task.py:150 msgid "IP address invalid: `{}`" msgstr "IP 地址无效: `{}`" @@ -1395,7 +1396,7 @@ msgstr "" #: authentication/templates/authentication/_msg_oauth_bind.html:12 #: authentication/templates/authentication/_msg_rest_password_success.html:8 #: authentication/templates/authentication/_msg_rest_public_key_success.html:8 -#: xpack/plugins/cloud/models.py:378 +#: xpack/plugins/cloud/models.py:383 msgid "IP" msgstr "IP" @@ -1566,7 +1567,7 @@ msgid "Gather facts" msgstr "收集资产信息" #: assets/const/base.py:32 audits/const.py:58 -#: terminal/serializers/applet_host.py:32 users/models/user.py:689 +#: terminal/serializers/applet_host.py:32 users/models/user/_auth.py:32 msgid "Disabled" msgstr "禁用" @@ -1789,7 +1790,7 @@ msgstr "确认按钮选择器" msgid "API mode" msgstr "API 模式" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "所有类型" @@ -1820,7 +1821,7 @@ msgstr "地址" #: assets/models/asset/common.py:161 assets/models/platform.py:134 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 -#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:373 +#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:378 msgid "Platform" msgstr "平台" @@ -1879,7 +1880,7 @@ msgstr "代理" #: assets/models/automations/base.py:18 assets/models/cmd_filter.py:32 #: assets/models/node.py:553 perms/models/asset_permission.py:72 -#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:374 +#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:379 msgid "Node" msgstr "节点" @@ -1900,7 +1901,7 @@ msgstr "资产自动化任务" # msgstr "备注" #: assets/models/automations/base.py:114 assets/models/cmd_filter.py:41 #: common/db/models.py:34 ops/models/base.py:54 ops/models/job.py:241 -#: users/models/user.py:1172 +#: users/models/user/__init__.py:310 msgid "Date created" msgstr "创建日期" @@ -1921,17 +1922,17 @@ msgid "Date verified" msgstr "校验日期" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 -#: users/models/group.py:25 users/models/user.py:908 +#: users/models/group.py:25 users/models/user/__init__.py:62 msgid "User group" msgstr "用户组" #: assets/models/cmd_filter.py:42 common/db/models.py:35 -#: users/models/user.py:984 +#: users/models/user/__init__.py:138 msgid "Date updated" msgstr "更新日期" #: assets/models/cmd_filter.py:44 assets/models/cmd_filter.py:91 -#: common/db/models.py:32 users/models/user.py:946 +#: common/db/models.py:32 users/models/user/__init__.py:100 #: users/serializers/group.py:32 msgid "Created by" msgstr "创建者" @@ -1968,7 +1969,7 @@ msgstr "收藏的资产" msgid "Gateway" msgstr "网关" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1151 +#: assets/models/label.py:15 rbac/const.py:6 msgid "System" msgstr "系统" @@ -2041,7 +2042,7 @@ msgstr "设置" #: assets/models/platform.py:38 audits/const.py:59 #: authentication/backends/passkey/models.py:11 settings/models.py:38 -#: terminal/serializers/applet_host.py:33 users/models/user.py:690 +#: terminal/serializers/applet_host.py:33 users/models/user/_auth.py:33 msgid "Enabled" msgstr "启用" @@ -2166,8 +2167,8 @@ msgstr "资产中批量更新平台,不符合平台类型跳过的资产" #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:46 -#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:376 -#: xpack/plugins/cloud/serializers/task.py:34 +#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:381 +#: xpack/plugins/cloud/serializers/task.py:35 msgid "Protocols" msgstr "协议组" @@ -2681,7 +2682,7 @@ msgstr "登录 IP" #: audits/models.py:200 audits/serializers.py:52 #: authentication/templates/authentication/_mfa_confirm_modal.html:14 -#: users/forms/profile.py:63 users/models/user.py:924 +#: users/forms/profile.py:63 users/models/user/__init__.py:78 #: users/serializers/profile.py:97 msgid "MFA" msgstr "MFA" @@ -2739,7 +2740,7 @@ msgstr "用户 %s %s 了当前资源" #: audits/serializers.py:172 authentication/models/connection_token.py:47 #: authentication/models/temp_token.py:13 perms/models/asset_permission.py:80 #: tickets/models/ticket/apply_application.py:31 -#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:943 +#: tickets/models/ticket/apply_asset.py:20 users/models/user/__init__.py:97 msgid "Date expired" msgstr "失效日期" @@ -2773,29 +2774,29 @@ msgstr "认证令牌" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:78 notifications/backends/__init__.py:11 #: settings/serializers/auth/wecom.py:10 settings/serializers/auth/wecom.py:15 -#: users/models/user.py:799 users/models/user.py:967 +#: users/models/user/__init__.py:121 users/models/user/_source.py:18 msgid "WeCom" msgstr "企业微信" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:105 #: authentication/views/login.py:90 notifications/backends/__init__.py:14 #: settings/serializers/auth/feishu.py:10 -#: settings/serializers/auth/feishu.py:12 users/models/user.py:801 -#: users/models/user.py:973 +#: settings/serializers/auth/feishu.py:12 users/models/user/__init__.py:127 +#: users/models/user/_source.py:20 msgid "FeiShu" msgstr "飞书" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:102 #: authentication/views/slack.py:87 notifications/backends/__init__.py:16 #: settings/serializers/auth/slack.py:10 settings/serializers/auth/slack.py:12 -#: users/models/user.py:803 users/models/user.py:979 +#: users/models/user/__init__.py:133 users/models/user/_source.py:22 msgid "Slack" msgstr "Slack" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:159 #: authentication/views/login.py:84 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:800 -#: users/models/user.py:970 +#: settings/serializers/auth/dingtalk.py:10 users/models/user/__init__.py:124 +#: users/models/user/_source.py:19 msgid "DingTalk" msgstr "钉钉" @@ -3355,7 +3356,7 @@ msgid "Component" msgstr "组件" #: authentication/serializers/connect_token_secret.py:136 -#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:375 +#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:380 msgid "Domain" msgstr "网域" @@ -3907,7 +3908,7 @@ msgstr "忽略的" msgid "discard time" msgstr "忽略时间" -#: common/db/models.py:33 users/models/user.py:949 +#: common/db/models.py:33 users/models/user/__init__.py:103 msgid "Updated by" msgstr "最后更新者" @@ -3941,7 +3942,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "{} - 未设置加密密码 - 请前往个人信息 -> 文件加密密码中设置加密密码" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s对象不存在" @@ -4094,7 +4095,7 @@ msgstr "标签" # msgid "Labels" # msgstr "标签管理" -#: common/tasks.py:31 common/utils/verify_code.py:16 +#: common/tasks.py:31 msgid "Send email" msgstr "发件邮件" @@ -4119,6 +4120,12 @@ msgstr "无效地址" msgid "Hello %s" msgstr "你好 %s" +#: common/utils/verify_code.py:16 +#, fuzzy +#| msgid "Please enter SMS code" +msgid "Send SMS code" +msgstr "请输入短信验证码" + #: common/validators.py:16 msgid "Special char not allowed" msgstr "不能包含特殊字符" @@ -4483,7 +4490,7 @@ msgid "Date last run" msgstr "最后运行日期" #: ops/models/base.py:51 ops/models/job.py:238 -#: xpack/plugins/cloud/models.py:222 +#: xpack/plugins/cloud/models.py:223 msgid "Result" msgstr "结果" @@ -4993,7 +5000,7 @@ msgid "Scope" msgstr "范围" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:911 +#: users/models/user/__init__.py:65 msgid "Role" msgstr "角色" @@ -5387,7 +5394,7 @@ msgstr "用户认证成功后,若用户不存在,则自动创建用户" msgid "Dingtalk" msgstr "启用钉钉认证" -#: settings/serializers/auth/lark.py:12 users/models/user.py:802 +#: settings/serializers/auth/lark.py:12 users/models/user/_source.py:21 msgid "Lark" msgstr "启用Lark认证" @@ -5689,7 +5696,7 @@ msgstr "当用户退出时,他们也会从 SAML2 服务器注销" msgid "Enable Short Message Service (SMS)" msgstr "启用短信服务 (SMS)" -#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:35 +#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:36 msgid "Provider" msgstr "云服务商" @@ -5716,7 +5723,7 @@ msgstr "签名" msgid "Template code" msgstr "模板" -#: settings/serializers/auth/sms.py:40 users/models/user.py:921 +#: settings/serializers/auth/sms.py:40 users/models/user/__init__.py:75 #: users/serializers/user.py:155 msgid "Phone" msgstr "手机" @@ -6378,7 +6385,7 @@ msgid "" msgstr "* 允许用户通过密码验证登录KoKo组件" #: settings/serializers/terminal.py:34 users/forms/profile.py:172 -#: users/models/user.py:934 +#: users/models/user/__init__.py:88 #: xpack/plugins/cloud/serializers/account_attrs.py:210 msgid "Public key" msgstr "SSH公钥" @@ -6914,7 +6921,7 @@ msgid "High" msgstr "较高" #: terminal/const.py:47 terminal/const.py:84 -#: users/templates/users/reset_password.html:53 +#: users/templates/users/reset_password.html:54 msgid "Normal" msgstr "正常" @@ -7563,7 +7570,7 @@ msgid "Access key secret" msgstr "Access key secret(SK)" #: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 -#: xpack/plugins/cloud/models.py:273 +#: xpack/plugins/cloud/models.py:278 msgid "Region" msgstr "地域" @@ -7583,7 +7590,7 @@ msgstr "端点后缀" msgid "HOST" msgstr "主机" -#: terminal/serializers/storage.py:146 users/models/user.py:931 +#: terminal/serializers/storage.py:146 users/models/user/__init__.py:85 #: xpack/plugins/cloud/serializers/account_attrs.py:213 msgid "Private key" msgstr "ssh私钥" @@ -8322,73 +8329,65 @@ msgstr "SSH密钥不合法" msgid "Preference" msgstr "用户设置" -#: users/models/user.py:691 -msgid "Force enabled" -msgstr "强制启用" - -#: users/models/user.py:914 users/serializers/user.py:271 +#: users/models/user/__init__.py:68 users/serializers/user.py:271 msgid "Is service account" msgstr "服务账号" -#: users/models/user.py:916 +#: users/models/user/__init__.py:70 msgid "Avatar" msgstr "头像" -#: users/models/user.py:918 +#: users/models/user/__init__.py:72 msgid "Wechat" msgstr "微信" -#: users/models/user.py:927 +#: users/models/user/__init__.py:81 msgid "OTP secret key" msgstr "OTP 密钥" # msgid "Private key" # msgstr "ssh私钥" -#: users/models/user.py:937 users/serializers/profile.py:124 +#: users/models/user/__init__.py:91 users/serializers/profile.py:124 #: users/serializers/user.py:268 msgid "Is first login" msgstr "首次登录" -#: users/models/user.py:955 +#: users/models/user/__init__.py:109 msgid "Date password last updated" msgstr "最后更新密码日期" -#: users/models/user.py:958 +#: users/models/user/__init__.py:112 msgid "Need update password" msgstr "需要更新密码" -#: users/models/user.py:982 +#: users/models/user/__init__.py:136 msgid "Date api key used" msgstr "API key 最后使用日期" -#: users/models/user.py:1120 +#: users/models/user/__init__.py:275 msgid "Can not delete admin user" msgstr "无法删除管理员用户" -#: users/models/user.py:1134 +#: users/models/user/__init__.py:289 msgid "Can invite user" msgstr "可以邀请用户" -#: users/models/user.py:1135 +#: users/models/user/__init__.py:290 msgid "Can remove user" msgstr "可以移除用户" -#: users/models/user.py:1136 +#: users/models/user/__init__.py:291 msgid "Can match user" msgstr "可以匹配用户" -#: users/models/user.py:1147 -msgid "Administrator" -msgstr "管理员" - -#: users/models/user.py:1150 -msgid "Administrator is the super user of system" -msgstr "Administrator是初始的超级管理员" - -#: users/models/user.py:1182 +#: users/models/user/__init__.py:320 msgid "User password history" msgstr "用户密码历史" +#: users/models/user/_auth.py:34 +msgid "Force enabled" +msgstr "强制启用" + #: users/notifications.py:55 #: users/templates/users/_msg_password_expire_reminder.html:17 #: users/templates/users/reset_password.html:5 @@ -8770,23 +8769,23 @@ msgstr "您的密码必须满足:" msgid "Password strength" msgstr "密码强度:" -#: users/templates/users/reset_password.html:51 +#: users/templates/users/reset_password.html:52 msgid "Very weak" msgstr "很弱" -#: users/templates/users/reset_password.html:52 +#: users/templates/users/reset_password.html:53 msgid "Weak" msgstr "弱" -#: users/templates/users/reset_password.html:54 +#: users/templates/users/reset_password.html:55 msgid "Medium" msgstr "一般" -#: users/templates/users/reset_password.html:55 +#: users/templates/users/reset_password.html:56 msgid "Strong" msgstr "强" -#: users/templates/users/reset_password.html:56 +#: users/templates/users/reset_password.html:57 msgid "Very strong" msgstr "很强" @@ -9032,7 +9031,7 @@ msgstr "私有IP" msgid "Public IP" msgstr "公网IP" -#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:347 +#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:352 msgid "Instance name" msgstr "实例名称" @@ -9157,7 +9156,7 @@ msgstr "删除账号: %s" msgid "Set protocols \"%s\"" msgstr "设置协议 \"%s\"" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:28 msgid "Run sync instance task" msgstr "执行同步实例任务" @@ -9165,164 +9164,164 @@ msgstr "执行同步实例任务" msgid "Cloud center" msgstr "云管中心" -#: xpack/plugins/cloud/models.py:38 +#: xpack/plugins/cloud/models.py:39 #: xpack/plugins/cloud/serializers/account.py:94 msgid "Attrs" msgstr "属性" -#: xpack/plugins/cloud/models.py:39 +#: xpack/plugins/cloud/models.py:40 msgid "Validity" msgstr "有效" -#: xpack/plugins/cloud/models.py:44 +#: xpack/plugins/cloud/models.py:45 msgid "Cloud account" msgstr "云账号" -#: xpack/plugins/cloud/models.py:46 +#: xpack/plugins/cloud/models.py:47 msgid "Test cloud account" msgstr "测试云账号" -#: xpack/plugins/cloud/models.py:103 +#: xpack/plugins/cloud/models.py:104 #: xpack/plugins/cloud/serializers/account.py:76 -#: xpack/plugins/cloud/serializers/task.py:156 +#: xpack/plugins/cloud/serializers/task.py:157 msgid "Regions" msgstr "地域" -#: xpack/plugins/cloud/models.py:106 +#: xpack/plugins/cloud/models.py:107 msgid "Hostname strategy" msgstr "主机名策略" -#: xpack/plugins/cloud/models.py:111 +#: xpack/plugins/cloud/models.py:112 msgid "IP network segment group" msgstr "IP网段组" -#: xpack/plugins/cloud/models.py:114 -#: xpack/plugins/cloud/serializers/task.py:159 +#: xpack/plugins/cloud/models.py:115 +#: xpack/plugins/cloud/serializers/task.py:160 msgid "Sync IP type" msgstr "同步IP类型" -#: xpack/plugins/cloud/models.py:117 +#: xpack/plugins/cloud/models.py:118 msgid "Always update" msgstr "总是更新" -#: xpack/plugins/cloud/models.py:119 +#: xpack/plugins/cloud/models.py:120 msgid "Fully synchronous" msgstr "完全同步" -#: xpack/plugins/cloud/models.py:124 +#: xpack/plugins/cloud/models.py:125 msgid "Date last sync" msgstr "最后同步日期" -#: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:365 -#: xpack/plugins/cloud/models.py:391 +#: xpack/plugins/cloud/models.py:128 xpack/plugins/cloud/models.py:370 +#: xpack/plugins/cloud/models.py:396 msgid "Strategy" msgstr "策略" -#: xpack/plugins/cloud/models.py:132 xpack/plugins/cloud/models.py:220 +#: xpack/plugins/cloud/models.py:133 xpack/plugins/cloud/models.py:221 msgid "Sync instance task" msgstr "同步实例任务" -#: xpack/plugins/cloud/models.py:231 xpack/plugins/cloud/models.py:283 +#: xpack/plugins/cloud/models.py:232 xpack/plugins/cloud/models.py:288 msgid "Date sync" msgstr "同步日期" -#: xpack/plugins/cloud/models.py:235 +#: xpack/plugins/cloud/models.py:236 msgid "Sync instance snapshot" msgstr "同步实例快照" -#: xpack/plugins/cloud/models.py:239 +#: xpack/plugins/cloud/models.py:244 msgid "Sync instance task execution" msgstr "同步实例任务执行" -#: xpack/plugins/cloud/models.py:263 +#: xpack/plugins/cloud/models.py:268 msgid "Sync task" msgstr "同步任务" -#: xpack/plugins/cloud/models.py:267 +#: xpack/plugins/cloud/models.py:272 msgid "Sync instance task history" msgstr "同步实例任务历史" -#: xpack/plugins/cloud/models.py:270 +#: xpack/plugins/cloud/models.py:275 msgid "Instance" msgstr "实例" -#: xpack/plugins/cloud/models.py:287 +#: xpack/plugins/cloud/models.py:292 msgid "Sync instance detail" msgstr "同步实例详情" -#: xpack/plugins/cloud/models.py:299 xpack/plugins/cloud/serializers/task.py:76 +#: xpack/plugins/cloud/models.py:304 xpack/plugins/cloud/serializers/task.py:77 msgid "Rule relation" msgstr "条件关系" -#: xpack/plugins/cloud/models.py:309 +#: xpack/plugins/cloud/models.py:314 msgid "Task strategy" msgstr "任务策略" -#: xpack/plugins/cloud/models.py:336 +#: xpack/plugins/cloud/models.py:341 msgid "Equal" msgstr "等于" -#: xpack/plugins/cloud/models.py:337 +#: xpack/plugins/cloud/models.py:342 msgid "Not Equal" msgstr "不等于" -#: xpack/plugins/cloud/models.py:338 +#: xpack/plugins/cloud/models.py:343 msgid "In" msgstr "在...中" -#: xpack/plugins/cloud/models.py:339 +#: xpack/plugins/cloud/models.py:344 msgid "Contains" msgstr "包含" -#: xpack/plugins/cloud/models.py:340 +#: xpack/plugins/cloud/models.py:345 msgid "Exclude" msgstr "排除" -#: xpack/plugins/cloud/models.py:341 +#: xpack/plugins/cloud/models.py:346 msgid "Startswith" msgstr "以...开头" -#: xpack/plugins/cloud/models.py:342 +#: xpack/plugins/cloud/models.py:347 msgid "Endswith" msgstr "以...结尾" -#: xpack/plugins/cloud/models.py:348 +#: xpack/plugins/cloud/models.py:353 msgid "Instance platform" msgstr "实例平台" -#: xpack/plugins/cloud/models.py:349 +#: xpack/plugins/cloud/models.py:354 msgid "Instance address" msgstr "实例地址" -#: xpack/plugins/cloud/models.py:356 +#: xpack/plugins/cloud/models.py:361 msgid "Rule attr" msgstr "规则属性" -#: xpack/plugins/cloud/models.py:360 +#: xpack/plugins/cloud/models.py:365 msgid "Rule match" msgstr "规则匹配" -#: xpack/plugins/cloud/models.py:362 +#: xpack/plugins/cloud/models.py:367 msgid "Rule value" msgstr "规则值" -#: xpack/plugins/cloud/models.py:369 xpack/plugins/cloud/serializers/task.py:79 +#: xpack/plugins/cloud/models.py:374 xpack/plugins/cloud/serializers/task.py:80 msgid "Strategy rule" msgstr "条件" -#: xpack/plugins/cloud/models.py:379 +#: xpack/plugins/cloud/models.py:384 msgid "Name strategy" msgstr "主机名策略" -#: xpack/plugins/cloud/models.py:386 +#: xpack/plugins/cloud/models.py:391 msgid "Action attr" msgstr "动作属性" -#: xpack/plugins/cloud/models.py:388 +#: xpack/plugins/cloud/models.py:393 msgid "Action value" msgstr "动作值" -#: xpack/plugins/cloud/models.py:395 xpack/plugins/cloud/serializers/task.py:82 +#: xpack/plugins/cloud/models.py:400 xpack/plugins/cloud/serializers/task.py:83 msgid "Strategy action" msgstr "动作" @@ -9623,15 +9622,15 @@ msgstr "测试超时时间" msgid "Project" msgstr "project" -#: xpack/plugins/cloud/serializers/task.py:154 +#: xpack/plugins/cloud/serializers/task.py:155 msgid "History count" msgstr "执行次数" -#: xpack/plugins/cloud/serializers/task.py:155 +#: xpack/plugins/cloud/serializers/task.py:156 msgid "Instance count" msgstr "实例个数" -#: xpack/plugins/cloud/tasks.py:41 +#: xpack/plugins/cloud/tasks.py:42 msgid "Period clean sync instance task execution" msgstr "定期清除同步实例任务执行记录" @@ -9704,3 +9703,9 @@ msgstr "企业专业版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "企业旗舰版" + +#~ msgid "Administrator" +#~ msgstr "管理员" + +#~ msgid "Administrator is the super user of system" +#~ msgstr "Administrator是初始的超级管理员" diff --git a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po index 02ab73f9f..c3beead1d 100644 --- a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-10 18:54+0800\n" +"POT-Creation-Date: 2024-07-16 16:57+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -175,7 +175,7 @@ msgstr "匿名帳號" msgid "Specified account" msgstr "指定帳號" -#: accounts/const/account.py:26 users/models/user.py:792 +#: accounts/const/account.py:26 users/models/user/_source.py:11 msgid "Local" msgstr "資料庫" @@ -295,7 +295,7 @@ msgstr "僅創建" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:21 #: settings/serializers/msg.py:58 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:903 +#: users/forms/profile.py:108 users/models/user/__init__.py:57 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -355,7 +355,7 @@ msgstr "用戶 %s 查看/匯出 了密碼" #: terminal/serializers/command.py:17 terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 #: terminal/templates/terminal/_msg_session_sharing.html:4 -#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:276 +#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:281 msgid "Asset" msgstr "資產" @@ -374,7 +374,7 @@ msgid "Version" msgstr "版本" #: accounts/models/account.py:57 accounts/serializers/account/account.py:220 -#: users/models/user.py:964 +#: users/models/user/__init__.py:118 msgid "Source" msgstr "來源" @@ -396,7 +396,7 @@ msgstr "來源 ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:101 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "帳號" @@ -485,13 +485,14 @@ msgstr "帳號備份快照" #: accounts/serializers/account/backup.py:48 #: accounts/serializers/automations/base.py:56 #: assets/models/automations/base.py:122 -#: assets/serializers/automations/base.py:40 +#: assets/serializers/automations/base.py:40 xpack/plugins/cloud/models.py:240 +#: xpack/plugins/cloud/serializers/task.py:231 msgid "Trigger mode" msgstr "觸發模式" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 #: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 -#: xpack/plugins/cloud/models.py:228 +#: xpack/plugins/cloud/models.py:229 msgid "Reason" msgstr "原因" @@ -587,8 +588,8 @@ msgstr "結束日期" #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 #: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 #: tickets/serializers/super_ticket.py:13 -#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:224 -#: xpack/plugins/cloud/models.py:280 +#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:225 +#: xpack/plugins/cloud/models.py:285 msgid "Status" msgstr "狀態" @@ -623,7 +624,7 @@ msgstr "登錄日期" #: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9 #: terminal/serializers/storage.py:136 users/forms/profile.py:31 -#: users/forms/profile.py:114 users/models/user.py:901 +#: users/forms/profile.py:114 users/models/user/__init__.py:55 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -720,9 +721,9 @@ msgstr "密碼規則" #: terminal/models/virtualapp/provider.py:10 #: terminal/models/virtualapp/virtualapp.py:19 tickets/api/ticket.py:87 #: users/forms/profile.py:32 users/models/group.py:13 -#: users/models/preference.py:11 users/models/user.py:902 -#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:296 -#: xpack/plugins/cloud/serializers/task.py:74 +#: users/models/preference.py:11 users/models/user/__init__.py:56 +#: xpack/plugins/cloud/models.py:34 xpack/plugins/cloud/models.py:301 +#: xpack/plugins/cloud/serializers/task.py:75 msgid "Name" msgstr "名稱" @@ -750,7 +751,7 @@ msgstr "系統平台" msgid "Push params" msgstr "帳號推送參數" -#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:377 +#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:382 msgid "Account template" msgstr "帳號模板" @@ -954,8 +955,8 @@ msgstr "ID" #: terminal/serializers/command.py:16 #: terminal/templates/terminal/_msg_command_warning.html:6 #: terminal/templates/terminal/_msg_session_sharing.html:6 -#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1125 -#: users/models/user.py:1169 +#: tickets/models/comment.py:21 users/const.py:14 +#: users/models/user/__init__.py:280 users/models/user/__init__.py:307 msgid "User" msgstr "用戶" @@ -985,7 +986,7 @@ msgstr "資產類型" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "密碼" +msgstr "密鑰密碼" #: accounts/serializers/account/base.py:96 msgid "" @@ -1044,8 +1045,8 @@ msgstr "關聯平台,可配置推送參數,如果不關聯,將使用默認 #: terminal/models/component/endpoint.py:119 #: terminal/models/session/session.py:47 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:295 users/models/user.py:936 -#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:121 +#: tickets/models/ticket/general.py:295 users/models/user/__init__.py:90 +#: xpack/plugins/cloud/models.py:41 xpack/plugins/cloud/models.py:122 msgid "Comment" msgstr "備註" @@ -1228,12 +1229,12 @@ msgid "Notify" msgstr "通知" #: acls/models/base.py:37 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:302 +#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:307 msgid "Priority" msgstr "優先度" #: acls/models/base.py:38 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:303 +#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:308 msgid "1-100, the lower the value will be match first" msgstr "優先度可選範圍為 1-100 (數值越小越優先)" @@ -1276,7 +1277,7 @@ msgid "Command" msgstr "命令" #: acls/models/command_acl.py:17 assets/models/cmd_filter.py:59 -#: xpack/plugins/cloud/models.py:343 +#: xpack/plugins/cloud/models.py:348 msgid "Regex" msgstr "正則表達式" @@ -1381,7 +1382,7 @@ msgid "None of the reviewers belong to Organization `{}`" msgstr "所有覆核人都不屬於組織 `{}`" #: acls/serializers/rules/rules.py:20 -#: xpack/plugins/cloud/serializers/task.py:149 +#: xpack/plugins/cloud/serializers/task.py:150 msgid "IP address invalid: `{}`" msgstr "IP 地址無效: `{}`" @@ -1397,7 +1398,7 @@ msgstr "" #: authentication/templates/authentication/_msg_oauth_bind.html:12 #: authentication/templates/authentication/_msg_rest_password_success.html:8 #: authentication/templates/authentication/_msg_rest_public_key_success.html:8 -#: xpack/plugins/cloud/models.py:378 +#: xpack/plugins/cloud/models.py:383 msgid "IP" msgstr "IP" @@ -1568,7 +1569,7 @@ msgid "Gather facts" msgstr "收集資產資訊" #: assets/const/base.py:32 audits/const.py:58 -#: terminal/serializers/applet_host.py:32 users/models/user.py:689 +#: terminal/serializers/applet_host.py:32 users/models/user/_auth.py:32 msgid "Disabled" msgstr "禁用" @@ -1791,7 +1792,7 @@ msgstr "確認按鈕選擇器" msgid "API mode" msgstr "API 模式" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "所有類型" @@ -1822,7 +1823,7 @@ msgstr "地址" #: assets/models/asset/common.py:161 assets/models/platform.py:134 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 -#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:373 +#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:378 msgid "Platform" msgstr "系統平台" @@ -1881,7 +1882,7 @@ msgstr "代理" #: assets/models/automations/base.py:18 assets/models/cmd_filter.py:32 #: assets/models/node.py:553 perms/models/asset_permission.py:72 -#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:374 +#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:379 msgid "Node" msgstr "節點" @@ -1902,7 +1903,7 @@ msgstr "資產自動化任務" # msgstr "備註" #: assets/models/automations/base.py:114 assets/models/cmd_filter.py:41 #: common/db/models.py:34 ops/models/base.py:54 ops/models/job.py:241 -#: users/models/user.py:1172 +#: users/models/user/__init__.py:310 msgid "Date created" msgstr "創建日期" @@ -1923,17 +1924,17 @@ msgid "Date verified" msgstr "校驗日期" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 -#: users/models/group.py:25 users/models/user.py:908 +#: users/models/group.py:25 users/models/user/__init__.py:62 msgid "User group" msgstr "用戶組" #: assets/models/cmd_filter.py:42 common/db/models.py:35 -#: users/models/user.py:984 +#: users/models/user/__init__.py:138 msgid "Date updated" msgstr "更新日期" #: assets/models/cmd_filter.py:44 assets/models/cmd_filter.py:91 -#: common/db/models.py:32 users/models/user.py:946 +#: common/db/models.py:32 users/models/user/__init__.py:100 #: users/serializers/group.py:32 msgid "Created by" msgstr "創建者" @@ -1970,7 +1971,7 @@ msgstr "收藏的資產" msgid "Gateway" msgstr "網關" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1151 +#: assets/models/label.py:15 rbac/const.py:6 msgid "System" msgstr "系統" @@ -2043,7 +2044,7 @@ msgstr "設置" #: assets/models/platform.py:38 audits/const.py:59 #: authentication/backends/passkey/models.py:11 settings/models.py:38 -#: terminal/serializers/applet_host.py:33 users/models/user.py:690 +#: terminal/serializers/applet_host.py:33 users/models/user/_auth.py:33 msgid "Enabled" msgstr "啟用" @@ -2168,8 +2169,8 @@ msgstr "資產中批次更新平台,不符合平台類型跳過的資產" #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:46 -#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:376 -#: xpack/plugins/cloud/serializers/task.py:34 +#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:381 +#: xpack/plugins/cloud/serializers/task.py:35 msgid "Protocols" msgstr "協議組" @@ -2683,7 +2684,7 @@ msgstr "登錄 IP" #: audits/models.py:200 audits/serializers.py:52 #: authentication/templates/authentication/_mfa_confirm_modal.html:14 -#: users/forms/profile.py:63 users/models/user.py:924 +#: users/forms/profile.py:63 users/models/user/__init__.py:78 #: users/serializers/profile.py:97 msgid "MFA" msgstr "MFA" @@ -2741,7 +2742,7 @@ msgstr "用户 %s %s 了当前资源" #: audits/serializers.py:172 authentication/models/connection_token.py:47 #: authentication/models/temp_token.py:13 perms/models/asset_permission.py:80 #: tickets/models/ticket/apply_application.py:31 -#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:943 +#: tickets/models/ticket/apply_asset.py:20 users/models/user/__init__.py:97 msgid "Date expired" msgstr "失效日期" @@ -2775,29 +2776,29 @@ msgstr "認證令牌" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:78 notifications/backends/__init__.py:11 #: settings/serializers/auth/wecom.py:10 settings/serializers/auth/wecom.py:15 -#: users/models/user.py:799 users/models/user.py:967 +#: users/models/user/__init__.py:121 users/models/user/_source.py:18 msgid "WeCom" msgstr "企業微信" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:105 #: authentication/views/login.py:90 notifications/backends/__init__.py:14 #: settings/serializers/auth/feishu.py:10 -#: settings/serializers/auth/feishu.py:12 users/models/user.py:801 -#: users/models/user.py:973 +#: settings/serializers/auth/feishu.py:12 users/models/user/__init__.py:127 +#: users/models/user/_source.py:20 msgid "FeiShu" msgstr "飛書" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:102 #: authentication/views/slack.py:87 notifications/backends/__init__.py:16 #: settings/serializers/auth/slack.py:10 settings/serializers/auth/slack.py:12 -#: users/models/user.py:803 users/models/user.py:979 +#: users/models/user/__init__.py:133 users/models/user/_source.py:22 msgid "Slack" msgstr "Slack" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:159 #: authentication/views/login.py:84 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:800 -#: users/models/user.py:970 +#: settings/serializers/auth/dingtalk.py:10 users/models/user/__init__.py:124 +#: users/models/user/_source.py:19 msgid "DingTalk" msgstr "釘釘" @@ -3357,7 +3358,7 @@ msgid "Component" msgstr "組件" #: authentication/serializers/connect_token_secret.py:136 -#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:375 +#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:380 msgid "Domain" msgstr "網域" @@ -3909,7 +3910,7 @@ msgstr "忽略的" msgid "discard time" msgstr "忽略時間" -#: common/db/models.py:33 users/models/user.py:949 +#: common/db/models.py:33 users/models/user/__init__.py:103 msgid "Updated by" msgstr "最後更新者" @@ -3943,7 +3944,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "{} - 未設置加密密碼 - 請前往個人資訊 -> 文件加密密碼中設置加密密碼" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s對象不存在" @@ -4096,7 +4097,7 @@ msgstr "標籤" # msgid "Labels" # msgstr "標籤管理" -#: common/tasks.py:31 common/utils/verify_code.py:16 +#: common/tasks.py:31 msgid "Send email" msgstr "發件郵件" @@ -4121,6 +4122,12 @@ msgstr "無效地址" msgid "Hello %s" msgstr "你好 %s" +#: common/utils/verify_code.py:16 +#, fuzzy +#| msgid "Please enter SMS code" +msgid "Send SMS code" +msgstr "請輸入簡訊驗證碼" + #: common/validators.py:16 msgid "Special char not allowed" msgstr "不能包含特殊字元" @@ -4486,7 +4493,7 @@ msgid "Date last run" msgstr "最後運行日期" #: ops/models/base.py:51 ops/models/job.py:238 -#: xpack/plugins/cloud/models.py:222 +#: xpack/plugins/cloud/models.py:223 msgid "Result" msgstr "結果" @@ -4998,7 +5005,7 @@ msgid "Scope" msgstr "範圍" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:911 +#: users/models/user/__init__.py:65 msgid "Role" msgstr "角色" @@ -5392,7 +5399,7 @@ msgstr "使用者認證成功後,若使用者不存在,則自動創建使用 msgid "Dingtalk" msgstr "啟用釘釘認證" -#: settings/serializers/auth/lark.py:12 users/models/user.py:802 +#: settings/serializers/auth/lark.py:12 users/models/user/_source.py:21 msgid "Lark" msgstr "啟用Lark認證" @@ -5694,7 +5701,7 @@ msgstr "當使用者登出時,他們也會從 SAML2 伺服器登出" msgid "Enable Short Message Service (SMS)" msgstr "啟用簡訊服務 (SMS)" -#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:35 +#: settings/serializers/auth/sms.py:21 xpack/plugins/cloud/models.py:36 msgid "Provider" msgstr "雲服務商" @@ -5721,7 +5728,7 @@ msgstr "簽名" msgid "Template code" msgstr "模板" -#: settings/serializers/auth/sms.py:40 users/models/user.py:921 +#: settings/serializers/auth/sms.py:40 users/models/user/__init__.py:75 #: users/serializers/user.py:155 msgid "Phone" msgstr "手機" @@ -6383,7 +6390,7 @@ msgid "" msgstr "* 允許用戶透過密碼驗證登入KoKo元件" #: settings/serializers/terminal.py:34 users/forms/profile.py:172 -#: users/models/user.py:934 +#: users/models/user/__init__.py:88 #: xpack/plugins/cloud/serializers/account_attrs.py:210 msgid "Public key" msgstr "SSH公鑰" @@ -6919,7 +6926,7 @@ msgid "High" msgstr "較高" #: terminal/const.py:47 terminal/const.py:84 -#: users/templates/users/reset_password.html:53 +#: users/templates/users/reset_password.html:54 msgid "Normal" msgstr "正常" @@ -7568,7 +7575,7 @@ msgid "Access key secret" msgstr "Access key secret(SK)" #: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 -#: xpack/plugins/cloud/models.py:273 +#: xpack/plugins/cloud/models.py:278 msgid "Region" msgstr "地域" @@ -7588,7 +7595,7 @@ msgstr "端點後綴" msgid "HOST" msgstr "主機" -#: terminal/serializers/storage.py:146 users/models/user.py:931 +#: terminal/serializers/storage.py:146 users/models/user/__init__.py:85 #: xpack/plugins/cloud/serializers/account_attrs.py:213 msgid "Private key" msgstr "ssh私鑰" @@ -8327,73 +8334,65 @@ msgstr "SSH金鑰不合法" msgid "Preference" msgstr "用戶設置" -#: users/models/user.py:691 -msgid "Force enabled" -msgstr "強制啟用" - -#: users/models/user.py:914 users/serializers/user.py:271 +#: users/models/user/__init__.py:68 users/serializers/user.py:271 msgid "Is service account" msgstr "服務帳號" -#: users/models/user.py:916 +#: users/models/user/__init__.py:70 msgid "Avatar" msgstr "頭像" -#: users/models/user.py:918 +#: users/models/user/__init__.py:72 msgid "Wechat" msgstr "微信" -#: users/models/user.py:927 +#: users/models/user/__init__.py:81 msgid "OTP secret key" msgstr "OTP 金鑰" # msgid "Private key" # msgstr "ssh私鑰" -#: users/models/user.py:937 users/serializers/profile.py:124 +#: users/models/user/__init__.py:91 users/serializers/profile.py:124 #: users/serializers/user.py:268 msgid "Is first login" msgstr "首次登錄" -#: users/models/user.py:955 +#: users/models/user/__init__.py:109 msgid "Date password last updated" msgstr "最後更新密碼日期" -#: users/models/user.py:958 +#: users/models/user/__init__.py:112 msgid "Need update password" msgstr "需要更新密碼" -#: users/models/user.py:982 +#: users/models/user/__init__.py:136 msgid "Date api key used" msgstr "Api key 最後使用日期" -#: users/models/user.py:1120 +#: users/models/user/__init__.py:275 msgid "Can not delete admin user" msgstr "無法刪除管理員用戶" -#: users/models/user.py:1134 +#: users/models/user/__init__.py:289 msgid "Can invite user" msgstr "可以邀請用戶" -#: users/models/user.py:1135 +#: users/models/user/__init__.py:290 msgid "Can remove user" msgstr "可以移除用戶" -#: users/models/user.py:1136 +#: users/models/user/__init__.py:291 msgid "Can match user" msgstr "可以匹配用戶" -#: users/models/user.py:1147 -msgid "Administrator" -msgstr "管理員" - -#: users/models/user.py:1150 -msgid "Administrator is the super user of system" -msgstr "Administrator是初始的超級管理員" - -#: users/models/user.py:1182 +#: users/models/user/__init__.py:320 msgid "User password history" msgstr "用戶密碼歷史" +#: users/models/user/_auth.py:34 +msgid "Force enabled" +msgstr "強制啟用" + #: users/notifications.py:55 #: users/templates/users/_msg_password_expire_reminder.html:17 #: users/templates/users/reset_password.html:5 @@ -8782,23 +8781,23 @@ msgstr "您的密碼必須滿足:" msgid "Password strength" msgstr "密碼強度:" -#: users/templates/users/reset_password.html:51 +#: users/templates/users/reset_password.html:52 msgid "Very weak" msgstr "很弱" -#: users/templates/users/reset_password.html:52 +#: users/templates/users/reset_password.html:53 msgid "Weak" msgstr "弱" -#: users/templates/users/reset_password.html:54 +#: users/templates/users/reset_password.html:55 msgid "Medium" msgstr "一般" -#: users/templates/users/reset_password.html:55 +#: users/templates/users/reset_password.html:56 msgid "Strong" msgstr "強" -#: users/templates/users/reset_password.html:56 +#: users/templates/users/reset_password.html:57 msgid "Very strong" msgstr "很強" @@ -9047,7 +9046,7 @@ msgstr "私有IP" msgid "Public IP" msgstr "公網IP" -#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:347 +#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:352 msgid "Instance name" msgstr "實例名稱" @@ -9175,7 +9174,7 @@ msgstr "刪除帳號: %s" msgid "Set protocols \"%s\"" msgstr "設定協議 \"%s\"" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:28 msgid "Run sync instance task" msgstr "執行同步實例任務" @@ -9183,164 +9182,164 @@ msgstr "執行同步實例任務" msgid "Cloud center" msgstr "雲管中心" -#: xpack/plugins/cloud/models.py:38 +#: xpack/plugins/cloud/models.py:39 #: xpack/plugins/cloud/serializers/account.py:94 msgid "Attrs" msgstr "屬性" -#: xpack/plugins/cloud/models.py:39 +#: xpack/plugins/cloud/models.py:40 msgid "Validity" msgstr "有效" -#: xpack/plugins/cloud/models.py:44 +#: xpack/plugins/cloud/models.py:45 msgid "Cloud account" msgstr "雲帳號" -#: xpack/plugins/cloud/models.py:46 +#: xpack/plugins/cloud/models.py:47 msgid "Test cloud account" msgstr "測試雲帳號" -#: xpack/plugins/cloud/models.py:103 +#: xpack/plugins/cloud/models.py:104 #: xpack/plugins/cloud/serializers/account.py:76 -#: xpack/plugins/cloud/serializers/task.py:156 +#: xpack/plugins/cloud/serializers/task.py:157 msgid "Regions" msgstr "地域" -#: xpack/plugins/cloud/models.py:106 +#: xpack/plugins/cloud/models.py:107 msgid "Hostname strategy" msgstr "主機名策略" -#: xpack/plugins/cloud/models.py:111 +#: xpack/plugins/cloud/models.py:112 msgid "IP network segment group" msgstr "IP網段組" -#: xpack/plugins/cloud/models.py:114 -#: xpack/plugins/cloud/serializers/task.py:159 +#: xpack/plugins/cloud/models.py:115 +#: xpack/plugins/cloud/serializers/task.py:160 msgid "Sync IP type" msgstr "同步IP類型" -#: xpack/plugins/cloud/models.py:117 +#: xpack/plugins/cloud/models.py:118 msgid "Always update" msgstr "總是更新" -#: xpack/plugins/cloud/models.py:119 +#: xpack/plugins/cloud/models.py:120 msgid "Fully synchronous" msgstr "完全同步" -#: xpack/plugins/cloud/models.py:124 +#: xpack/plugins/cloud/models.py:125 msgid "Date last sync" msgstr "最後同步日期" -#: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:365 -#: xpack/plugins/cloud/models.py:391 +#: xpack/plugins/cloud/models.py:128 xpack/plugins/cloud/models.py:370 +#: xpack/plugins/cloud/models.py:396 msgid "Strategy" msgstr "策略" -#: xpack/plugins/cloud/models.py:132 xpack/plugins/cloud/models.py:220 +#: xpack/plugins/cloud/models.py:133 xpack/plugins/cloud/models.py:221 msgid "Sync instance task" msgstr "同步實例任務" -#: xpack/plugins/cloud/models.py:231 xpack/plugins/cloud/models.py:283 +#: xpack/plugins/cloud/models.py:232 xpack/plugins/cloud/models.py:288 msgid "Date sync" msgstr "同步日期" -#: xpack/plugins/cloud/models.py:235 +#: xpack/plugins/cloud/models.py:236 msgid "Sync instance snapshot" msgstr "同步實例快照" -#: xpack/plugins/cloud/models.py:239 +#: xpack/plugins/cloud/models.py:244 msgid "Sync instance task execution" msgstr "同步實例任務執行" -#: xpack/plugins/cloud/models.py:263 +#: xpack/plugins/cloud/models.py:268 msgid "Sync task" msgstr "同步任務" -#: xpack/plugins/cloud/models.py:267 +#: xpack/plugins/cloud/models.py:272 msgid "Sync instance task history" msgstr "同步實例任務歷史" -#: xpack/plugins/cloud/models.py:270 +#: xpack/plugins/cloud/models.py:275 msgid "Instance" msgstr "實例" -#: xpack/plugins/cloud/models.py:287 +#: xpack/plugins/cloud/models.py:292 msgid "Sync instance detail" msgstr "同步實例詳情" -#: xpack/plugins/cloud/models.py:299 xpack/plugins/cloud/serializers/task.py:76 +#: xpack/plugins/cloud/models.py:304 xpack/plugins/cloud/serializers/task.py:77 msgid "Rule relation" msgstr "條件關係" -#: xpack/plugins/cloud/models.py:309 +#: xpack/plugins/cloud/models.py:314 msgid "Task strategy" msgstr "任務策略" -#: xpack/plugins/cloud/models.py:336 +#: xpack/plugins/cloud/models.py:341 msgid "Equal" msgstr "等於" -#: xpack/plugins/cloud/models.py:337 +#: xpack/plugins/cloud/models.py:342 msgid "Not Equal" msgstr "不等於" -#: xpack/plugins/cloud/models.py:338 +#: xpack/plugins/cloud/models.py:343 msgid "In" msgstr "在...中" -#: xpack/plugins/cloud/models.py:339 +#: xpack/plugins/cloud/models.py:344 msgid "Contains" msgstr "包含" -#: xpack/plugins/cloud/models.py:340 +#: xpack/plugins/cloud/models.py:345 msgid "Exclude" msgstr "排除" -#: xpack/plugins/cloud/models.py:341 +#: xpack/plugins/cloud/models.py:346 msgid "Startswith" msgstr "以...開頭" -#: xpack/plugins/cloud/models.py:342 +#: xpack/plugins/cloud/models.py:347 msgid "Endswith" msgstr "以...結尾" -#: xpack/plugins/cloud/models.py:348 +#: xpack/plugins/cloud/models.py:353 msgid "Instance platform" msgstr "實例平台" -#: xpack/plugins/cloud/models.py:349 +#: xpack/plugins/cloud/models.py:354 msgid "Instance address" msgstr "實例地址" -#: xpack/plugins/cloud/models.py:356 +#: xpack/plugins/cloud/models.py:361 msgid "Rule attr" msgstr "規則屬性" -#: xpack/plugins/cloud/models.py:360 +#: xpack/plugins/cloud/models.py:365 msgid "Rule match" msgstr "規則匹配" -#: xpack/plugins/cloud/models.py:362 +#: xpack/plugins/cloud/models.py:367 msgid "Rule value" msgstr "規則值" -#: xpack/plugins/cloud/models.py:369 xpack/plugins/cloud/serializers/task.py:79 +#: xpack/plugins/cloud/models.py:374 xpack/plugins/cloud/serializers/task.py:80 msgid "Strategy rule" msgstr "條件" -#: xpack/plugins/cloud/models.py:379 +#: xpack/plugins/cloud/models.py:384 msgid "Name strategy" msgstr "主機名稱策略" -#: xpack/plugins/cloud/models.py:386 +#: xpack/plugins/cloud/models.py:391 msgid "Action attr" msgstr "動作屬性" -#: xpack/plugins/cloud/models.py:388 +#: xpack/plugins/cloud/models.py:393 msgid "Action value" msgstr "動作值" -#: xpack/plugins/cloud/models.py:395 xpack/plugins/cloud/serializers/task.py:82 +#: xpack/plugins/cloud/models.py:400 xpack/plugins/cloud/serializers/task.py:83 msgid "Strategy action" msgstr "動作" @@ -9641,15 +9640,15 @@ msgstr "測試超時時間" msgid "Project" msgstr "project" -#: xpack/plugins/cloud/serializers/task.py:154 +#: xpack/plugins/cloud/serializers/task.py:155 msgid "History count" msgstr "執行次數" -#: xpack/plugins/cloud/serializers/task.py:155 +#: xpack/plugins/cloud/serializers/task.py:156 msgid "Instance count" msgstr "實例個數" -#: xpack/plugins/cloud/tasks.py:41 +#: xpack/plugins/cloud/tasks.py:42 msgid "Period clean sync instance task execution" msgstr "定期清除同步實例任務執行記錄" @@ -9722,3 +9721,9 @@ msgstr "企業專業版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "企業旗艦版" + +#~ msgid "Administrator" +#~ msgstr "管理員" + +#~ msgid "Administrator is the super user of system" +#~ msgstr "Administrator是初始的超級管理員"