From 71c690ef9efa513937eb61d0e924ee7b9e4690b7 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Tue, 26 Aug 2025 17:26:25 +0800 Subject: [PATCH] perf: Account remove --- apps/assets/const/database.py | 1 + apps/assets/const/host.py | 3 +- apps/assets/serializers/platform.py | 3 + apps/locale/en/LC_MESSAGES/django.po | 803 +++++++++++----------- apps/locale/ja/LC_MESSAGES/django.mo | 4 +- apps/locale/ja/LC_MESSAGES/django.po | 461 +++++++------ apps/locale/zh/LC_MESSAGES/django.mo | 4 +- apps/locale/zh/LC_MESSAGES/django.po | 153 +++-- apps/locale/zh_Hant/LC_MESSAGES/django.mo | 4 +- apps/locale/zh_Hant/LC_MESSAGES/django.po | 461 +++++++------ 10 files changed, 996 insertions(+), 901 deletions(-) diff --git a/apps/assets/const/database.py b/apps/assets/const/database.py index 6802ed3b4..6dcd42447 100644 --- a/apps/assets/const/database.py +++ b/apps/assets/const/database.py @@ -37,6 +37,7 @@ class DatabaseTypes(BaseType): 'verify_account_enabled': True, 'change_secret_enabled': True, 'push_account_enabled': True, + 'remove_account_enabled': True, }, cls.REDIS: { 'ansible_enabled': False, diff --git a/apps/assets/const/host.py b/apps/assets/const/host.py index 46bca9c9e..c6966dea7 100644 --- a/apps/assets/const/host.py +++ b/apps/assets/const/host.py @@ -53,7 +53,8 @@ class HostTypes(BaseType): 'gather_accounts_enabled': True, 'verify_account_enabled': True, 'change_secret_enabled': True, - 'push_account_enabled': True + 'push_account_enabled': True, + 'remove_account_enabled': True, }, cls.WINDOWS: { 'ansible_config': { diff --git a/apps/assets/serializers/platform.py b/apps/assets/serializers/platform.py index 0b538ee52..9a24b2319 100644 --- a/apps/assets/serializers/platform.py +++ b/apps/assets/serializers/platform.py @@ -27,6 +27,7 @@ class PlatformAutomationSerializer(serializers.ModelSerializer): "change_secret_enabled", "change_secret_method", "change_secret_params", "verify_account_enabled", "verify_account_method", "verify_account_params", "gather_accounts_enabled", "gather_accounts_method", "gather_accounts_params", + "remove_account_enabled", "remove_account_method", "remove_account_params", ] extra_kwargs = { # 启用资产探测 @@ -42,6 +43,8 @@ class PlatformAutomationSerializer(serializers.ModelSerializer): "push_account_method": {"label": _("Push account method")}, "gather_accounts_enabled": {"label": _("Gather accounts enabled")}, "gather_accounts_method": {"label": _("Gather accounts method")}, + "remove_account_method": {"label": _("Remove account method")}, + "remove_account_enabled": {"label": _("Remove account enabled")}, } diff --git a/apps/locale/en/LC_MESSAGES/django.po b/apps/locale/en/LC_MESSAGES/django.po index 547b90905..6e8966df7 100644 --- a/apps/locale/en/LC_MESSAGES/django.po +++ b/apps/locale/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:14+0800\n" +"POT-Creation-Date: 2025-08-26 17:23+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,11 +17,12 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" + #: accounts/api/automations/base.py:79 tickets/api/ticket.py:132 msgid "The parameter 'action' must be [{}]" msgstr "" -#: accounts/automations/change_secret/manager.py:225 +#: accounts/automations/change_secret/manager.py:226 #, python-format msgid "Success: %s, Failed: %s, Total: %s" msgstr "" @@ -83,7 +84,7 @@ msgstr "" msgid "Specified account" msgstr "" -#: accounts/const/account.py:26 users/models/user.py:753 +#: accounts/const/account.py:26 users/models/user.py:769 msgid "Local" msgstr "" @@ -210,7 +211,7 @@ msgstr "" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:22 #: settings/serializers/msg.py:64 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:817 +#: users/forms/profile.py:108 users/models/user.py:833 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -263,8 +264,8 @@ msgstr "" #: accounts/models/account.py:49 #: accounts/models/automations/gather_account.py:16 -#: accounts/serializers/account/account.py:216 -#: accounts/serializers/account/account.py:261 +#: accounts/serializers/account/account.py:224 +#: accounts/serializers/account/account.py:269 #: accounts/serializers/account/gathered_account.py:10 #: accounts/serializers/automations/change_secret.py:108 #: accounts/serializers/automations/change_secret.py:140 @@ -273,8 +274,8 @@ msgstr "" #: acls/serializers/base.py:123 assets/models/asset/common.py:95 #: assets/models/asset/common.py:350 assets/models/cmd_filter.py:36 #: audits/models.py:58 authentication/models/connection_token.py:36 -#: perms/models/asset_permission.py:69 perms/serializers/permission.py:36 -#: terminal/backends/command/models.py:17 terminal/models/session/session.py:32 +#: perms/models/asset_permission.py:69 perms/serializers/permission.py:35 +#: terminal/backends/command/models.py:17 terminal/models/session/session.py:33 #: terminal/notifications.py:155 terminal/serializers/command.py:17 #: terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 @@ -284,29 +285,33 @@ msgid "Asset" msgstr "" #: accounts/models/account.py:53 accounts/models/template.py:16 -#: accounts/serializers/account/account.py:223 -#: accounts/serializers/account/account.py:271 +#: accounts/serializers/account/account.py:231 +#: accounts/serializers/account/account.py:279 #: accounts/serializers/account/template.py:27 #: authentication/serializers/connect_token_secret.py:50 msgid "Su from" msgstr "" #: accounts/models/account.py:55 assets/const/protocol.py:178 -#: settings/serializers/auth/cas.py:20 terminal/models/applet/applet.py:35 +#: settings/serializers/auth/cas.py:20 terminal/models/applet/applet.py:36 #: terminal/models/virtualapp/virtualapp.py:21 msgid "Version" msgstr "" -#: accounts/models/account.py:57 accounts/serializers/account/account.py:218 -#: users/models/user.py:860 +#: accounts/models/account.py:57 +msgid "historical Account" +msgstr "" + +#: accounts/models/account.py:58 accounts/serializers/account/account.py:226 +#: users/models/user.py:876 msgid "Source" msgstr "" -#: accounts/models/account.py:58 +#: accounts/models/account.py:59 msgid "Source ID" msgstr "" -#: accounts/models/account.py:61 +#: accounts/models/account.py:62 #: accounts/serializers/automations/change_secret.py:110 #: accounts/serializers/automations/change_secret.py:141 #: accounts/templates/accounts/change_secret_failed_info.html:12 @@ -314,35 +319,35 @@ msgstr "" #: assets/serializers/asset/common.py:128 assets/serializers/gateway.py:28 #: audits/models.py:59 authentication/api/connection_token.py:411 #: ops/models/base.py:18 perms/models/asset_permission.py:75 -#: perms/serializers/permission.py:41 settings/serializers/msg.py:33 -#: terminal/backends/command/models.py:18 terminal/models/session/session.py:34 +#: perms/serializers/permission.py:40 settings/serializers/msg.py:33 +#: terminal/backends/command/models.py:18 terminal/models/session/session.py:35 #: 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:86 msgid "Account" msgstr "" -#: accounts/models/account.py:67 +#: accounts/models/account.py:68 msgid "Can view asset account secret" msgstr "" -#: accounts/models/account.py:68 +#: accounts/models/account.py:69 msgid "Can view asset history account" msgstr "" -#: accounts/models/account.py:69 +#: accounts/models/account.py:70 msgid "Can view asset history account secret" msgstr "" -#: accounts/models/account.py:70 +#: accounts/models/account.py:71 msgid "Can verify account" msgstr "" -#: accounts/models/account.py:71 +#: accounts/models/account.py:72 msgid "Can push account" msgstr "" -#: accounts/models/account.py:72 +#: accounts/models/account.py:73 msgid "Can remove account" msgstr "" @@ -387,7 +392,7 @@ msgstr "" #: ops/templates/ops/celery_task_log.html:75 #: perms/models/asset_permission.py:78 #: settings/templates/ldap/_msg_import_ldap_user.html:5 -#: terminal/models/applet/host.py:141 terminal/models/session/session.py:45 +#: terminal/models/applet/host.py:141 terminal/models/session/session.py:46 #: tickets/models/ticket/apply_application.py:30 #: tickets/models/ticket/apply_asset.py:19 msgid "Date start" @@ -502,11 +507,11 @@ msgstr "" #: accounts/models/automations/change_secret.py:44 #: assets/models/automations/base.py:113 audits/models.py:208 #: audits/serializers.py:54 ops/models/base.py:49 ops/models/job.py:234 -#: terminal/models/applet/applet.py:320 terminal/models/applet/host.py:140 +#: terminal/models/applet/applet.py:330 terminal/models/applet/host.py:140 #: terminal/models/component/status.py:30 #: terminal/models/virtualapp/virtualapp.py:99 #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 -#: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 +#: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:284 #: tickets/serializers/super_ticket.py:13 #: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:209 #: xpack/plugins/cloud/models.py:265 @@ -514,7 +519,7 @@ msgid "Status" msgstr "" #: accounts/models/automations/change_secret.py:47 -#: accounts/serializers/account/account.py:263 +#: accounts/serializers/account/account.py:271 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:8 #: authentication/templates/authentication/passkey.html:173 @@ -545,7 +550,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:813 +#: users/forms/profile.py:114 users/models/user.py:829 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -590,7 +595,7 @@ msgid "Verify asset account" msgstr "" #: accounts/models/base.py:37 accounts/models/base.py:67 -#: accounts/serializers/account/account.py:446 +#: accounts/serializers/account/account.py:461 #: accounts/serializers/account/base.py:17 #: accounts/serializers/automations/change_secret.py:47 #: authentication/serializers/connect_token_secret.py:42 @@ -625,7 +630,7 @@ msgstr "" #: assets/models/domain.py:19 assets/models/group.py:17 #: assets/models/label.py:18 assets/models/platform.py:15 #: assets/models/platform.py:94 assets/serializers/asset/common.py:149 -#: assets/serializers/platform.py:118 assets/serializers/platform.py:228 +#: assets/serializers/platform.py:121 assets/serializers/platform.py:224 #: authentication/backends/passkey/models.py:10 #: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 @@ -633,15 +638,15 @@ msgstr "" #: ops/models/celery.py:80 ops/models/job.py:142 ops/models/playbook.py:28 #: ops/serializers/job.py:18 orgs/models.py:82 #: perms/models/asset_permission.py:61 rbac/models/role.py:29 -#: settings/models.py:33 settings/models.py:181 settings/serializers/msg.py:89 -#: terminal/models/applet/applet.py:33 terminal/models/component/endpoint.py:12 +#: settings/models.py:34 settings/models.py:182 settings/serializers/msg.py:89 +#: terminal/models/applet/applet.py:34 terminal/models/component/endpoint.py:12 #: terminal/models/component/endpoint.py:109 #: terminal/models/component/storage.py:26 terminal/models/component/task.py:13 #: terminal/models/component/terminal.py:85 #: 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:815 +#: users/models/preference.py:11 users/models/user.py:831 #: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:281 #: xpack/plugins/cloud/serializers/task.py:70 msgid "Name" @@ -655,7 +660,7 @@ msgstr "" #: assets/models/automations/base.py:21 assets/models/cmd_filter.py:39 #: assets/models/label.py:22 #: authentication/serializers/connect_token_secret.py:117 -#: terminal/models/applet/applet.py:40 +#: terminal/models/applet/applet.py:41 #: terminal/models/component/endpoint.py:120 #: terminal/models/virtualapp/virtualapp.py:23 users/serializers/user.py:175 msgid "Is active" @@ -762,54 +767,54 @@ msgstr "" msgid "Exist policy" msgstr "" -#: accounts/serializers/account/account.py:196 applications/models.py:11 +#: accounts/serializers/account/account.py:204 applications/models.py:11 #: assets/models/label.py:21 assets/models/platform.py:95 #: assets/serializers/asset/common.py:125 assets/serializers/cagegory.py:12 -#: assets/serializers/platform.py:140 assets/serializers/platform.py:229 -#: perms/serializers/user_permission.py:26 settings/models.py:35 +#: assets/serializers/platform.py:136 assets/serializers/platform.py:225 +#: perms/serializers/user_permission.py:26 settings/models.py:36 #: tickets/models/ticket/apply_application.py:13 users/models/preference.py:12 msgid "Category" msgstr "" -#: accounts/serializers/account/account.py:197 +#: accounts/serializers/account/account.py:205 #: accounts/serializers/automations/base.py:55 acls/models/command_acl.py:24 #: acls/serializers/command_acl.py:19 applications/models.py:14 #: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/cmd_filter.py:74 assets/models/platform.py:96 -#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:120 -#: assets/serializers/platform.py:139 audits/serializers.py:53 +#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:123 +#: assets/serializers/platform.py:135 audits/serializers.py:53 #: audits/serializers.py:170 #: authentication/serializers/connect_token_secret.py:126 ops/models/job.py:150 -#: perms/serializers/user_permission.py:27 terminal/models/applet/applet.py:39 +#: perms/serializers/user_permission.py:27 terminal/models/applet/applet.py:40 #: terminal/models/component/storage.py:57 #: terminal/models/component/storage.py:146 terminal/serializers/applet.py:29 -#: terminal/serializers/session.py:23 terminal/serializers/storage.py:264 -#: terminal/serializers/storage.py:276 tickets/models/comment.py:26 +#: terminal/serializers/session.py:23 terminal/serializers/storage.py:274 +#: terminal/serializers/storage.py:286 tickets/models/comment.py:26 #: tickets/models/flow.py:56 tickets/models/ticket/apply_application.py:16 -#: tickets/models/ticket/general.py:273 tickets/serializers/flow.py:53 +#: tickets/models/ticket/general.py:276 tickets/serializers/flow.py:53 #: tickets/serializers/ticket/ticket.py:19 msgid "Type" msgstr "" -#: accounts/serializers/account/account.py:212 +#: accounts/serializers/account/account.py:220 msgid "Asset not found" msgstr "" -#: accounts/serializers/account/account.py:252 +#: accounts/serializers/account/account.py:260 msgid "Has secret" msgstr "" -#: accounts/serializers/account/account.py:262 ops/models/celery.py:83 -#: tickets/models/comment.py:13 tickets/models/ticket/general.py:46 -#: tickets/models/ticket/general.py:277 tickets/serializers/super_ticket.py:14 +#: accounts/serializers/account/account.py:270 ops/models/celery.py:83 +#: tickets/models/comment.py:13 tickets/models/ticket/general.py:49 +#: tickets/models/ticket/general.py:280 tickets/serializers/super_ticket.py:14 msgid "State" msgstr "" -#: accounts/serializers/account/account.py:264 +#: accounts/serializers/account/account.py:272 msgid "Changed" msgstr "" -#: accounts/serializers/account/account.py:274 +#: accounts/serializers/account/account.py:282 #: accounts/serializers/automations/base.py:22 acls/models/base.py:97 #: acls/templates/acls/asset_login_reminder.html:6 #: assets/models/automations/base.py:19 @@ -820,33 +825,33 @@ msgstr "" msgid "Assets" msgstr "" -#: accounts/serializers/account/account.py:329 +#: accounts/serializers/account/account.py:337 msgid "Account already exists" msgstr "" -#: accounts/serializers/account/account.py:379 +#: accounts/serializers/account/account.py:387 #, python-format msgid "Asset does not support this secret type: %s" msgstr "" -#: accounts/serializers/account/account.py:411 +#: accounts/serializers/account/account.py:419 msgid "Account has exist" msgstr "" -#: accounts/serializers/account/account.py:441 +#: accounts/serializers/account/account.py:456 #: accounts/serializers/account/template.py:72 #: assets/serializers/asset/common.py:387 msgid "Spec info" msgstr "" -#: accounts/serializers/account/account.py:447 +#: accounts/serializers/account/account.py:462 #: authentication/serializers/connect_token_secret.py:159 #: authentication/templates/authentication/_access_key_modal.html:30 #: perms/models/perm_node.py:21 users/serializers/group.py:33 msgid "ID" msgstr "" -#: accounts/serializers/account/account.py:457 acls/serializers/base.py:116 +#: accounts/serializers/account/account.py:472 acls/serializers/base.py:116 #: acls/templates/acls/asset_login_reminder.html:5 #: acls/templates/acls/user_login_reminder.html:5 #: assets/models/cmd_filter.py:24 assets/models/label.py:16 audits/models.py:54 @@ -854,20 +859,20 @@ msgstr "" #: audits/serializers.py:171 authentication/models/connection_token.py:32 #: authentication/models/sso_token.py:16 #: notifications/models/notification.py:12 -#: perms/api/user_permission/mixin.py:55 perms/models/asset_permission.py:63 -#: perms/serializers/permission.py:32 rbac/builtin.py:124 +#: perms/api/user_permission/mixin.py:59 perms/models/asset_permission.py:63 +#: perms/serializers/permission.py:31 rbac/builtin.py:124 #: rbac/models/rolebinding.py:49 rbac/serializers/rolebinding.py:17 -#: terminal/backends/command/models.py:16 terminal/models/session/session.py:30 +#: terminal/backends/command/models.py:16 terminal/models/session/session.py:31 #: terminal/models/session/sharing.py:34 terminal/notifications.py:156 #: terminal/notifications.py:205 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:1020 -#: users/models/user.py:1058 users/serializers/group.py:21 +#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1036 +#: users/models/user.py:1074 users/serializers/group.py:21 msgid "User" msgstr "" -#: accounts/serializers/account/account.py:458 +#: accounts/serializers/account/account.py:473 #: authentication/templates/authentication/_access_key_modal.html:33 #: terminal/notifications.py:158 terminal/notifications.py:207 msgid "Date" @@ -947,13 +952,13 @@ msgstr "" #: assets/models/cmd_filter.py:40 assets/models/cmd_filter.py:88 #: assets/models/group.py:20 common/db/models.py:36 ops/models/adhoc.py:26 #: ops/models/job.py:158 ops/models/playbook.py:31 rbac/models/role.py:37 -#: settings/models.py:38 terminal/models/applet/applet.py:45 -#: terminal/models/applet/applet.py:321 terminal/models/applet/host.py:143 +#: settings/models.py:39 terminal/models/applet/applet.py:46 +#: terminal/models/applet/applet.py:331 terminal/models/applet/host.py:143 #: terminal/models/component/endpoint.py:25 #: terminal/models/component/endpoint.py:119 -#: terminal/models/session/session.py:47 +#: terminal/models/session/session.py:48 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:295 users/models/user.py:851 +#: tickets/models/ticket/general.py:298 users/models/user.py:867 #: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:108 msgid "Comment" msgstr "" @@ -997,17 +1002,17 @@ msgstr "" msgid "Automation task execution" msgstr "" -#: accounts/signal_handlers.py:47 +#: accounts/signal_handlers.py:48 #, python-format msgid "Push related accounts to assets: %s, by system" msgstr "" -#: accounts/signal_handlers.py:56 +#: accounts/signal_handlers.py:57 #, python-format msgid "Add account: %s" msgstr "" -#: accounts/signal_handlers.py:58 +#: accounts/signal_handlers.py:59 #, python-format msgid "Delete account: %s" msgstr "" @@ -1157,7 +1162,7 @@ msgstr "" #: acls/models/command_acl.py:16 assets/models/cmd_filter.py:60 #: ops/serializers/job.py:70 terminal/const.py:86 -#: terminal/models/session/session.py:43 terminal/serializers/command.py:18 +#: terminal/models/session/session.py:44 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 #: terminal/templates/terminal/_msg_command_warning.html:23 @@ -1170,7 +1175,7 @@ msgid "Regex" msgstr "" #: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79 -#: settings/models.py:182 settings/serializers/feature.py:19 +#: settings/models.py:183 settings/serializers/feature.py:19 #: xpack/plugins/license/models.py:30 msgid "Content" msgstr "" @@ -1267,18 +1272,22 @@ msgstr "" msgid "None of the reviewers belong to Organization `{}`" msgstr "" -#: acls/serializers/rules/rules.py:20 +#: acls/serializers/rules/rules.py:22 #: xpack/plugins/cloud/serializers/task.py:145 msgid "IP address invalid: `{}`" msgstr "" -#: acls/serializers/rules/rules.py:25 +#: acls/serializers/rules/rules.py:35 +msgid "address invalid: `{}`" +msgstr "" + +#: acls/serializers/rules/rules.py:40 msgid "" "With * indicating a match all. Such as: 192.168.10.1, 192.168.1.0/24, " "10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:db8:1a:1110::/64 " msgstr "" -#: acls/serializers/rules/rules.py:33 +#: acls/serializers/rules/rules.py:48 #: 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 @@ -1286,7 +1295,7 @@ msgstr "" msgid "IP" msgstr "" -#: acls/serializers/rules/rules.py:35 +#: acls/serializers/rules/rules.py:50 msgid "Time Period" msgstr "" @@ -1366,11 +1375,11 @@ msgstr "" msgid "App assets" msgstr "" -#: assets/automations/base/manager.py:191 +#: assets/automations/base/manager.py:188 msgid "{} disabled" msgstr "" -#: assets/automations/base/manager.py:254 +#: assets/automations/base/manager.py:252 msgid " - Platform {} ansible disabled" msgstr "" @@ -1389,12 +1398,13 @@ msgid "Unable to connect to port {port} on {address}" msgstr "" #: assets/automations/ping_gateway/manager.py:58 -#: authentication/middleware.py:93 xpack/plugins/cloud/providers/fc.py:47 +#: authentication/middleware.py:95 xpack/plugins/cloud/providers/fc.py:47 msgid "Authentication failed" msgstr "" #: assets/automations/ping_gateway/manager.py:60 -#: assets/automations/ping_gateway/manager.py:86 terminal/const.py:102 +#: assets/automations/ping_gateway/manager.py:86 audits/backends/__init__.py:29 +#: terminal/const.py:102 msgid "Connect failed" msgstr "" @@ -1455,7 +1465,7 @@ msgstr "" #: assets/const/category.py:14 assets/models/asset/gpt.py:11 #: assets/models/asset/web.py:16 audits/const.py:45 -#: terminal/models/applet/applet.py:27 users/const.py:64 +#: terminal/models/applet/applet.py:28 users/const.py:64 msgid "Web" msgstr "" @@ -1475,7 +1485,7 @@ msgstr "" msgid "Kubernetes" msgstr "" -#: assets/const/device.py:7 terminal/models/applet/applet.py:26 +#: assets/const/device.py:7 terminal/models/applet/applet.py:27 #: tickets/const.py:9 msgid "General" msgstr "" @@ -1660,18 +1670,18 @@ msgstr "" #: assets/models/_user.py:28 assets/models/automations/base.py:114 #: assets/models/cmd_filter.py:41 assets/models/group.py:19 #: audits/models.py:269 common/db/models.py:34 ops/models/base.py:54 -#: ops/models/job.py:241 users/models/user.py:1059 +#: ops/models/job.py:241 users/models/user.py:1075 msgid "Date created" msgstr "" #: assets/models/_user.py:29 assets/models/cmd_filter.py:42 -#: common/db/models.py:35 users/models/user.py:869 +#: common/db/models.py:35 users/models/user.py:885 msgid "Date updated" msgstr "" #: assets/models/_user.py:30 assets/models/cmd_filter.py:44 #: assets/models/cmd_filter.py:91 assets/models/group.py:18 -#: common/db/models.py:32 users/models/user.py:858 +#: common/db/models.py:32 users/models/user.py:874 #: users/serializers/group.py:32 msgid "Created by" msgstr "" @@ -1698,7 +1708,7 @@ msgstr "" #: assets/models/_user.py:52 authentication/models/connection_token.py:41 #: authentication/serializers/connect_token_secret.py:114 -#: settings/serializers/msg.py:29 terminal/models/applet/applet.py:42 +#: settings/serializers/msg.py:29 terminal/models/applet/applet.py:43 #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:21 terminal/serializers/session.py:48 #: terminal/serializers/storage.py:71 @@ -1757,10 +1767,11 @@ msgid "Port" msgstr "" #: assets/models/asset/common.py:160 assets/serializers/asset/common.py:150 +#: terminal/serializers/endpoint.py:69 msgid "Address" msgstr "" -#: assets/models/asset/common.py:161 assets/models/platform.py:134 +#: assets/models/asset/common.py:161 assets/models/platform.py:145 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 #: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:334 @@ -1775,7 +1786,7 @@ msgstr "" #: assets/models/asset/common.py:165 assets/models/automations/base.py:18 #: assets/models/cmd_filter.py:32 assets/models/node.py:553 -#: perms/models/asset_permission.py:72 perms/serializers/permission.py:37 +#: perms/models/asset_permission.py:72 perms/serializers/permission.py:36 #: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:335 msgid "Node" msgstr "" @@ -1825,7 +1836,7 @@ msgstr "" msgid "Allow invalid cert" msgstr "" -#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:84 +#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:86 msgid "Proxy" msgstr "" @@ -1859,8 +1870,8 @@ msgid "Date verified" msgstr "" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 -#: perms/serializers/permission.py:34 users/models/group.py:25 -#: users/models/user.py:821 +#: perms/serializers/permission.py:33 users/models/group.py:25 +#: users/models/user.py:837 msgid "User group" msgstr "" @@ -1901,7 +1912,7 @@ msgid "Asset group" msgstr "" #: assets/models/group.py:31 assets/models/platform.py:19 -#: assets/serializers/platform.py:121 +#: assets/serializers/platform.py:124 #: xpack/plugins/cloud/providers/nutanix.py:30 msgid "Default" msgstr "" @@ -1910,7 +1921,7 @@ msgstr "" msgid "Default asset group" msgstr "" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1044 +#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1060 msgid "System" msgstr "" @@ -1919,14 +1930,14 @@ msgstr "" #: assets/serializers/cagegory.py:24 #: authentication/models/connection_token.py:29 #: authentication/serializers/connect_token_secret.py:125 -#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:34 +#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:35 #: users/models/preference.py:13 msgid "Value" msgstr "" #: assets/models/label.py:40 assets/serializers/cagegory.py:10 #: assets/serializers/cagegory.py:17 assets/serializers/cagegory.py:23 -#: assets/serializers/platform.py:119 +#: assets/serializers/platform.py:122 #: authentication/serializers/connect_token_secret.py:124 #: common/serializers/common.py:85 labels/models.py:17 labels/models.py:33 #: labels/serializers.py:45 settings/serializers/msg.py:90 @@ -1937,7 +1948,8 @@ msgstr "" msgid "New node" msgstr "" -#: assets/models/node.py:467 audits/backends/db.py:65 audits/backends/db.py:66 +#: assets/models/node.py:467 audits/backends/db.py:64 audits/backends/db.py:65 +#: audits/backends/es.py:66 audits/backends/es.py:67 msgid "empty" msgstr "" @@ -1969,14 +1981,14 @@ msgstr "" msgid "Public" msgstr "" -#: assets/models/platform.py:21 assets/serializers/platform.py:49 -#: settings/serializers/settings.py:95 +#: assets/models/platform.py:21 assets/serializers/platform.py:52 +#: settings/serializers/settings.py:105 #: users/templates/users/reset_password.html:29 msgid "Setting" msgstr "" #: assets/models/platform.py:38 audits/const.py:59 -#: authentication/backends/passkey/models.py:11 settings/models.py:37 +#: authentication/backends/passkey/models.py:11 settings/models.py:38 #: terminal/serializers/applet_host.py:33 msgid "Enabled" msgstr "" @@ -1985,11 +1997,11 @@ msgstr "" msgid "Ansible config" msgstr "" -#: assets/models/platform.py:41 assets/serializers/platform.py:33 +#: assets/models/platform.py:41 assets/serializers/platform.py:34 msgid "Ping enabled" msgstr "" -#: assets/models/platform.py:42 assets/serializers/platform.py:34 +#: assets/models/platform.py:42 assets/serializers/platform.py:35 msgid "Ping method" msgstr "" @@ -1998,12 +2010,12 @@ msgid "Ping params" msgstr "" #: assets/models/platform.py:45 assets/models/platform.py:69 -#: assets/serializers/platform.py:35 +#: assets/serializers/platform.py:36 msgid "Gather facts enabled" msgstr "" #: assets/models/platform.py:47 assets/models/platform.py:71 -#: assets/serializers/platform.py:36 +#: assets/serializers/platform.py:37 msgid "Gather facts method" msgstr "" @@ -2011,11 +2023,11 @@ msgstr "" msgid "Gather facts params" msgstr "" -#: assets/models/platform.py:51 assets/serializers/platform.py:39 +#: assets/models/platform.py:51 assets/serializers/platform.py:40 msgid "Change secret enabled" msgstr "" -#: assets/models/platform.py:53 assets/serializers/platform.py:40 +#: assets/models/platform.py:53 assets/serializers/platform.py:41 msgid "Change secret method" msgstr "" @@ -2023,11 +2035,11 @@ msgstr "" msgid "Change secret params" msgstr "" -#: assets/models/platform.py:57 assets/serializers/platform.py:41 +#: assets/models/platform.py:57 assets/serializers/platform.py:42 msgid "Push account enabled" msgstr "" -#: assets/models/platform.py:59 assets/serializers/platform.py:42 +#: assets/models/platform.py:59 assets/serializers/platform.py:43 msgid "Push account method" msgstr "" @@ -2035,11 +2047,11 @@ msgstr "" msgid "Push account params" msgstr "" -#: assets/models/platform.py:63 assets/serializers/platform.py:37 +#: assets/models/platform.py:63 assets/serializers/platform.py:38 msgid "Verify account enabled" msgstr "" -#: assets/models/platform.py:65 assets/serializers/platform.py:38 +#: assets/models/platform.py:65 assets/serializers/platform.py:39 msgid "Verify account method" msgstr "" @@ -2047,11 +2059,11 @@ msgstr "" msgid "Verify account params" msgstr "" -#: assets/models/platform.py:75 +#: assets/models/platform.py:75 assets/serializers/platform.py:47 msgid "Remove account enabled" msgstr "" -#: assets/models/platform.py:77 +#: assets/models/platform.py:77 assets/serializers/platform.py:46 msgid "Remove account method" msgstr "" @@ -2059,7 +2071,7 @@ msgstr "" msgid "Remove account params" msgstr "" -#: assets/models/platform.py:97 tickets/models/ticket/general.py:298 +#: assets/models/platform.py:97 tickets/models/ticket/general.py:301 msgid "Meta" msgstr "" @@ -2067,23 +2079,23 @@ msgstr "" msgid "Internal" msgstr "" -#: assets/models/platform.py:102 assets/serializers/platform.py:138 +#: assets/models/platform.py:102 assets/serializers/platform.py:134 msgid "Charset" msgstr "" -#: assets/models/platform.py:104 assets/serializers/platform.py:167 +#: assets/models/platform.py:104 assets/serializers/platform.py:163 msgid "Domain enabled" msgstr "" -#: assets/models/platform.py:106 assets/serializers/platform.py:166 +#: assets/models/platform.py:106 assets/serializers/platform.py:162 msgid "Su enabled" msgstr "" -#: assets/models/platform.py:107 assets/serializers/platform.py:144 +#: assets/models/platform.py:107 assets/serializers/platform.py:140 msgid "Su method" msgstr "" -#: assets/models/platform.py:108 assets/serializers/platform.py:147 +#: assets/models/platform.py:108 assets/serializers/platform.py:143 msgid "Custom fields" msgstr "" @@ -2098,10 +2110,10 @@ msgid "" "type" msgstr "" -#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:141 +#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:137 #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 -#: perms/models/asset_permission.py:76 perms/serializers/permission.py:42 +#: perms/models/asset_permission.py:76 perms/serializers/permission.py:41 #: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:337 #: xpack/plugins/cloud/serializers/task.py:33 msgid "Protocols" @@ -2160,7 +2172,7 @@ msgid "Model" msgstr "" #: assets/serializers/asset/info/gathered.py:8 -#: tickets/models/ticket/general.py:297 +#: tickets/models/ticket/general.py:300 msgid "Serial number" msgstr "" @@ -2209,7 +2221,7 @@ msgstr "" msgid "Types" msgstr "" -#: assets/serializers/domain.py:62 perms/serializers/permission.py:188 +#: assets/serializers/domain.py:62 perms/serializers/permission.py:181 msgid "Assets amount" msgstr "" @@ -2225,59 +2237,59 @@ msgstr "" msgid "Can't contains: /" msgstr "" -#: assets/serializers/platform.py:43 +#: assets/serializers/platform.py:44 msgid "Gather accounts enabled" msgstr "" -#: assets/serializers/platform.py:44 +#: assets/serializers/platform.py:45 msgid "Gather accounts method" msgstr "" -#: assets/serializers/platform.py:50 +#: assets/serializers/platform.py:53 msgid "Port from addr" msgstr "" -#: assets/serializers/platform.py:62 +#: assets/serializers/platform.py:65 msgid "" "This protocol is primary, and it must be set when adding assets. " "Additionally, there can only be one primary protocol." msgstr "" -#: assets/serializers/platform.py:67 +#: assets/serializers/platform.py:70 msgid "This protocol is required, and it must be set when adding assets." msgstr "" -#: assets/serializers/platform.py:70 +#: assets/serializers/platform.py:73 msgid "" "This protocol is default, when adding assets, it will be displayed by " "default." msgstr "" -#: assets/serializers/platform.py:73 +#: assets/serializers/platform.py:76 msgid "This protocol is public, asset will show this protocol to user" msgstr "" -#: assets/serializers/platform.py:122 +#: assets/serializers/platform.py:125 msgid "Help text" msgstr "" -#: assets/serializers/platform.py:123 +#: assets/serializers/platform.py:126 msgid "Choices" msgstr "" -#: assets/serializers/platform.py:142 +#: assets/serializers/platform.py:138 msgid "Automation" msgstr "" -#: assets/serializers/platform.py:168 +#: assets/serializers/platform.py:164 msgid "Default Domain" msgstr "" -#: assets/serializers/platform.py:189 +#: assets/serializers/platform.py:185 msgid "type is required" msgstr "" -#: assets/serializers/platform.py:204 +#: assets/serializers/platform.py:200 msgid "Protocols is required" msgstr "" @@ -2355,7 +2367,15 @@ msgstr "" msgid "The text content is too long. Use Elasticsearch to store operation logs" msgstr "" -#: audits/backends/db.py:91 +#: audits/backends/db.py:58 +msgid "labels" +msgstr "" + +#: audits/backends/db.py:59 +msgid "operate_log_id" +msgstr "" + +#: audits/backends/db.py:90 msgid "Tips" msgstr "" @@ -2385,7 +2405,7 @@ msgstr "" msgid "Symlink" msgstr "" -#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:149 +#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:150 msgid "Download" msgstr "" @@ -2393,7 +2413,7 @@ msgstr "" msgid "Rename dir" msgstr "" -#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:277 +#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:281 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 msgid "View" @@ -2438,7 +2458,7 @@ msgstr "" #: audits/const.py:46 settings/serializers/terminal.py:6 #: terminal/models/applet/host.py:26 terminal/models/component/terminal.py:175 #: terminal/models/virtualapp/provider.py:14 terminal/serializers/session.py:55 -#: terminal/serializers/session.py:69 +#: terminal/serializers/session.py:79 msgid "Terminal" msgstr "" @@ -2463,11 +2483,11 @@ msgstr "" msgid "-" msgstr "" -#: audits/handler.py:116 +#: audits/handler.py:107 msgid "Yes" msgstr "" -#: audits/handler.py:116 +#: audits/handler.py:107 msgid "No" msgstr "" @@ -2476,7 +2496,7 @@ msgid "Job audit log" msgstr "" #: audits/models.py:56 audits/models.py:100 audits/models.py:175 -#: terminal/models/session/session.py:39 terminal/models/session/sharing.py:113 +#: terminal/models/session/session.py:40 terminal/models/session/sharing.py:113 msgid "Remote addr" msgstr "" @@ -2554,8 +2574,8 @@ 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:838 -#: users/serializers/profile.py:102 +#: users/forms/profile.py:63 users/models/user.py:854 +#: users/serializers/profile.py:103 msgid "MFA" msgstr "" @@ -2603,7 +2623,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:856 +#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:872 msgid "Date expired" msgstr "" @@ -2636,29 +2656,29 @@ msgstr "" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:77 notifications/backends/__init__.py:11 -#: settings/serializers/auth/wecom.py:10 users/models/user.py:760 -#: users/models/user.py:870 +#: settings/serializers/auth/wecom.py:10 users/models/user.py:776 +#: users/models/user.py:886 msgid "WeCom" msgstr "" -#: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:105 +#: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:97 #: authentication/views/login.py:89 notifications/backends/__init__.py:14 -#: settings/serializers/auth/feishu.py:10 users/models/user.py:762 -#: users/models/user.py:872 +#: settings/serializers/auth/feishu.py:10 users/models/user.py:778 +#: users/models/user.py:888 msgid "FeiShu" msgstr "" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:101 -#: authentication/views/slack.py:87 notifications/backends/__init__.py:16 -#: settings/serializers/auth/slack.py:10 users/models/user.py:764 -#: users/models/user.py:874 +#: authentication/views/slack.py:79 notifications/backends/__init__.py:16 +#: settings/serializers/auth/slack.py:10 users/models/user.py:780 +#: users/models/user.py:890 msgid "Slack" msgstr "" -#: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:161 +#: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:153 #: authentication/views/login.py:83 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:761 -#: users/models/user.py:871 +#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:777 +#: users/models/user.py:887 msgid "DingTalk" msgstr "" @@ -2721,7 +2741,7 @@ msgstr "" msgid "Current user not support mfa type: {}" msgstr "" -#: authentication/api/password.py:33 terminal/api/session/session.py:325 +#: authentication/api/password.py:33 terminal/api/session/session.py:329 #: users/views/profile/reset.py:63 msgid "User does not exist: {}" msgstr "" @@ -2750,7 +2770,7 @@ msgid "Authentication" msgstr "" #: authentication/backends/custom.py:59 -#: authentication/backends/oauth2/backends.py:173 +#: authentication/backends/oauth2/backends.py:158 msgid "User invalid, disabled or expired" msgstr "" @@ -2924,21 +2944,21 @@ msgstr "" msgid "SSO auth closed" msgstr "" -#: authentication/errors/mfa.py:18 authentication/views/wecom.py:59 +#: authentication/errors/mfa.py:18 authentication/views/wecom.py:51 msgid "WeCom is already bound" msgstr "" -#: authentication/errors/mfa.py:23 authentication/views/wecom.py:159 -#: authentication/views/wecom.py:201 +#: authentication/errors/mfa.py:23 authentication/views/wecom.py:151 +#: authentication/views/wecom.py:193 msgid "WeCom is not bound" msgstr "" -#: authentication/errors/mfa.py:28 authentication/views/dingtalk.py:213 -#: authentication/views/dingtalk.py:255 +#: authentication/errors/mfa.py:28 authentication/views/dingtalk.py:205 +#: authentication/views/dingtalk.py:247 msgid "DingTalk is not bound" msgstr "" -#: authentication/errors/mfa.py:33 authentication/views/feishu.py:138 +#: authentication/errors/mfa.py:33 authentication/views/feishu.py:130 msgid "FeiShu is not bound" msgstr "" @@ -2946,7 +2966,7 @@ msgstr "" msgid "Lark is not bound" msgstr "" -#: authentication/errors/mfa.py:43 authentication/views/slack.py:127 +#: authentication/errors/mfa.py:43 authentication/views/slack.py:119 msgid "Slack is not bound" msgstr "" @@ -2959,15 +2979,15 @@ msgstr "" msgid "Please wait for %s seconds before retry" msgstr "" -#: authentication/errors/redirect.py:85 authentication/mixins.py:323 +#: authentication/errors/redirect.py:85 authentication/mixins.py:325 msgid "Your password is too simple, please change it for security" msgstr "" -#: authentication/errors/redirect.py:93 authentication/mixins.py:330 +#: authentication/errors/redirect.py:93 authentication/mixins.py:334 msgid "You should to change your password before login" msgstr "" -#: authentication/errors/redirect.py:101 authentication/mixins.py:337 +#: authentication/errors/redirect.py:101 authentication/mixins.py:343 msgid "Your password has expired, please reset before logging in" msgstr "" @@ -3064,7 +3084,7 @@ msgstr "" msgid "Clear phone number to disable" msgstr "" -#: authentication/middleware.py:94 settings/utils/ldap.py:679 +#: authentication/middleware.py:96 settings/utils/ldap.py:679 msgid "Authentication failed (before login check failed): {}" msgstr "" @@ -3230,15 +3250,15 @@ msgid "Ticket info" msgstr "" #: authentication/serializers/connection_token.py:21 -#: perms/models/asset_permission.py:77 perms/serializers/permission.py:38 -#: perms/serializers/permission.py:59 +#: perms/models/asset_permission.py:77 perms/serializers/permission.py:37 +#: perms/serializers/permission.py:58 #: tickets/models/ticket/apply_application.py:28 #: tickets/models/ticket/apply_asset.py:18 msgid "Actions" msgstr "" #: authentication/serializers/connection_token.py:42 -#: perms/serializers/permission.py:40 perms/serializers/permission.py:60 +#: perms/serializers/permission.py:39 perms/serializers/permission.py:59 #: users/serializers/user.py:102 users/serializers/user.py:179 msgid "Is expired" msgstr "" @@ -3252,8 +3272,8 @@ msgstr "" msgid "Access IP" msgstr "" -#: authentication/serializers/token.py:92 perms/serializers/permission.py:39 -#: perms/serializers/permission.py:61 users/serializers/user.py:103 +#: authentication/serializers/token.py:92 perms/serializers/permission.py:38 +#: perms/serializers/permission.py:60 users/serializers/user.py:103 #: users/serializers/user.py:176 msgid "Is valid" msgstr "" @@ -3279,13 +3299,13 @@ msgid "Show" msgstr "" #: authentication/templates/authentication/_access_key_modal.html:66 -#: users/const.py:42 users/models/user.py:655 users/serializers/profile.py:92 +#: users/const.py:42 users/models/user.py:671 users/serializers/profile.py:93 #: users/templates/users/user_verify_mfa.html:36 msgid "Disable" msgstr "" #: authentication/templates/authentication/_access_key_modal.html:67 -#: users/const.py:43 users/models/user.py:656 users/serializers/profile.py:93 +#: users/const.py:43 users/models/user.py:672 users/serializers/profile.py:94 #: users/templates/users/mfa_setting.html:26 #: users/templates/users/mfa_setting.html:68 msgid "Enable" @@ -3324,7 +3344,7 @@ msgstr "" #: authentication/templates/authentication/_msg_reset_password_code.html:9 #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 -#: jumpserver/conf.py:465 +#: jumpserver/conf.py:468 #: perms/templates/perms/_msg_item_permissions_expire.html:3 #: perms/templates/perms/_msg_permed_items_expire.html:3 #: tickets/templates/tickets/approve_check_password.html:32 @@ -3343,7 +3363,7 @@ msgstr "" msgid "Login time" msgstr "" -#: authentication/templates/authentication/_msg_different_city.html:16 +#: authentication/templates/authentication/_msg_different_city.html:14 msgid "" "If you suspect that the login behavior is abnormal, please modify the " "account password in time." @@ -3367,13 +3387,13 @@ msgstr "" msgid "Click here reset password" msgstr "" -#: authentication/templates/authentication/_msg_reset_password.html:16 -#: users/templates/users/_msg_user_created.html:22 +#: authentication/templates/authentication/_msg_reset_password.html:15 +#: users/templates/users/_msg_user_created.html:20 msgid "This link is valid for 1 hour. After it expires" msgstr "" -#: authentication/templates/authentication/_msg_reset_password.html:17 -#: users/templates/users/_msg_user_created.html:23 +#: authentication/templates/authentication/_msg_reset_password.html:16 +#: users/templates/users/_msg_user_created.html:21 msgid "request new one" msgstr "" @@ -3402,14 +3422,14 @@ msgstr "" msgid "Browser" msgstr "" -#: authentication/templates/authentication/_msg_rest_password_success.html:13 +#: authentication/templates/authentication/_msg_rest_password_success.html:12 msgid "" "If the password update was not initiated by you, your account may have " "security issues" msgstr "" -#: authentication/templates/authentication/_msg_rest_password_success.html:14 -#: authentication/templates/authentication/_msg_rest_public_key_success.html:14 +#: authentication/templates/authentication/_msg_rest_password_success.html:13 +#: authentication/templates/authentication/_msg_rest_public_key_success.html:13 msgid "If you have any questions, you can contact the administrator" msgstr "" @@ -3417,7 +3437,7 @@ msgstr "" msgid "Your public key has just been successfully updated" msgstr "" -#: authentication/templates/authentication/_msg_rest_public_key_success.html:13 +#: authentication/templates/authentication/_msg_rest_public_key_success.html:12 msgid "" "If the public key update was not initiated by you, your account may have " "security issues" @@ -3489,22 +3509,22 @@ msgstr "" msgid "LAN" msgstr "" -#: authentication/views/base.py:73 -#: perms/templates/perms/_msg_permed_items_expire.html:21 +#: authentication/views/base.py:70 +#: perms/templates/perms/_msg_permed_items_expire.html:20 msgid "If you have any question, please contact the administrator" msgstr "" -#: authentication/views/base.py:146 +#: authentication/views/base.py:140 #, python-format msgid "%s query user failed" msgstr "" -#: authentication/views/base.py:155 +#: authentication/views/base.py:148 #, python-format msgid "The %s is already bound to another user" msgstr "" -#: authentication/views/base.py:162 +#: authentication/views/base.py:154 #, python-format msgid "Binding %s successfully" msgstr "" @@ -3513,45 +3533,39 @@ msgstr "" msgid "DingTalk Error, Please contact your system administrator" msgstr "" -#: authentication/views/dingtalk.py:45 authentication/views/dingtalk.py:212 +#: authentication/views/dingtalk.py:45 authentication/views/dingtalk.py:204 msgid "DingTalk Error" msgstr "" -#: authentication/views/mixins.py:39 -msgid "" -"For your safety, automatic redirection login is not supported on the client. " -"If you need to open it in the client, please log in again" -msgstr "" - -#: authentication/views/dingtalk.py:61 +#: authentication/views/dingtalk.py:53 msgid "DingTalk is already bound" msgstr "" -#: authentication/views/dingtalk.py:130 +#: authentication/views/dingtalk.py:122 msgid "Invalid user_id" msgstr "" -#: authentication/views/dingtalk.py:146 +#: authentication/views/dingtalk.py:138 msgid "DingTalk query user failed" msgstr "" -#: authentication/views/dingtalk.py:155 +#: authentication/views/dingtalk.py:147 msgid "The DingTalk is already bound to another user" msgstr "" -#: authentication/views/dingtalk.py:162 +#: authentication/views/dingtalk.py:154 msgid "Binding DingTalk successfully" msgstr "" -#: authentication/views/dingtalk.py:214 authentication/views/dingtalk.py:249 +#: authentication/views/dingtalk.py:206 authentication/views/dingtalk.py:241 msgid "Failed to get user from DingTalk" msgstr "" -#: authentication/views/dingtalk.py:256 +#: authentication/views/dingtalk.py:248 msgid "Please login with a password and then bind the DingTalk" msgstr "" -#: authentication/views/feishu.py:43 authentication/views/feishu.py:137 +#: authentication/views/feishu.py:43 authentication/views/feishu.py:129 msgid "FeiShu Error" msgstr "" @@ -3559,7 +3573,7 @@ msgstr "" msgid "FeiShu is already bound" msgstr "" -#: authentication/views/feishu.py:139 +#: authentication/views/feishu.py:131 msgid "Failed to get user from FeiShu" msgstr "" @@ -3609,15 +3623,21 @@ msgstr "" msgid "Logout success, return login page" msgstr "" -#: authentication/views/slack.py:35 authentication/views/slack.py:126 +#: authentication/views/mixins.py:39 +msgid "" +"For your safety, automatic redirection login is not supported on the client. " +"If you need to open it in the client, please log in again" +msgstr "" + +#: authentication/views/slack.py:35 authentication/views/slack.py:118 msgid "Slack Error" msgstr "" -#: authentication/views/slack.py:63 +#: authentication/views/slack.py:55 msgid "Slack is already bound" msgstr "" -#: authentication/views/slack.py:128 +#: authentication/views/slack.py:120 msgid "Failed to get user from Slack" msgstr "" @@ -3625,23 +3645,23 @@ msgstr "" msgid "WeCom Error, Please contact your system administrator" msgstr "" -#: authentication/views/wecom.py:43 authentication/views/wecom.py:158 +#: authentication/views/wecom.py:43 authentication/views/wecom.py:150 msgid "WeCom Error" msgstr "" -#: authentication/views/wecom.py:118 +#: authentication/views/wecom.py:110 msgid "Wecom" msgstr "" -#: authentication/views/wecom.py:160 authentication/views/wecom.py:195 +#: authentication/views/wecom.py:152 authentication/views/wecom.py:187 msgid "Failed to get user from WeCom" msgstr "" -#: authentication/views/wecom.py:202 +#: authentication/views/wecom.py:194 msgid "Please login with a password and then bind the WeCom" msgstr "" -#: common/api/action.py:51 +#: common/api/action.py:62 msgid "Request file format may be wrong" msgstr "" @@ -3725,8 +3745,8 @@ msgstr "" #: common/db/fields.py:594 common/db/fields.py:599 #: common/serializers/fields.py:133 tickets/serializers/ticket/common.py:58 #: xpack/plugins/cloud/serializers/account_attrs.py:56 -#: xpack/plugins/cloud/serializers/account_attrs.py:79 -#: xpack/plugins/cloud/serializers/account_attrs.py:150 +#: xpack/plugins/cloud/serializers/account_attrs.py:80 +#: xpack/plugins/cloud/serializers/account_attrs.py:151 msgid "This field is required." msgstr "" @@ -3746,7 +3766,7 @@ msgstr "" msgid "discard time" msgstr "" -#: common/db/models.py:33 users/models/user.py:859 +#: common/db/models.py:33 users/models/user.py:875 msgid "Updated by" msgstr "" @@ -3922,7 +3942,7 @@ msgstr "" msgid "Labels" msgstr "" -#: common/tasks.py:31 common/utils/verify_code.py:16 +#: common/tasks.py:31 msgid "Send email" msgstr "" @@ -3942,11 +3962,15 @@ msgstr "" msgid "Invalid address" msgstr "" -#: common/utils/translate.py:45 +#: common/utils/translate.py:46 #, python-format 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 "" @@ -3959,16 +3983,16 @@ msgstr "" msgid "The mobile phone number format is incorrect" msgstr "" -#: jumpserver/conf.py:459 +#: jumpserver/conf.py:462 #, python-brace-format msgid "The verification code is: {code}" msgstr "" -#: jumpserver/conf.py:464 +#: jumpserver/conf.py:467 msgid "Create account successfully" msgstr "" -#: jumpserver/conf.py:466 +#: jumpserver/conf.py:469 msgid "Your account has been created successfully" msgstr "" @@ -4345,7 +4369,7 @@ msgstr "" msgid "Material Type" msgstr "" -#: ops/models/job.py:545 +#: ops/models/job.py:555 msgid "Job Execution" msgstr "" @@ -4406,11 +4430,11 @@ msgstr "" msgid "You do not have permission for the current job." msgstr "" -#: ops/tasks.py:38 +#: ops/tasks.py:52 msgid "Run ansible task" msgstr "" -#: ops/tasks.py:72 +#: ops/tasks.py:79 msgid "Run ansible task execution" msgstr "" @@ -4501,7 +4525,7 @@ msgstr "" #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/ldap.py:63 #: terminal/templates/terminal/_msg_command_warning.html:21 #: terminal/templates/terminal/_msg_session_sharing.html:14 -#: tickets/models/ticket/general.py:300 tickets/serializers/ticket/ticket.py:60 +#: tickets/models/ticket/general.py:303 tickets/serializers/ticket/ticket.py:60 msgid "Organization" msgstr "" @@ -4521,8 +4545,8 @@ msgstr "" msgid "SYSTEM" msgstr "" -#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:183 -#: terminal/models/applet/applet.py:41 +#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:184 +#: terminal/models/applet/applet.py:42 msgid "Builtin" msgstr "" @@ -4619,7 +4643,7 @@ msgid "today" msgstr "" #: perms/notifications.py:12 perms/notifications.py:44 -#: settings/serializers/feature.py:118 +#: settings/serializers/feature.py:103 msgid "day" msgstr "" @@ -4639,16 +4663,16 @@ msgstr "" msgid "asset permissions of organization {}" msgstr "" -#: perms/serializers/permission.py:186 rbac/serializers/role.py:27 +#: perms/serializers/permission.py:179 rbac/serializers/role.py:27 #: users/serializers/group.py:54 users/serializers/group.py:60 msgid "Users amount" msgstr "" -#: perms/serializers/permission.py:187 +#: perms/serializers/permission.py:180 msgid "User groups amount" msgstr "" -#: perms/serializers/permission.py:189 +#: perms/serializers/permission.py:182 msgid "Nodes amount" msgstr "" @@ -4751,7 +4775,7 @@ msgid "Scope" msgstr "" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:825 +#: users/models/user.py:841 msgid "Role" msgstr "" @@ -4785,11 +4809,11 @@ msgstr "" msgid "System role binding" msgstr "" -#: rbac/serializers/permission.py:25 users/serializers/profile.py:108 +#: rbac/serializers/permission.py:25 users/serializers/profile.py:109 msgid "Perms" msgstr "" -#: rbac/serializers/role.py:28 terminal/models/applet/applet.py:34 +#: rbac/serializers/role.py:28 terminal/models/applet/applet.py:35 #: terminal/models/virtualapp/virtualapp.py:20 msgid "Display name" msgstr "" @@ -4814,7 +4838,7 @@ msgstr "" msgid "Audit view" msgstr "" -#: rbac/tree.py:27 settings/models.py:159 +#: rbac/tree.py:27 settings/models.py:160 msgid "System setting" msgstr "" @@ -4850,8 +4874,8 @@ msgstr "" msgid "My assets" msgstr "" -#: rbac/tree.py:58 terminal/models/applet/applet.py:52 -#: terminal/models/applet/applet.py:317 terminal/models/applet/host.py:30 +#: rbac/tree.py:58 terminal/models/applet/applet.py:53 +#: terminal/models/applet/applet.py:327 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "" @@ -4860,8 +4884,8 @@ msgstr "" msgid "Ticket comment" msgstr "" -#: rbac/tree.py:130 settings/serializers/feature.py:109 -#: tickets/models/ticket/general.py:305 +#: rbac/tree.py:130 settings/serializers/feature.py:94 +#: tickets/models/ticket/general.py:308 msgid "Ticket" msgstr "" @@ -4904,75 +4928,75 @@ msgstr "" msgid "Settings" msgstr "" -#: settings/models.py:36 users/models/preference.py:14 +#: settings/models.py:37 users/models/preference.py:14 msgid "Encrypted" msgstr "" -#: settings/models.py:161 +#: settings/models.py:162 msgid "Can change email setting" msgstr "" -#: settings/models.py:162 +#: settings/models.py:163 msgid "Can change auth setting" msgstr "" -#: settings/models.py:163 +#: settings/models.py:164 msgid "Can change auth ops" msgstr "" -#: settings/models.py:164 +#: settings/models.py:165 msgid "Can change auth ticket" msgstr "" -#: settings/models.py:165 +#: settings/models.py:166 msgid "Can change virtual app setting" msgstr "" -#: settings/models.py:166 +#: settings/models.py:167 msgid "Can change auth announcement" msgstr "" -#: settings/models.py:167 +#: settings/models.py:168 msgid "Can change vault setting" msgstr "" -#: settings/models.py:168 +#: settings/models.py:169 msgid "Can change chat ai setting" msgstr "" -#: settings/models.py:169 +#: settings/models.py:170 msgid "Can change system msg sub setting" msgstr "" -#: settings/models.py:170 +#: settings/models.py:171 msgid "Can change sms setting" msgstr "" -#: settings/models.py:171 +#: settings/models.py:172 msgid "Can change security setting" msgstr "" -#: settings/models.py:172 +#: settings/models.py:173 msgid "Can change clean setting" msgstr "" -#: settings/models.py:173 +#: settings/models.py:174 msgid "Can change interface setting" msgstr "" -#: settings/models.py:174 +#: settings/models.py:175 msgid "Can change license setting" msgstr "" -#: settings/models.py:175 +#: settings/models.py:176 msgid "Can change terminal setting" msgstr "" -#: settings/models.py:176 +#: settings/models.py:177 msgid "Can change other setting" msgstr "" -#: settings/models.py:186 +#: settings/models.py:187 msgid "Chat prompt" msgstr "" @@ -5440,7 +5464,7 @@ msgid "SSO auth key TTL" msgstr "" #: settings/serializers/auth/sso.py:20 -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Unit: second" msgstr "" @@ -5580,63 +5604,63 @@ msgstr "" msgid "Chat AI" msgstr "" -#: settings/serializers/feature.py:75 +#: settings/serializers/feature.py:77 msgid "Enable Chat AI" msgstr "" -#: settings/serializers/feature.py:78 +#: settings/serializers/feature.py:80 msgid "Base Url" msgstr "" -#: settings/serializers/feature.py:81 templates/_header_bar.html:96 +#: settings/serializers/feature.py:83 templates/_header_bar.html:96 msgid "API Key" msgstr "" -#: settings/serializers/feature.py:87 +#: settings/serializers/feature.py:89 msgid "GPT Model" msgstr "" -#: settings/serializers/feature.py:111 +#: settings/serializers/feature.py:96 msgid "Enable tickets" msgstr "" -#: settings/serializers/feature.py:112 +#: settings/serializers/feature.py:97 msgid "No login approval" msgstr "" -#: settings/serializers/feature.py:115 +#: settings/serializers/feature.py:100 msgid "Ticket authorize default time" msgstr "" -#: settings/serializers/feature.py:118 +#: settings/serializers/feature.py:103 msgid "hour" msgstr "" -#: settings/serializers/feature.py:119 +#: settings/serializers/feature.py:104 msgid "Ticket authorize default time unit" msgstr "" -#: settings/serializers/feature.py:124 +#: settings/serializers/feature.py:109 msgid "Feature" msgstr "" -#: settings/serializers/feature.py:127 +#: settings/serializers/feature.py:112 msgid "Operation center" msgstr "" -#: settings/serializers/feature.py:128 +#: settings/serializers/feature.py:113 msgid "Allow user run batch command or not using ansible" msgstr "" -#: settings/serializers/feature.py:132 +#: settings/serializers/feature.py:117 msgid "Operation center command blacklist" msgstr "" -#: settings/serializers/feature.py:133 +#: settings/serializers/feature.py:118 msgid "Commands that are not allowed execute." msgstr "" -#: settings/serializers/feature.py:138 +#: settings/serializers/feature.py:123 #: terminal/models/virtualapp/provider.py:17 #: terminal/models/virtualapp/virtualapp.py:36 #: terminal/models/virtualapp/virtualapp.py:97 @@ -5644,7 +5668,7 @@ msgstr "" msgid "Virtual app" msgstr "" -#: settings/serializers/feature.py:141 +#: settings/serializers/feature.py:126 msgid "Enable virtual app" msgstr "" @@ -6009,7 +6033,7 @@ msgstr "" msgid "Multiple user using , split" msgstr "" -#: settings/serializers/settings.py:62 +#: settings/serializers/settings.py:66 #, python-format msgid "[%s] %s" msgstr "" @@ -6079,7 +6103,7 @@ msgid "Sync task Finish" msgstr "" #: settings/templates/ldap/_msg_import_ldap_user.html:6 -#: terminal/models/session/session.py:46 +#: terminal/models/session/session.py:47 msgid "Date end" msgstr "" @@ -6196,7 +6220,7 @@ msgstr "" msgid "Get ldap users is None" msgstr "" -#: settings/ws.py:205 +#: settings/ws.py:201 msgid "Total {}, success {}, failure {}" msgstr "" @@ -6398,7 +6422,7 @@ msgstr "" msgid "Command storages" msgstr "" -#: terminal/api/component/storage.py:82 +#: terminal/api/component/storage.py:82 xpack/plugins/cloud/manager.py:83 msgid "Invalid" msgstr "" @@ -6414,24 +6438,24 @@ msgstr "" msgid "Test failure: Please check configuration" msgstr "" -#: terminal/api/component/terminal.py:55 +#: terminal/api/component/terminal.py:57 msgid "Have online sessions" msgstr "" -#: terminal/api/session/session.py:48 +#: terminal/api/session/session.py:49 #, python-format msgid "User %s %s session %s replay" msgstr "" -#: terminal/api/session/session.py:317 +#: terminal/api/session/session.py:321 msgid "Session does not exist: {}" msgstr "" -#: terminal/api/session/session.py:320 +#: terminal/api/session/session.py:324 msgid "Session is finished or the protocol not supported" msgstr "" -#: terminal/api/session/session.py:333 +#: terminal/api/session/session.py:337 msgid "User does not have permission" msgstr "" @@ -6565,59 +6589,63 @@ msgstr "" msgid "Storage is invalid" msgstr "" -#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:88 +#: terminal/models/applet/applet.py:31 xpack/plugins/license/models.py:88 msgid "Community edition" msgstr "" -#: terminal/models/applet/applet.py:31 +#: terminal/models/applet/applet.py:32 msgid "Enterprise" msgstr "" -#: terminal/models/applet/applet.py:36 +#: terminal/models/applet/applet.py:37 #: terminal/models/virtualapp/virtualapp.py:22 msgid "Author" msgstr "" -#: terminal/models/applet/applet.py:38 terminal/serializers/applet.py:31 +#: terminal/models/applet/applet.py:39 terminal/serializers/applet.py:31 msgid "Edition" msgstr "" -#: terminal/models/applet/applet.py:43 +#: terminal/models/applet/applet.py:44 msgid "Can concurrent" msgstr "" -#: terminal/models/applet/applet.py:44 +#: terminal/models/applet/applet.py:45 #: terminal/models/virtualapp/virtualapp.py:29 msgid "Tags" msgstr "" -#: terminal/models/applet/applet.py:48 terminal/serializers/applet_host.py:167 +#: terminal/models/applet/applet.py:49 terminal/serializers/applet_host.py:167 #: terminal/serializers/storage.py:197 msgid "Hosts" msgstr "" -#: terminal/models/applet/applet.py:93 +#: terminal/models/applet/applet.py:94 #: terminal/models/virtualapp/virtualapp.py:66 msgid "Applet pkg not valid, Missing file {}" msgstr "" -#: terminal/models/applet/applet.py:112 +#: terminal/models/applet/applet.py:113 msgid "Load platform.yml failed: {}" msgstr "" -#: terminal/models/applet/applet.py:115 +#: terminal/models/applet/applet.py:116 msgid "Only support custom platform" msgstr "" -#: terminal/models/applet/applet.py:120 +#: terminal/models/applet/applet.py:121 msgid "Missing type in platform.yml" msgstr "" -#: terminal/models/applet/applet.py:319 terminal/models/applet/host.py:36 +#: terminal/models/applet/applet.py:329 terminal/models/applet/host.py:36 #: terminal/models/applet/host.py:138 msgid "Hosting" msgstr "" +#: terminal/models/applet/applet.py:335 +msgid "Applet publication" +msgstr "" + #: terminal/models/applet/host.py:18 terminal/serializers/applet_host.py:69 msgid "Deploy options" msgstr "" @@ -6650,6 +6678,10 @@ msgstr "" msgid "Initial" msgstr "" +#: terminal/models/applet/host.py:148 +msgid "Applet host deployment" +msgstr "" + #: terminal/models/component/endpoint.py:15 msgid "HTTPS port" msgstr "" @@ -6772,43 +6804,43 @@ msgstr "" msgid "Can download session replay" msgstr "" -#: terminal/models/session/session.py:35 +#: terminal/models/session/session.py:36 msgid "Account id" msgstr "" -#: terminal/models/session/session.py:37 terminal/models/session/sharing.py:118 +#: terminal/models/session/session.py:38 terminal/models/session/sharing.py:118 msgid "Login from" msgstr "" -#: terminal/models/session/session.py:42 +#: terminal/models/session/session.py:43 msgid "Replay" msgstr "" -#: terminal/models/session/session.py:48 terminal/serializers/session.py:68 +#: terminal/models/session/session.py:49 terminal/serializers/session.py:78 msgid "Command amount" msgstr "" -#: terminal/models/session/session.py:49 terminal/serializers/session.py:30 +#: terminal/models/session/session.py:50 terminal/serializers/session.py:30 msgid "Error reason" msgstr "" -#: terminal/models/session/session.py:290 +#: terminal/models/session/session.py:292 msgid "Session record" msgstr "" -#: terminal/models/session/session.py:292 +#: terminal/models/session/session.py:294 msgid "Can monitor session" msgstr "" -#: terminal/models/session/session.py:293 +#: terminal/models/session/session.py:295 msgid "Can share session" msgstr "" -#: terminal/models/session/session.py:294 +#: terminal/models/session/session.py:296 msgid "Can terminate session" msgstr "" -#: terminal/models/session/session.py:295 +#: terminal/models/session/session.py:297 msgid "Can validate session action perm" msgstr "" @@ -7082,8 +7114,8 @@ msgstr "" #: terminal/serializers/endpoint.py:64 msgid "" -"The assets within this IP range, the following endpoint will be used for the " -"connection" +"The assets within this IP range or Host, the following endpoint will be used " +"for the connection" msgstr "" #: terminal/serializers/endpoint.py:65 @@ -7091,10 +7123,6 @@ msgid "" "If asset IP addresses under different endpoints conflict, use asset labels" msgstr "" -#: terminal/serializers/endpoint.py:69 -msgid "Asset IP" -msgstr "" - #: terminal/serializers/session.py:25 terminal/serializers/session.py:53 msgid "Can replay" msgstr "" @@ -7145,7 +7173,8 @@ msgstr "" msgid "Access key secret" msgstr "" -#: terminal/serializers/storage.py:68 xpack/plugins/cloud/models.py:258 +#: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:83 +#: xpack/plugins/cloud/models.py:258 msgid "Region" msgstr "" @@ -7165,8 +7194,8 @@ msgstr "" msgid "HOST" msgstr "" -#: terminal/serializers/storage.py:146 users/models/user.py:845 -#: xpack/plugins/cloud/serializers/account_attrs.py:213 +#: terminal/serializers/storage.py:146 users/models/user.py:861 +#: xpack/plugins/cloud/serializers/account_attrs.py:214 msgid "Private key" msgstr "" @@ -7202,6 +7231,14 @@ msgstr "" msgid "Doc type" msgstr "" +#: terminal/serializers/storage.py:258 +msgid "Store locally" +msgstr "" + +#: terminal/serializers/storage.py:259 +msgid "Do not save" +msgstr "" + #: terminal/serializers/task.py:9 msgid "Session id" msgstr "" @@ -7372,7 +7409,7 @@ msgstr "" msgid "All available port count: {}, Already use port count: {}" msgstr "" -#: tickets/api/ticket.py:88 tickets/models/ticket/general.py:286 +#: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "" @@ -7475,7 +7512,7 @@ msgid "Body" msgstr "" #: tickets/models/flow.py:19 tickets/models/flow.py:61 -#: tickets/models/ticket/general.py:42 +#: tickets/models/ticket/general.py:45 msgid "Approve level" msgstr "" @@ -7545,35 +7582,35 @@ msgstr "" msgid "Apply Command Ticket" msgstr "" -#: tickets/models/ticket/general.py:77 +#: tickets/models/ticket/general.py:80 msgid "Ticket step" msgstr "" -#: tickets/models/ticket/general.py:95 +#: tickets/models/ticket/general.py:98 msgid "Ticket assignee" msgstr "" -#: tickets/models/ticket/general.py:270 +#: tickets/models/ticket/general.py:273 msgid "Title" msgstr "" -#: tickets/models/ticket/general.py:290 +#: tickets/models/ticket/general.py:293 msgid "TicketFlow" msgstr "" -#: tickets/models/ticket/general.py:293 +#: tickets/models/ticket/general.py:296 msgid "Approval step" msgstr "" -#: tickets/models/ticket/general.py:296 +#: tickets/models/ticket/general.py:299 msgid "Relation snapshot" msgstr "" -#: tickets/models/ticket/general.py:399 +#: tickets/models/ticket/general.py:405 msgid "Please try again" msgstr "" -#: tickets/models/ticket/general.py:475 +#: tickets/models/ticket/general.py:484 msgid "Super ticket" msgstr "" @@ -7862,13 +7899,13 @@ msgstr "" msgid "Public key should not be the same as your old one." msgstr "" -#: users/forms/profile.py:161 users/serializers/profile.py:76 -#: users/serializers/profile.py:164 users/serializers/profile.py:191 +#: users/forms/profile.py:161 users/serializers/profile.py:77 +#: users/serializers/profile.py:165 users/serializers/profile.py:192 msgid "Not a valid ssh public key" msgstr "" -#: users/forms/profile.py:172 users/models/user.py:848 -#: xpack/plugins/cloud/serializers/account_attrs.py:210 +#: users/forms/profile.py:172 users/models/user.py:864 +#: xpack/plugins/cloud/serializers/account_attrs.py:211 msgid "Public key" msgstr "" @@ -7876,81 +7913,81 @@ msgstr "" msgid "Preference" msgstr "" -#: users/models/user.py:657 users/serializers/profile.py:94 +#: users/models/user.py:673 users/serializers/profile.py:95 msgid "Force enable" msgstr "" -#: users/models/user.py:763 +#: users/models/user.py:779 msgid "Lark" msgstr "" -#: users/models/user.py:827 users/serializers/user.py:177 +#: users/models/user.py:843 users/serializers/user.py:177 msgid "Is service account" msgstr "" -#: users/models/user.py:829 +#: users/models/user.py:845 msgid "Avatar" msgstr "" -#: users/models/user.py:832 +#: users/models/user.py:848 msgid "Wechat" msgstr "" -#: users/models/user.py:835 users/serializers/user.py:113 +#: users/models/user.py:851 users/serializers/user.py:113 msgid "Phone" msgstr "" -#: users/models/user.py:841 +#: users/models/user.py:857 msgid "OTP secret key" msgstr "" -#: users/models/user.py:853 users/serializers/profile.py:128 +#: users/models/user.py:869 users/serializers/profile.py:129 #: users/serializers/user.py:174 msgid "Is first login" msgstr "" -#: users/models/user.py:863 +#: users/models/user.py:879 msgid "Date password last updated" msgstr "" -#: users/models/user.py:866 +#: users/models/user.py:882 msgid "Need update password" msgstr "" -#: users/models/user.py:868 +#: users/models/user.py:884 msgid "Date api key used" msgstr "" -#: users/models/user.py:1001 +#: users/models/user.py:1017 msgid "Can not delete admin user" msgstr "" -#: users/models/user.py:1029 +#: users/models/user.py:1045 msgid "Can invite user" msgstr "" -#: users/models/user.py:1030 +#: users/models/user.py:1046 msgid "Can remove user" msgstr "" -#: users/models/user.py:1031 +#: users/models/user.py:1047 msgid "Can match user" msgstr "" -#: users/models/user.py:1040 +#: users/models/user.py:1056 msgid "Administrator" msgstr "" -#: users/models/user.py:1043 +#: users/models/user.py:1059 msgid "Administrator is the super user of system" msgstr "" -#: users/models/user.py:1068 +#: users/models/user.py:1084 msgid "User password history" msgstr "" #: users/notifications.py:55 -#: users/templates/users/_msg_password_expire_reminder.html:17 +#: users/templates/users/_msg_password_expire_reminder.html:16 #: users/templates/users/reset_password.html:5 #: users/templates/users/reset_password.html:6 msgid "Reset password" @@ -7996,7 +8033,7 @@ msgstr "" msgid "Confirm file encryption password" msgstr "" -#: users/serializers/preference/lina.py:31 users/serializers/profile.py:48 +#: users/serializers/preference/lina.py:31 users/serializers/profile.py:49 msgid "The newly set password is inconsistent" msgstr "" @@ -8059,15 +8096,15 @@ msgstr "" msgid "Command line" msgstr "" -#: users/serializers/profile.py:29 +#: users/serializers/profile.py:30 msgid "The old password is incorrect" msgstr "" -#: users/serializers/profile.py:36 users/serializers/profile.py:178 +#: users/serializers/profile.py:37 users/serializers/profile.py:179 msgid "Password does not match security rules" msgstr "" -#: users/serializers/profile.py:40 +#: users/serializers/profile.py:41 msgid "The new password cannot be the last {} passwords" msgstr "" @@ -8198,7 +8235,7 @@ msgstr "" msgid "Click here update password" msgstr "" -#: users/templates/users/_msg_password_expire_reminder.html:16 +#: users/templates/users/_msg_password_expire_reminder.html:15 msgid "If your password has expired, please click the link below to" msgstr "" @@ -8571,11 +8608,6 @@ msgstr "" msgid "Or" msgstr "" -#: xpack/plugins/cloud/manager.py:55 xpack/plugins/cloud/providers/gcp.py:64 -#: xpack/plugins/cloud/providers/huaweicloud.py:34 -msgid "Account unavailable" -msgstr "" - #: xpack/plugins/cloud/meta.py:9 msgid "Cloud center" msgstr "" @@ -8610,7 +8642,7 @@ msgstr "" #: xpack/plugins/cloud/models.py:100 #: xpack/plugins/cloud/serializers/task.py:167 -msgid "Preferred IP type" +msgid "Sync IP type" msgstr "" #: xpack/plugins/cloud/models.py:103 @@ -8869,6 +8901,11 @@ msgstr "" msgid "AP-Singapore" msgstr "" +#: xpack/plugins/cloud/providers/gcp.py:64 +#: xpack/plugins/cloud/providers/huaweicloud.py:34 +msgid "Account unavailable" +msgstr "" + #: xpack/plugins/cloud/providers/huaweicloud.py:44 msgid "CN North-Beijing1" msgstr "" @@ -8949,74 +8986,78 @@ msgstr "" msgid "Subscription ID" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:98 -#: xpack/plugins/cloud/serializers/account_attrs.py:102 -#: xpack/plugins/cloud/serializers/account_attrs.py:126 -#: xpack/plugins/cloud/serializers/account_attrs.py:156 -#: xpack/plugins/cloud/serializers/account_attrs.py:206 +#: xpack/plugins/cloud/serializers/account_attrs.py:74 +msgid "Auto node classification" +msgstr "" + +#: xpack/plugins/cloud/serializers/account_attrs.py:99 +#: xpack/plugins/cloud/serializers/account_attrs.py:103 +#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:157 +#: xpack/plugins/cloud/serializers/account_attrs.py:207 msgid "API Endpoint" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:108 +#: xpack/plugins/cloud/serializers/account_attrs.py:109 msgid "Auth url" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:109 +#: xpack/plugins/cloud/serializers/account_attrs.py:110 msgid "eg: http://openstack.example.com:5000/v3" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:112 +#: xpack/plugins/cloud/serializers/account_attrs.py:113 msgid "User domain" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:128 msgid "Cert File" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:128 +#: xpack/plugins/cloud/serializers/account_attrs.py:129 msgid "Key File" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:144 +#: xpack/plugins/cloud/serializers/account_attrs.py:145 msgid "Service account key" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:145 +#: xpack/plugins/cloud/serializers/account_attrs.py:146 msgid "The file is in JSON format" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:163 +#: xpack/plugins/cloud/serializers/account_attrs.py:164 msgid "IP address invalid `{}`, {}" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:179 +#: xpack/plugins/cloud/serializers/account_attrs.py:180 msgid "Such as: 192.168.1.0/24, 10.0.0.0-10.0.0.255" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:182 +#: xpack/plugins/cloud/serializers/account_attrs.py:183 msgid "" "The port is used to detect the validity of the IP address. When the " "synchronization task is executed, only the valid IP address will be " "synchronized.
If the port is 0, all IP addresses are valid." msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:190 +#: xpack/plugins/cloud/serializers/account_attrs.py:191 msgid "Hostname prefix" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:193 +#: xpack/plugins/cloud/serializers/account_attrs.py:194 msgid "IP segment" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:197 +#: xpack/plugins/cloud/serializers/account_attrs.py:198 msgid "Test port" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Test timeout" msgstr "" -#: xpack/plugins/cloud/serializers/account_attrs.py:216 +#: xpack/plugins/cloud/serializers/account_attrs.py:217 msgid "Project" msgstr "" @@ -9112,7 +9153,3 @@ msgstr "" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "" - -#: xpack/plugins/cloud/serializers/account_attrs.py:74 -msgid "Auto node classification" -msgstr "" diff --git a/apps/locale/ja/LC_MESSAGES/django.mo b/apps/locale/ja/LC_MESSAGES/django.mo index 89c025060..2cdc6a4d1 100644 --- a/apps/locale/ja/LC_MESSAGES/django.mo +++ b/apps/locale/ja/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2dd9ffcfe15b130a5b3d7b4fcfe806eaae979973e8bd29ad9a473b9215424c57 -size 178725 +oid sha256:ab3807ddd5c7b4c2dae9ebe80a6cf20c8ec4e189ea95a1581f8acc3d377e52f2 +size 178402 diff --git a/apps/locale/ja/LC_MESSAGES/django.po b/apps/locale/ja/LC_MESSAGES/django.po index 8195a5348..4bd63d221 100644 --- a/apps/locale/ja/LC_MESSAGES/django.po +++ b/apps/locale/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-10-22 17:33+0800\n" +"POT-Creation-Date: 2025-08-26 17:23+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,7 +22,7 @@ msgstr "" msgid "The parameter 'action' must be [{}]" msgstr "パラメータ 'action' は [{}] でなければなりません。" -#: accounts/automations/change_secret/manager.py:225 +#: accounts/automations/change_secret/manager.py:226 #, python-format msgid "Success: %s, Failed: %s, Total: %s" msgstr "成功: %s、失敗: %s、合計: %s" @@ -84,7 +84,7 @@ msgstr "匿名ユーザー" msgid "Specified account" msgstr "特定のアカウント" -#: accounts/const/account.py:26 users/models/user.py:753 +#: accounts/const/account.py:26 users/models/user.py:769 msgid "Local" msgstr "ローカル" @@ -211,7 +211,7 @@ msgstr "作成のみ" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:22 #: settings/serializers/msg.py:64 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:817 +#: users/forms/profile.py:108 users/models/user.py:833 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -275,7 +275,7 @@ msgstr "ユーザー %s がパスワードを閲覧/導き出しました" #: assets/models/asset/common.py:350 assets/models/cmd_filter.py:36 #: audits/models.py:58 authentication/models/connection_token.py:36 #: perms/models/asset_permission.py:69 perms/serializers/permission.py:35 -#: terminal/backends/command/models.py:17 terminal/models/session/session.py:32 +#: terminal/backends/command/models.py:17 terminal/models/session/session.py:33 #: terminal/notifications.py:155 terminal/serializers/command.py:17 #: terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 @@ -303,7 +303,7 @@ msgid "historical Account" msgstr "アカウント履歴" #: accounts/models/account.py:58 accounts/serializers/account/account.py:226 -#: users/models/user.py:860 +#: users/models/user.py:876 msgid "Source" msgstr "ソース" @@ -320,7 +320,7 @@ msgstr "ソース ID" #: audits/models.py:59 authentication/api/connection_token.py:411 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: perms/serializers/permission.py:40 settings/serializers/msg.py:33 -#: terminal/backends/command/models.py:18 terminal/models/session/session.py:34 +#: terminal/backends/command/models.py:18 terminal/models/session/session.py:35 #: 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:86 @@ -392,7 +392,7 @@ msgstr "アカウントバックアップ計画" #: ops/templates/ops/celery_task_log.html:75 #: perms/models/asset_permission.py:78 #: settings/templates/ldap/_msg_import_ldap_user.html:5 -#: terminal/models/applet/host.py:141 terminal/models/session/session.py:45 +#: terminal/models/applet/host.py:141 terminal/models/session/session.py:46 #: tickets/models/ticket/apply_application.py:30 #: tickets/models/ticket/apply_asset.py:19 msgid "Date start" @@ -507,7 +507,7 @@ msgstr "終了日" #: accounts/models/automations/change_secret.py:44 #: assets/models/automations/base.py:113 audits/models.py:208 #: audits/serializers.py:54 ops/models/base.py:49 ops/models/job.py:234 -#: terminal/models/applet/applet.py:331 terminal/models/applet/host.py:140 +#: terminal/models/applet/applet.py:330 terminal/models/applet/host.py:140 #: terminal/models/component/status.py:30 #: terminal/models/virtualapp/virtualapp.py:99 #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 @@ -550,7 +550,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:813 +#: users/forms/profile.py:114 users/models/user.py:829 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -630,7 +630,7 @@ msgstr "パスワードルール" #: assets/models/domain.py:19 assets/models/group.py:17 #: assets/models/label.py:18 assets/models/platform.py:15 #: assets/models/platform.py:94 assets/serializers/asset/common.py:149 -#: assets/serializers/platform.py:118 assets/serializers/platform.py:221 +#: assets/serializers/platform.py:121 assets/serializers/platform.py:224 #: authentication/backends/passkey/models.py:10 #: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 @@ -638,7 +638,7 @@ msgstr "パスワードルール" #: ops/models/celery.py:80 ops/models/job.py:142 ops/models/playbook.py:28 #: ops/serializers/job.py:18 orgs/models.py:82 #: perms/models/asset_permission.py:61 rbac/models/role.py:29 -#: settings/models.py:33 settings/models.py:181 settings/serializers/msg.py:89 +#: settings/models.py:34 settings/models.py:182 settings/serializers/msg.py:89 #: terminal/models/applet/applet.py:34 terminal/models/component/endpoint.py:12 #: terminal/models/component/endpoint.py:109 #: terminal/models/component/storage.py:26 terminal/models/component/task.py:13 @@ -646,7 +646,7 @@ 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:815 +#: users/models/preference.py:11 users/models/user.py:831 #: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:281 #: xpack/plugins/cloud/serializers/task.py:70 msgid "Name" @@ -780,8 +780,8 @@ msgstr "アカウントの存在ポリシー" #: accounts/serializers/account/account.py:204 applications/models.py:11 #: assets/models/label.py:21 assets/models/platform.py:95 #: assets/serializers/asset/common.py:125 assets/serializers/cagegory.py:12 -#: assets/serializers/platform.py:133 assets/serializers/platform.py:222 -#: perms/serializers/user_permission.py:26 settings/models.py:35 +#: assets/serializers/platform.py:136 assets/serializers/platform.py:225 +#: perms/serializers/user_permission.py:26 settings/models.py:36 #: tickets/models/ticket/apply_application.py:13 users/models/preference.py:12 msgid "Category" msgstr "カテゴリ" @@ -791,8 +791,8 @@ msgstr "カテゴリ" #: acls/serializers/command_acl.py:19 applications/models.py:14 #: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/cmd_filter.py:74 assets/models/platform.py:96 -#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:120 -#: assets/serializers/platform.py:132 audits/serializers.py:53 +#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:123 +#: assets/serializers/platform.py:135 audits/serializers.py:53 #: audits/serializers.py:170 #: authentication/serializers/connect_token_secret.py:126 ops/models/job.py:150 #: perms/serializers/user_permission.py:27 terminal/models/applet/applet.py:40 @@ -869,16 +869,16 @@ msgstr "ID" #: audits/serializers.py:171 authentication/models/connection_token.py:32 #: authentication/models/sso_token.py:16 #: notifications/models/notification.py:12 -#: perms/api/user_permission/mixin.py:55 perms/models/asset_permission.py:63 +#: perms/api/user_permission/mixin.py:59 perms/models/asset_permission.py:63 #: perms/serializers/permission.py:31 rbac/builtin.py:124 #: rbac/models/rolebinding.py:49 rbac/serializers/rolebinding.py:17 -#: terminal/backends/command/models.py:16 terminal/models/session/session.py:30 +#: terminal/backends/command/models.py:16 terminal/models/session/session.py:31 #: terminal/models/session/sharing.py:34 terminal/notifications.py:156 #: terminal/notifications.py:205 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:1020 -#: users/models/user.py:1058 users/serializers/group.py:21 +#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1036 +#: users/models/user.py:1074 users/serializers/group.py:21 msgid "User" msgstr "ユーザー" @@ -964,13 +964,13 @@ msgstr "关联平台,可以配置推送参数,如果不关联,则使用默 #: assets/models/cmd_filter.py:40 assets/models/cmd_filter.py:88 #: assets/models/group.py:20 common/db/models.py:36 ops/models/adhoc.py:26 #: ops/models/job.py:158 ops/models/playbook.py:31 rbac/models/role.py:37 -#: settings/models.py:38 terminal/models/applet/applet.py:46 -#: terminal/models/applet/applet.py:332 terminal/models/applet/host.py:143 +#: settings/models.py:39 terminal/models/applet/applet.py:46 +#: terminal/models/applet/applet.py:331 terminal/models/applet/host.py:143 #: terminal/models/component/endpoint.py:25 #: terminal/models/component/endpoint.py:119 -#: terminal/models/session/session.py:47 +#: terminal/models/session/session.py:48 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:298 users/models/user.py:851 +#: tickets/models/ticket/general.py:298 users/models/user.py:867 #: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:108 msgid "Comment" msgstr "コメント" @@ -1181,7 +1181,7 @@ msgstr "アカウント" #: acls/models/command_acl.py:16 assets/models/cmd_filter.py:60 #: ops/serializers/job.py:70 terminal/const.py:86 -#: terminal/models/session/session.py:43 terminal/serializers/command.py:18 +#: terminal/models/session/session.py:44 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 #: terminal/templates/terminal/_msg_command_warning.html:23 @@ -1194,7 +1194,7 @@ msgid "Regex" msgstr "正規情報" #: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79 -#: settings/models.py:182 settings/serializers/feature.py:19 +#: settings/models.py:183 settings/serializers/feature.py:19 #: xpack/plugins/license/models.py:30 msgid "Content" msgstr "コンテンツ" @@ -1294,12 +1294,18 @@ msgstr "組織 '{}'は存在しません" msgid "None of the reviewers belong to Organization `{}`" msgstr "いずれのレビューアも組織 '{}' に属していません" -#: acls/serializers/rules/rules.py:20 +#: acls/serializers/rules/rules.py:22 #: xpack/plugins/cloud/serializers/task.py:145 msgid "IP address invalid: `{}`" msgstr "IPアドレスが無効: '{}'" -#: acls/serializers/rules/rules.py:25 +#: acls/serializers/rules/rules.py:35 +#, fuzzy +#| msgid "IP address invalid: `{}`" +msgid "address invalid: `{}`" +msgstr "IPアドレスが無効: '{}'" + +#: acls/serializers/rules/rules.py:40 msgid "" "With * indicating a match all. Such as: 192.168.10.1, 192.168.1.0/24, " "10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:db8:1a:1110::/64 " @@ -1307,7 +1313,7 @@ msgstr "" "* はすべて一致することを示します。例: 192.168.10.1、192.168.1.0/24、" "10.1.1.1-10.1.1.20、2001:db8:2de::e13、2001:db8:1a:1110::/64" -#: acls/serializers/rules/rules.py:33 +#: acls/serializers/rules/rules.py:48 #: 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 @@ -1315,7 +1321,7 @@ msgstr "" msgid "IP" msgstr "IP" -#: acls/serializers/rules/rules.py:35 +#: acls/serializers/rules/rules.py:50 msgid "Time Period" msgstr "期間" @@ -1402,11 +1408,11 @@ msgstr "同じレベルのノード名を同じにすることはできません msgid "App assets" msgstr "アプリ資産" -#: assets/automations/base/manager.py:187 +#: assets/automations/base/manager.py:188 msgid "{} disabled" msgstr "{} 無効" -#: assets/automations/base/manager.py:250 +#: assets/automations/base/manager.py:252 msgid " - Platform {} ansible disabled" msgstr " - プラットフォーム {} ansible 無効" @@ -1425,7 +1431,7 @@ msgid "Unable to connect to port {port} on {address}" msgstr "{port} のポート {address} に接続できません" #: assets/automations/ping_gateway/manager.py:58 -#: authentication/middleware.py:94 xpack/plugins/cloud/providers/fc.py:47 +#: authentication/middleware.py:95 xpack/plugins/cloud/providers/fc.py:47 msgid "Authentication failed" msgstr "認証に失敗しました" @@ -1702,18 +1708,18 @@ msgstr "SSHパブリックキー" #: assets/models/_user.py:28 assets/models/automations/base.py:114 #: assets/models/cmd_filter.py:41 assets/models/group.py:19 #: audits/models.py:269 common/db/models.py:34 ops/models/base.py:54 -#: ops/models/job.py:241 users/models/user.py:1059 +#: ops/models/job.py:241 users/models/user.py:1075 msgid "Date created" msgstr "作成された日付" #: assets/models/_user.py:29 assets/models/cmd_filter.py:42 -#: common/db/models.py:35 users/models/user.py:869 +#: common/db/models.py:35 users/models/user.py:885 msgid "Date updated" msgstr "更新日" #: assets/models/_user.py:30 assets/models/cmd_filter.py:44 #: assets/models/cmd_filter.py:91 assets/models/group.py:18 -#: common/db/models.py:32 users/models/user.py:858 +#: common/db/models.py:32 users/models/user.py:874 #: users/serializers/group.py:32 msgid "Created by" msgstr "によって作成された" @@ -1799,6 +1805,7 @@ msgid "Port" msgstr "ポート" #: assets/models/asset/common.py:160 assets/serializers/asset/common.py:150 +#: terminal/serializers/endpoint.py:69 msgid "Address" msgstr "アドレス" @@ -1902,7 +1909,7 @@ msgstr "確認済みの日付" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 #: perms/serializers/permission.py:33 users/models/group.py:25 -#: users/models/user.py:821 +#: users/models/user.py:837 msgid "User group" msgstr "ユーザーグループ" @@ -1943,7 +1950,7 @@ msgid "Asset group" msgstr "資産グループ" #: assets/models/group.py:31 assets/models/platform.py:19 -#: assets/serializers/platform.py:121 +#: assets/serializers/platform.py:124 #: xpack/plugins/cloud/providers/nutanix.py:30 msgid "Default" msgstr "デフォルト" @@ -1952,7 +1959,7 @@ msgstr "デフォルト" msgid "Default asset group" msgstr "デフォルトアセットグループ" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1044 +#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1060 msgid "System" msgstr "システム" @@ -1961,14 +1968,14 @@ msgstr "システム" #: assets/serializers/cagegory.py:24 #: authentication/models/connection_token.py:29 #: authentication/serializers/connect_token_secret.py:125 -#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:34 +#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:35 #: users/models/preference.py:13 msgid "Value" msgstr "値" #: assets/models/label.py:40 assets/serializers/cagegory.py:10 #: assets/serializers/cagegory.py:17 assets/serializers/cagegory.py:23 -#: assets/serializers/platform.py:119 +#: assets/serializers/platform.py:122 #: authentication/serializers/connect_token_secret.py:124 #: common/serializers/common.py:85 labels/models.py:17 labels/models.py:33 #: labels/serializers.py:45 settings/serializers/msg.py:90 @@ -2012,14 +2019,14 @@ msgstr "必要" msgid "Public" msgstr "開ける" -#: assets/models/platform.py:21 assets/serializers/platform.py:49 +#: assets/models/platform.py:21 assets/serializers/platform.py:52 #: settings/serializers/settings.py:105 #: users/templates/users/reset_password.html:29 msgid "Setting" msgstr "設定" #: assets/models/platform.py:38 audits/const.py:59 -#: authentication/backends/passkey/models.py:11 settings/models.py:37 +#: authentication/backends/passkey/models.py:11 settings/models.py:38 #: terminal/serializers/applet_host.py:33 msgid "Enabled" msgstr "有効化" @@ -2028,11 +2035,11 @@ msgstr "有効化" msgid "Ansible config" msgstr "Ansible 構成" -#: assets/models/platform.py:41 assets/serializers/platform.py:33 +#: assets/models/platform.py:41 assets/serializers/platform.py:34 msgid "Ping enabled" msgstr "アセット ディスカバリを有効にする" -#: assets/models/platform.py:42 assets/serializers/platform.py:34 +#: assets/models/platform.py:42 assets/serializers/platform.py:35 msgid "Ping method" msgstr "資産検出方法" @@ -2041,12 +2048,12 @@ msgid "Ping params" msgstr "資産検出パラメータ" #: assets/models/platform.py:45 assets/models/platform.py:69 -#: assets/serializers/platform.py:35 +#: assets/serializers/platform.py:36 msgid "Gather facts enabled" msgstr "資産情報の収集を有効にする" #: assets/models/platform.py:47 assets/models/platform.py:71 -#: assets/serializers/platform.py:36 +#: assets/serializers/platform.py:37 msgid "Gather facts method" msgstr "情報収集の方法" @@ -2054,11 +2061,11 @@ msgstr "情報収集の方法" msgid "Gather facts params" msgstr "情報収集パラメータ" -#: assets/models/platform.py:51 assets/serializers/platform.py:39 +#: assets/models/platform.py:51 assets/serializers/platform.py:40 msgid "Change secret enabled" msgstr "パスワードの変更が有効" -#: assets/models/platform.py:53 assets/serializers/platform.py:40 +#: assets/models/platform.py:53 assets/serializers/platform.py:41 msgid "Change secret method" msgstr "パスワード変更モード" @@ -2066,11 +2073,11 @@ msgstr "パスワード変更モード" msgid "Change secret params" msgstr "パスワード変更パラメータ" -#: assets/models/platform.py:57 assets/serializers/platform.py:41 +#: assets/models/platform.py:57 assets/serializers/platform.py:42 msgid "Push account enabled" msgstr "アカウントのプッシュを有効にする" -#: assets/models/platform.py:59 assets/serializers/platform.py:42 +#: assets/models/platform.py:59 assets/serializers/platform.py:43 msgid "Push account method" msgstr "アカウントプッシュ方式" @@ -2078,11 +2085,11 @@ msgstr "アカウントプッシュ方式" msgid "Push account params" msgstr "アカウントプッシュパラメータ" -#: assets/models/platform.py:63 assets/serializers/platform.py:37 +#: assets/models/platform.py:63 assets/serializers/platform.py:38 msgid "Verify account enabled" msgstr "アカウントの確認をオンにする" -#: assets/models/platform.py:65 assets/serializers/platform.py:38 +#: assets/models/platform.py:65 assets/serializers/platform.py:39 msgid "Verify account method" msgstr "アカウント認証方法" @@ -2090,11 +2097,11 @@ msgstr "アカウント認証方法" msgid "Verify account params" msgstr "アカウント認証パラメータ" -#: assets/models/platform.py:75 +#: assets/models/platform.py:75 assets/serializers/platform.py:47 msgid "Remove account enabled" msgstr "アカウントを開いて削除" -#: assets/models/platform.py:77 +#: assets/models/platform.py:77 assets/serializers/platform.py:46 msgid "Remove account method" msgstr "アカウントの削除方法" @@ -2110,23 +2117,23 @@ msgstr "メタ" msgid "Internal" msgstr "ビルトイン" -#: assets/models/platform.py:102 assets/serializers/platform.py:131 +#: assets/models/platform.py:102 assets/serializers/platform.py:134 msgid "Charset" msgstr "シャーセット" -#: assets/models/platform.py:104 assets/serializers/platform.py:160 +#: assets/models/platform.py:104 assets/serializers/platform.py:163 msgid "Domain enabled" msgstr "ドメインを有効にする" -#: assets/models/platform.py:106 assets/serializers/platform.py:159 +#: assets/models/platform.py:106 assets/serializers/platform.py:162 msgid "Su enabled" msgstr "アカウントの切り替えを有効にする" -#: assets/models/platform.py:107 assets/serializers/platform.py:137 +#: assets/models/platform.py:107 assets/serializers/platform.py:140 msgid "Su method" msgstr "アカウントの切り替え方法" -#: assets/models/platform.py:108 assets/serializers/platform.py:140 +#: assets/models/platform.py:108 assets/serializers/platform.py:143 msgid "Custom fields" msgstr "カスタムフィールド" @@ -2143,7 +2150,7 @@ msgstr "" "プラットフォームタイプがスキップされた資産に合致しない、資産内の一括更新プ" "ラットフォーム" -#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:134 +#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:137 #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:41 @@ -2256,7 +2263,7 @@ msgstr "制約" msgid "Types" msgstr "タイプ" -#: assets/serializers/domain.py:62 perms/serializers/permission.py:178 +#: assets/serializers/domain.py:62 perms/serializers/permission.py:181 msgid "Assets amount" msgstr "資産数量" @@ -2272,19 +2279,19 @@ msgstr "値" msgid "Can't contains: /" msgstr "含まれない:/" -#: assets/serializers/platform.py:43 +#: assets/serializers/platform.py:44 msgid "Gather accounts enabled" msgstr "アカウント収集を有効にする" -#: assets/serializers/platform.py:44 +#: assets/serializers/platform.py:45 msgid "Gather accounts method" msgstr "アカウントの収集方法" -#: assets/serializers/platform.py:50 +#: assets/serializers/platform.py:53 msgid "Port from addr" msgstr "アドレスからのポート" -#: assets/serializers/platform.py:62 +#: assets/serializers/platform.py:65 msgid "" "This protocol is primary, and it must be set when adding assets. " "Additionally, there can only be one primary protocol." @@ -2292,11 +2299,11 @@ msgstr "" "このプロトコルはプライマリであり、資産を追加するときに設定する必要がありま" "す。また、プライマリプロトコルは1つしかありません" -#: assets/serializers/platform.py:67 +#: assets/serializers/platform.py:70 msgid "This protocol is required, and it must be set when adding assets." msgstr "このプロトコルは必須であり、資産を追加するときに設定する必要があります" -#: assets/serializers/platform.py:70 +#: assets/serializers/platform.py:73 msgid "" "This protocol is default, when adding assets, it will be displayed by " "default." @@ -2304,32 +2311,32 @@ msgstr "" "このプロトコルはデフォルトです。資産を追加するときに、デフォルトで表示されま" "す" -#: assets/serializers/platform.py:73 +#: assets/serializers/platform.py:76 msgid "This protocol is public, asset will show this protocol to user" msgstr "" "このプロトコルは公開されており、資産はこのプロトコルをユーザーに表示します" -#: assets/serializers/platform.py:122 +#: assets/serializers/platform.py:125 msgid "Help text" msgstr "ヘルプ" -#: assets/serializers/platform.py:123 +#: assets/serializers/platform.py:126 msgid "Choices" msgstr "せんたく" -#: assets/serializers/platform.py:135 +#: assets/serializers/platform.py:138 msgid "Automation" msgstr "オートメーション" -#: assets/serializers/platform.py:161 +#: assets/serializers/platform.py:164 msgid "Default Domain" msgstr "デフォルト ドメイン" -#: assets/serializers/platform.py:182 +#: assets/serializers/platform.py:185 msgid "type is required" msgstr "タイプ このフィールドは必須です." -#: assets/serializers/platform.py:197 +#: assets/serializers/platform.py:200 msgid "Protocols is required" msgstr "同意が必要です" @@ -2447,7 +2454,7 @@ msgstr "名前の変更" msgid "Symlink" msgstr "Symlink" -#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:149 +#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:150 msgid "Download" msgstr "ダウンロード" @@ -2455,7 +2462,7 @@ msgstr "ダウンロード" msgid "Rename dir" msgstr "マップディレクトリ" -#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:277 +#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:281 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 msgid "View" @@ -2538,7 +2545,7 @@ msgid "Job audit log" msgstr "ジョブ監査ログ" #: audits/models.py:56 audits/models.py:100 audits/models.py:175 -#: terminal/models/session/session.py:39 terminal/models/session/sharing.py:113 +#: terminal/models/session/session.py:40 terminal/models/session/sharing.py:113 msgid "Remote addr" msgstr "リモートaddr" @@ -2616,8 +2623,8 @@ 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:838 -#: users/serializers/profile.py:102 +#: users/forms/profile.py:63 users/models/user.py:854 +#: users/serializers/profile.py:103 msgid "MFA" msgstr "MFA" @@ -2665,7 +2672,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:856 +#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:872 msgid "Date expired" msgstr "期限切れの日付" @@ -2698,29 +2705,29 @@ msgstr "認証トークン" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:77 notifications/backends/__init__.py:11 -#: settings/serializers/auth/wecom.py:10 users/models/user.py:760 -#: users/models/user.py:870 +#: settings/serializers/auth/wecom.py:10 users/models/user.py:776 +#: users/models/user.py:886 msgid "WeCom" msgstr "企業微信" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:97 #: authentication/views/login.py:89 notifications/backends/__init__.py:14 -#: settings/serializers/auth/feishu.py:10 users/models/user.py:762 -#: users/models/user.py:872 +#: settings/serializers/auth/feishu.py:10 users/models/user.py:778 +#: users/models/user.py:888 msgid "FeiShu" msgstr "本を飛ばす" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:101 #: authentication/views/slack.py:79 notifications/backends/__init__.py:16 -#: settings/serializers/auth/slack.py:10 users/models/user.py:764 -#: users/models/user.py:874 +#: settings/serializers/auth/slack.py:10 users/models/user.py:780 +#: users/models/user.py:890 msgid "Slack" msgstr "" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:153 #: authentication/views/login.py:83 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:761 -#: users/models/user.py:871 +#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:777 +#: users/models/user.py:887 msgid "DingTalk" msgstr "DingTalk" @@ -2785,7 +2792,7 @@ msgstr "ACL アクションはレビューです" msgid "Current user not support mfa type: {}" msgstr "現在のユーザーはmfaタイプをサポートしていません: {}" -#: authentication/api/password.py:33 terminal/api/session/session.py:325 +#: authentication/api/password.py:33 terminal/api/session/session.py:329 #: users/views/profile/reset.py:63 msgid "User does not exist: {}" msgstr "ユーザーが存在しない: {}" @@ -2816,7 +2823,7 @@ msgid "Authentication" msgstr "認証" #: authentication/backends/custom.py:59 -#: authentication/backends/oauth2/backends.py:173 +#: authentication/backends/oauth2/backends.py:158 msgid "User invalid, disabled or expired" msgstr "ユーザーが無効、無効、または期限切れです" @@ -3035,15 +3042,15 @@ msgstr "パスワードが無効です" msgid "Please wait for %s seconds before retry" msgstr "%s 秒後に再試行してください" -#: authentication/errors/redirect.py:85 authentication/mixins.py:323 +#: authentication/errors/redirect.py:85 authentication/mixins.py:325 msgid "Your password is too simple, please change it for security" msgstr "パスワードがシンプルすぎるので、セキュリティのために変更してください" -#: authentication/errors/redirect.py:93 authentication/mixins.py:330 +#: authentication/errors/redirect.py:93 authentication/mixins.py:334 msgid "You should to change your password before login" msgstr "ログインする前にパスワードを変更する必要があります" -#: authentication/errors/redirect.py:101 authentication/mixins.py:337 +#: authentication/errors/redirect.py:101 authentication/mixins.py:343 msgid "Your password has expired, please reset before logging in" msgstr "" "パスワードの有効期限が切れました。ログインする前にリセットしてください。" @@ -3142,7 +3149,7 @@ msgstr "電話番号を設定して有効にする" msgid "Clear phone number to disable" msgstr "無効にする電話番号をクリアする" -#: authentication/middleware.py:95 settings/utils/ldap.py:679 +#: authentication/middleware.py:96 settings/utils/ldap.py:679 msgid "Authentication failed (before login check failed): {}" msgstr "認証に失敗しました (ログインチェックが失敗する前): {}" @@ -3359,13 +3366,13 @@ msgid "Show" msgstr "表示" #: authentication/templates/authentication/_access_key_modal.html:66 -#: users/const.py:42 users/models/user.py:655 users/serializers/profile.py:92 +#: users/const.py:42 users/models/user.py:671 users/serializers/profile.py:93 #: users/templates/users/user_verify_mfa.html:36 msgid "Disable" msgstr "無効化" #: authentication/templates/authentication/_access_key_modal.html:67 -#: users/const.py:43 users/models/user.py:656 users/serializers/profile.py:93 +#: users/const.py:43 users/models/user.py:672 users/serializers/profile.py:94 #: users/templates/users/mfa_setting.html:26 #: users/templates/users/mfa_setting.html:68 msgid "Enable" @@ -3404,7 +3411,7 @@ msgstr "コードエラー" #: authentication/templates/authentication/_msg_reset_password_code.html:9 #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 -#: jumpserver/conf.py:465 +#: jumpserver/conf.py:468 #: perms/templates/perms/_msg_item_permissions_expire.html:3 #: perms/templates/perms/_msg_permed_items_expire.html:3 #: tickets/templates/tickets/approve_check_password.html:32 @@ -3737,7 +3744,7 @@ msgstr "企業の微信からユーザーを取得できませんでした" msgid "Please login with a password and then bind the WeCom" msgstr "パスワードでログインしてからWeComをバインドしてください" -#: common/api/action.py:51 +#: common/api/action.py:62 msgid "Request file format may be wrong" msgstr "リクエストファイルの形式が間違っている可能性があります" @@ -3824,8 +3831,8 @@ msgstr "無効なID、リストでなければなりません" #: common/db/fields.py:594 common/db/fields.py:599 #: common/serializers/fields.py:133 tickets/serializers/ticket/common.py:58 #: xpack/plugins/cloud/serializers/account_attrs.py:56 -#: xpack/plugins/cloud/serializers/account_attrs.py:79 -#: xpack/plugins/cloud/serializers/account_attrs.py:150 +#: xpack/plugins/cloud/serializers/account_attrs.py:80 +#: xpack/plugins/cloud/serializers/account_attrs.py:151 msgid "This field is required." msgstr "このフィールドは必須です。" @@ -3845,7 +3852,7 @@ msgstr "は破棄されます" msgid "discard time" msgstr "時間を捨てる" -#: common/db/models.py:33 users/models/user.py:859 +#: common/db/models.py:33 users/models/user.py:875 msgid "Updated by" msgstr "によって更新" @@ -4066,16 +4073,16 @@ msgstr "特殊文字を含むべきではない" msgid "The mobile phone number format is incorrect" msgstr "携帯電話番号の形式が正しくありません" -#: jumpserver/conf.py:459 +#: jumpserver/conf.py:462 #, python-brace-format msgid "The verification code is: {code}" msgstr "認証コードは: {code}" -#: jumpserver/conf.py:464 +#: jumpserver/conf.py:467 msgid "Create account successfully" msgstr "アカウントを正常に作成" -#: jumpserver/conf.py:466 +#: jumpserver/conf.py:469 msgid "Your account has been created successfully" msgstr "アカウントが正常に作成されました" @@ -4530,31 +4537,31 @@ msgstr "時を過ごす" msgid "You do not have permission for the current job." msgstr "あなたは現在のジョブの権限を持っていません。" -#: ops/tasks.py:50 +#: ops/tasks.py:52 msgid "Run ansible task" msgstr "Ansible タスクを実行する" -#: ops/tasks.py:76 +#: ops/tasks.py:79 msgid "Run ansible task execution" msgstr "Ansible タスクの実行を開始する" -#: ops/tasks.py:89 +#: ops/tasks.py:94 msgid "Clear celery periodic tasks" msgstr "タスクログを定期的にクリアする" -#: ops/tasks.py:110 +#: ops/tasks.py:115 msgid "Create or update periodic tasks" msgstr "定期的なタスクの作成または更新" -#: ops/tasks.py:118 +#: ops/tasks.py:123 msgid "Periodic check service performance" msgstr "サービスのパフォーマンスを定期的に確認する" -#: ops/tasks.py:124 +#: ops/tasks.py:129 msgid "Clean up unexpected jobs" msgstr "例外ジョブのクリーンアップ" -#: ops/tasks.py:131 +#: ops/tasks.py:136 msgid "Clean job_execution db record" msgstr "ジョブセンター実行履歴のクリーンアップ" @@ -4646,7 +4653,7 @@ msgstr "デフォルト組織" msgid "SYSTEM" msgstr "システム組織" -#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:183 +#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:184 #: terminal/models/applet/applet.py:42 msgid "Builtin" msgstr "ビルトイン" @@ -4764,16 +4771,16 @@ msgstr "資産権限の有効期限が近づいています" msgid "asset permissions of organization {}" msgstr "組織 {} の資産権限" -#: perms/serializers/permission.py:176 rbac/serializers/role.py:27 +#: perms/serializers/permission.py:179 rbac/serializers/role.py:27 #: users/serializers/group.py:54 users/serializers/group.py:60 msgid "Users amount" msgstr "ユーザー数" -#: perms/serializers/permission.py:177 +#: perms/serializers/permission.py:180 msgid "User groups amount" msgstr "ユーザーグループの数" -#: perms/serializers/permission.py:179 +#: perms/serializers/permission.py:182 msgid "Nodes amount" msgstr "ノード数" @@ -4879,7 +4886,7 @@ msgid "Scope" msgstr "スコープ" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:825 +#: users/models/user.py:841 msgid "Role" msgstr "ロール" @@ -4914,7 +4921,7 @@ msgstr "組織の役割バインディング" msgid "System role binding" msgstr "システムロールバインディング" -#: rbac/serializers/permission.py:25 users/serializers/profile.py:108 +#: rbac/serializers/permission.py:25 users/serializers/profile.py:109 msgid "Perms" msgstr "パーマ" @@ -4943,7 +4950,7 @@ msgstr "ワークスペースビュー" msgid "Audit view" msgstr "監査ビュー" -#: rbac/tree.py:27 settings/models.py:159 +#: rbac/tree.py:27 settings/models.py:160 msgid "System setting" msgstr "システム設定" @@ -4980,7 +4987,7 @@ msgid "My assets" msgstr "私の資産" #: rbac/tree.py:58 terminal/models/applet/applet.py:53 -#: terminal/models/applet/applet.py:328 terminal/models/applet/host.py:30 +#: terminal/models/applet/applet.py:327 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "リモートアプリケーション" @@ -5035,75 +5042,75 @@ msgstr "携帯番号をテストこのフィールドは必須です" msgid "Settings" msgstr "設定" -#: settings/models.py:36 users/models/preference.py:14 +#: settings/models.py:37 users/models/preference.py:14 msgid "Encrypted" msgstr "暗号化された" -#: settings/models.py:161 +#: settings/models.py:162 msgid "Can change email setting" msgstr "メール設定を変更できます" -#: settings/models.py:162 +#: settings/models.py:163 msgid "Can change auth setting" msgstr "資格認定の設定" -#: settings/models.py:163 +#: settings/models.py:164 msgid "Can change auth ops" msgstr "タスクセンターの設定" -#: settings/models.py:164 +#: settings/models.py:165 msgid "Can change auth ticket" msgstr "製造オーダ設定" -#: settings/models.py:165 +#: settings/models.py:166 msgid "Can change virtual app setting" msgstr "仮想アプリケーション設定を変更できます" -#: settings/models.py:166 +#: settings/models.py:167 msgid "Can change auth announcement" msgstr "公告の設定" -#: settings/models.py:167 +#: settings/models.py:168 msgid "Can change vault setting" msgstr "金庫の設定を変えることができます" -#: settings/models.py:168 +#: settings/models.py:169 msgid "Can change chat ai setting" msgstr "チャットAI設定を変更できます" -#: settings/models.py:169 +#: settings/models.py:170 msgid "Can change system msg sub setting" msgstr "システムmsgサブ设定を変更できます" -#: settings/models.py:170 +#: settings/models.py:171 msgid "Can change sms setting" msgstr "Smsの設定を変えることができます" -#: settings/models.py:171 +#: settings/models.py:172 msgid "Can change security setting" msgstr "セキュリティ設定を変更できます" -#: settings/models.py:172 +#: settings/models.py:173 msgid "Can change clean setting" msgstr "きれいな設定を変えることができます" -#: settings/models.py:173 +#: settings/models.py:174 msgid "Can change interface setting" msgstr "インターフェイスの設定を変えることができます" -#: settings/models.py:174 +#: settings/models.py:175 msgid "Can change license setting" msgstr "ライセンス設定を変更できます" -#: settings/models.py:175 +#: settings/models.py:176 msgid "Can change terminal setting" msgstr "ターミナルの設定を変えることができます" -#: settings/models.py:176 +#: settings/models.py:177 msgid "Can change other setting" msgstr "他の設定を変えることができます" -#: settings/models.py:186 +#: settings/models.py:187 msgid "Chat prompt" msgstr "チャットのヒント" @@ -5585,7 +5592,7 @@ msgid "SSO auth key TTL" msgstr "Token有効期間" #: settings/serializers/auth/sso.py:20 -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Unit: second" msgstr "単位: 秒" @@ -6270,7 +6277,7 @@ msgid "Sync task Finish" msgstr "同期タスクが完了しました" #: settings/templates/ldap/_msg_import_ldap_user.html:6 -#: terminal/models/session/session.py:46 +#: terminal/models/session/session.py:47 msgid "Date end" msgstr "終了日" @@ -6387,9 +6394,9 @@ msgstr "認証成功: {}" msgid "Get ldap users is None" msgstr "Ldapユーザーを取得するにはNone" -#: settings/ws.py:205 -msgid "Imported {} users successfully (Organization: {})" -msgstr "{} 人のユーザーを正常にインポートしました (組織: {})" +#: settings/ws.py:201 +msgid "Total {}, success {}, failure {}" +msgstr "" #: templates/_csv_import_export.html:8 msgid "Export" @@ -6635,24 +6642,24 @@ msgstr "テスト成功" msgid "Test failure: Please check configuration" msgstr "テストに失敗しました:構成を確認してください" -#: terminal/api/component/terminal.py:55 +#: terminal/api/component/terminal.py:57 msgid "Have online sessions" msgstr "オンラインセッションを持つ" -#: terminal/api/session/session.py:48 +#: terminal/api/session/session.py:49 #, python-format msgid "User %s %s session %s replay" msgstr "ユーザー%s %sこのセッション %s の録画です" -#: terminal/api/session/session.py:317 +#: terminal/api/session/session.py:321 msgid "Session does not exist: {}" msgstr "セッションが存在しません: {}" -#: terminal/api/session/session.py:320 +#: terminal/api/session/session.py:324 msgid "Session is finished or the protocol not supported" msgstr "セッションが終了したか、プロトコルがサポートされていません" -#: terminal/api/session/session.py:333 +#: terminal/api/session/session.py:337 msgid "User does not have permission" msgstr "ユーザーに権限がありません" @@ -6834,12 +6841,12 @@ msgstr "カスタムプラットフォームのみをサポート" msgid "Missing type in platform.yml" msgstr "platform.ymlにタイプがありません" -#: terminal/models/applet/applet.py:330 terminal/models/applet/host.py:36 +#: terminal/models/applet/applet.py:329 terminal/models/applet/host.py:36 #: terminal/models/applet/host.py:138 msgid "Hosting" msgstr "ホスト マシン" -#: terminal/models/applet/applet.py:336 +#: terminal/models/applet/applet.py:335 msgid "Applet publication" msgstr "アプリケーションのリリース" @@ -7001,43 +7008,43 @@ msgstr "セッションのリプレイをアップロードできます" msgid "Can download session replay" msgstr "セッション再生をダウンロードできます" -#: terminal/models/session/session.py:35 +#: terminal/models/session/session.py:36 msgid "Account id" msgstr "アカウント ID" -#: terminal/models/session/session.py:37 terminal/models/session/sharing.py:118 +#: terminal/models/session/session.py:38 terminal/models/session/sharing.py:118 msgid "Login from" msgstr "ログイン元" -#: terminal/models/session/session.py:42 +#: terminal/models/session/session.py:43 msgid "Replay" msgstr "リプレイ" -#: terminal/models/session/session.py:48 terminal/serializers/session.py:78 +#: terminal/models/session/session.py:49 terminal/serializers/session.py:78 msgid "Command amount" msgstr "コマンド量" -#: terminal/models/session/session.py:49 terminal/serializers/session.py:30 +#: terminal/models/session/session.py:50 terminal/serializers/session.py:30 msgid "Error reason" msgstr "間違った理由" -#: terminal/models/session/session.py:290 +#: terminal/models/session/session.py:292 msgid "Session record" msgstr "セッション記録" -#: terminal/models/session/session.py:292 +#: terminal/models/session/session.py:294 msgid "Can monitor session" msgstr "セッションを監視できます" -#: terminal/models/session/session.py:293 +#: terminal/models/session/session.py:295 msgid "Can share session" msgstr "セッションを共有できます" -#: terminal/models/session/session.py:294 +#: terminal/models/session/session.py:296 msgid "Can terminate session" msgstr "セッションを終了できます" -#: terminal/models/session/session.py:295 +#: terminal/models/session/session.py:297 msgid "Can validate session action perm" msgstr "セッションアクションのパーマを検証できます" @@ -7332,9 +7339,13 @@ msgstr "" "変更は許可されません)。" #: terminal/serializers/endpoint.py:64 +#, fuzzy +#| msgid "" +#| "The assets within this IP range, the following endpoint will be used for " +#| "the connection" msgid "" -"The assets within this IP range, the following endpoint will be used for the " -"connection" +"The assets within this IP range or Host, the following endpoint will be used " +"for the connection" msgstr "このIP範囲内のアセットは、以下のエンドポイントを使用して接続されます" #: terminal/serializers/endpoint.py:65 @@ -7344,10 +7355,6 @@ msgstr "" "異なるエンドポイントの下に競合するアセットIPがある場合は、アセットタグを使用" "して実装します" -#: terminal/serializers/endpoint.py:69 -msgid "Asset IP" -msgstr "資産 IP" - #: terminal/serializers/session.py:25 terminal/serializers/session.py:53 msgid "Can replay" msgstr "再生できます" @@ -7419,8 +7426,8 @@ msgstr "エンドポイントサフィックス" msgid "HOST" msgstr "ホスト" -#: terminal/serializers/storage.py:146 users/models/user.py:845 -#: xpack/plugins/cloud/serializers/account_attrs.py:213 +#: terminal/serializers/storage.py:146 users/models/user.py:861 +#: xpack/plugins/cloud/serializers/account_attrs.py:214 msgid "Private key" msgstr "ssh秘密鍵" @@ -7842,7 +7849,7 @@ msgstr "製造オーダスナップショット" msgid "Please try again" msgstr "もう一度お試しください" -#: tickets/models/ticket/general.py:481 +#: tickets/models/ticket/general.py:484 msgid "Super ticket" msgstr "スーパーチケット" @@ -8137,13 +8144,13 @@ msgstr "ここにid_rsa.pubを貼り付けます。" msgid "Public key should not be the same as your old one." msgstr "公開鍵は古いものと同じであってはなりません。" -#: users/forms/profile.py:161 users/serializers/profile.py:76 -#: users/serializers/profile.py:164 users/serializers/profile.py:191 +#: users/forms/profile.py:161 users/serializers/profile.py:77 +#: users/serializers/profile.py:165 users/serializers/profile.py:192 msgid "Not a valid ssh public key" msgstr "有効なssh公開鍵ではありません" -#: users/forms/profile.py:172 users/models/user.py:848 -#: xpack/plugins/cloud/serializers/account_attrs.py:210 +#: users/forms/profile.py:172 users/models/user.py:864 +#: xpack/plugins/cloud/serializers/account_attrs.py:211 msgid "Public key" msgstr "公開キー" @@ -8151,78 +8158,78 @@ msgstr "公開キー" msgid "Preference" msgstr "ユーザー設定" -#: users/models/user.py:657 users/serializers/profile.py:94 +#: users/models/user.py:673 users/serializers/profile.py:95 msgid "Force enable" msgstr "強制有効" -#: users/models/user.py:763 +#: users/models/user.py:779 msgid "Lark" msgstr "" -#: users/models/user.py:827 users/serializers/user.py:177 +#: users/models/user.py:843 users/serializers/user.py:177 msgid "Is service account" msgstr "サービスアカウントです" -#: users/models/user.py:829 +#: users/models/user.py:845 msgid "Avatar" msgstr "アバター" -#: users/models/user.py:832 +#: users/models/user.py:848 msgid "Wechat" msgstr "微信" -#: users/models/user.py:835 users/serializers/user.py:113 +#: users/models/user.py:851 users/serializers/user.py:113 msgid "Phone" msgstr "電話" -#: users/models/user.py:841 +#: users/models/user.py:857 msgid "OTP secret key" msgstr "OTP 秘密" # msgid "Private key" # msgstr "ssh秘密鍵" -#: users/models/user.py:853 users/serializers/profile.py:128 +#: users/models/user.py:869 users/serializers/profile.py:129 #: users/serializers/user.py:174 msgid "Is first login" msgstr "最初のログインです" -#: users/models/user.py:863 +#: users/models/user.py:879 msgid "Date password last updated" msgstr "最終更新日パスワード" -#: users/models/user.py:866 +#: users/models/user.py:882 msgid "Need update password" msgstr "更新パスワードが必要" -#: users/models/user.py:868 +#: users/models/user.py:884 msgid "Date api key used" msgstr "Api key 最後に使用した日付" -#: users/models/user.py:1001 +#: users/models/user.py:1017 msgid "Can not delete admin user" msgstr "管理者ユーザーを削除できませんでした" -#: users/models/user.py:1029 +#: users/models/user.py:1045 msgid "Can invite user" msgstr "ユーザーを招待できます" -#: users/models/user.py:1030 +#: users/models/user.py:1046 msgid "Can remove user" msgstr "ユーザーを削除できます" -#: users/models/user.py:1031 +#: users/models/user.py:1047 msgid "Can match user" msgstr "ユーザーに一致できます" -#: users/models/user.py:1040 +#: users/models/user.py:1056 msgid "Administrator" msgstr "管理者" -#: users/models/user.py:1043 +#: users/models/user.py:1059 msgid "Administrator is the super user of system" msgstr "管理者はシステムのスーパーユーザーです" -#: users/models/user.py:1068 +#: users/models/user.py:1084 msgid "User password history" msgstr "ユーザーパスワード履歴" @@ -8273,7 +8280,7 @@ msgstr "新しいファイルの暗号化パスワード" msgid "Confirm file encryption password" msgstr "ファイルの暗号化パスワードを確認する" -#: users/serializers/preference/lina.py:31 users/serializers/profile.py:48 +#: users/serializers/preference/lina.py:31 users/serializers/profile.py:49 msgid "The newly set password is inconsistent" msgstr "新しく設定されたパスワードが一致しない" @@ -8344,15 +8351,15 @@ msgstr "図形化" msgid "Command line" msgstr "コマンドライン" -#: users/serializers/profile.py:29 +#: users/serializers/profile.py:30 msgid "The old password is incorrect" msgstr "古いパスワードが正しくありません" -#: users/serializers/profile.py:36 users/serializers/profile.py:178 +#: users/serializers/profile.py:37 users/serializers/profile.py:179 msgid "Password does not match security rules" msgstr "パスワードがセキュリティルールと一致しない" -#: users/serializers/profile.py:40 +#: users/serializers/profile.py:41 msgid "The new password cannot be the last {} passwords" msgstr "新しいパスワードを最後の {} 個のパスワードにすることはできません" @@ -9252,51 +9259,55 @@ msgstr "テナントID" msgid "Subscription ID" msgstr "サブスクリプションID" -#: xpack/plugins/cloud/serializers/account_attrs.py:98 -#: xpack/plugins/cloud/serializers/account_attrs.py:102 -#: xpack/plugins/cloud/serializers/account_attrs.py:126 -#: xpack/plugins/cloud/serializers/account_attrs.py:156 -#: xpack/plugins/cloud/serializers/account_attrs.py:206 +#: xpack/plugins/cloud/serializers/account_attrs.py:74 +msgid "Auto node classification" +msgstr "オートノード分類" + +#: xpack/plugins/cloud/serializers/account_attrs.py:99 +#: xpack/plugins/cloud/serializers/account_attrs.py:103 +#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:157 +#: xpack/plugins/cloud/serializers/account_attrs.py:207 msgid "API Endpoint" msgstr "APIエンドポイント" -#: xpack/plugins/cloud/serializers/account_attrs.py:108 +#: xpack/plugins/cloud/serializers/account_attrs.py:109 msgid "Auth url" msgstr "認証アドレス" -#: xpack/plugins/cloud/serializers/account_attrs.py:109 +#: xpack/plugins/cloud/serializers/account_attrs.py:110 msgid "eg: http://openstack.example.com:5000/v3" msgstr "例えば: http://openstack.example.com:5000/v3" -#: xpack/plugins/cloud/serializers/account_attrs.py:112 +#: xpack/plugins/cloud/serializers/account_attrs.py:113 msgid "User domain" msgstr "ユーザードメイン" -#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:128 msgid "Cert File" msgstr "証明書ファイル" -#: xpack/plugins/cloud/serializers/account_attrs.py:128 +#: xpack/plugins/cloud/serializers/account_attrs.py:129 msgid "Key File" msgstr "キーファイル" -#: xpack/plugins/cloud/serializers/account_attrs.py:144 +#: xpack/plugins/cloud/serializers/account_attrs.py:145 msgid "Service account key" msgstr "サービスアカウントキー" -#: xpack/plugins/cloud/serializers/account_attrs.py:145 +#: xpack/plugins/cloud/serializers/account_attrs.py:146 msgid "The file is in JSON format" msgstr "ファイルはJSON形式です。" -#: xpack/plugins/cloud/serializers/account_attrs.py:163 +#: xpack/plugins/cloud/serializers/account_attrs.py:164 msgid "IP address invalid `{}`, {}" msgstr "IPアドレスが無効: '{}', {}" -#: xpack/plugins/cloud/serializers/account_attrs.py:179 +#: xpack/plugins/cloud/serializers/account_attrs.py:180 msgid "Such as: 192.168.1.0/24, 10.0.0.0-10.0.0.255" msgstr "例:192.168.1.0/24、10.0.0.0.0-10.0.0.255" -#: xpack/plugins/cloud/serializers/account_attrs.py:182 +#: xpack/plugins/cloud/serializers/account_attrs.py:183 msgid "" "The port is used to detect the validity of the IP address. When the " "synchronization task is executed, only the valid IP address will be " @@ -9306,23 +9317,23 @@ msgstr "" "実行されると、有効な IP アドレスのみが同期されます。
ポートが0の場合、す" "べてのIPアドレスが有効です。" -#: xpack/plugins/cloud/serializers/account_attrs.py:190 +#: xpack/plugins/cloud/serializers/account_attrs.py:191 msgid "Hostname prefix" msgstr "ホスト名プレフィックス" -#: xpack/plugins/cloud/serializers/account_attrs.py:193 +#: xpack/plugins/cloud/serializers/account_attrs.py:194 msgid "IP segment" msgstr "IP セグメント" -#: xpack/plugins/cloud/serializers/account_attrs.py:197 +#: xpack/plugins/cloud/serializers/account_attrs.py:198 msgid "Test port" msgstr "テストポート" -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Test timeout" msgstr "テストタイムアウト" -#: xpack/plugins/cloud/serializers/account_attrs.py:216 +#: xpack/plugins/cloud/serializers/account_attrs.py:217 msgid "Project" msgstr "project" @@ -9424,6 +9435,18 @@ msgstr "エンタープライズプロフェッショナル版" msgid "Ultimate edition" msgstr "エンタープライズ・フラッグシップ・エディション" -#: xpack/plugins/cloud/serializers/account_attrs.py:74 -msgid "Auto node classification" -msgstr "オートノード分類" +#, fuzzy +#~| msgid "Remove account enabled" +#~ msgid "Remove accounts enabled" +#~ msgstr "アカウントを開いて削除" + +#, fuzzy +#~| msgid "Enable announcement" +#~ msgid "Enable account remove" +#~ msgstr "アナウンスの有効化" + +#~ msgid "Imported {} users successfully (Organization: {})" +#~ msgstr "{} 人のユーザーを正常にインポートしました (組織: {})" + +#~ msgid "Asset IP" +#~ msgstr "資産 IP" diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 251368354..783c5de07 100644 --- a/apps/locale/zh/LC_MESSAGES/django.mo +++ b/apps/locale/zh/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4517c6a7464c68f949912b97c8a9abcc766ca19e32267a1d1da3f0e012471c1a -size 146255 +oid sha256:ad4d049cea00953870dd1325a9c0cae8deed26ab1b6ab48dba5a59a3dfc6f6b9 +size 146380 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 5c33a5f43..a5e8aebf5 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/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: 2025-08-25 11:01+0800\n" +"POT-Creation-Date: 2025-08-26 17:23+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -39,8 +39,6 @@ msgstr "成功: %s, 失败: %s, 总数: %s" #: users/templates/users/_msg_user_created.html:13 #: users/templates/users/user_password_verify.html:18 #: xpack/plugins/cloud/serializers/account_attrs.py:28 -#: xpack/plugins/cloud/serializers/account_attrs.py:90 -#: xpack/plugins/cloud/serializers/account_attrs.py:97 msgid "Password" msgstr "密码" @@ -554,8 +552,6 @@ msgstr "最后登录日期" #: users/forms/profile.py:114 users/models/user.py:829 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 -#: xpack/plugins/cloud/serializers/account_attrs.py:88 -#: xpack/plugins/cloud/serializers/account_attrs.py:95 msgid "Username" msgstr "用户名" @@ -633,7 +629,7 @@ msgstr "密码规则" #: assets/models/domain.py:19 assets/models/group.py:17 #: assets/models/label.py:18 assets/models/platform.py:15 #: assets/models/platform.py:94 assets/serializers/asset/common.py:149 -#: assets/serializers/platform.py:118 assets/serializers/platform.py:221 +#: assets/serializers/platform.py:121 assets/serializers/platform.py:224 #: authentication/backends/passkey/models.py:10 #: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 @@ -782,7 +778,7 @@ msgstr "账号存在策略" #: accounts/serializers/account/account.py:204 applications/models.py:11 #: assets/models/label.py:21 assets/models/platform.py:95 #: assets/serializers/asset/common.py:125 assets/serializers/cagegory.py:12 -#: assets/serializers/platform.py:133 assets/serializers/platform.py:222 +#: assets/serializers/platform.py:136 assets/serializers/platform.py:225 #: perms/serializers/user_permission.py:26 settings/models.py:36 #: tickets/models/ticket/apply_application.py:13 users/models/preference.py:12 msgid "Category" @@ -793,8 +789,8 @@ msgstr "类别" #: acls/serializers/command_acl.py:19 applications/models.py:14 #: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/cmd_filter.py:74 assets/models/platform.py:96 -#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:120 -#: assets/serializers/platform.py:132 audits/serializers.py:53 +#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:123 +#: assets/serializers/platform.py:135 audits/serializers.py:53 #: audits/serializers.py:170 #: authentication/serializers/connect_token_secret.py:126 ops/models/job.py:150 #: perms/serializers/user_permission.py:27 terminal/models/applet/applet.py:40 @@ -1272,8 +1268,8 @@ msgid "" "10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:db8:1a:1110::/64 (Domain name " "support)" msgstr "" -"* 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, " -"2001:db8:2de::e13, 2001:db8:1a:1110::/64 (支持网域)" +"* 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, 2001:" +"db8:2de::e13, 2001:db8:1a:1110::/64 (支持网域)" #: acls/serializers/base.py:41 assets/serializers/asset/host.py:19 msgid "IP/Host" @@ -1305,8 +1301,8 @@ msgid "" "With * indicating a match all. Such as: 192.168.10.1, 192.168.1.0/24, " "10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:db8:1a:1110::/64 " msgstr "" -"* 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, " -"2001:db8:2de::e13, 2001:db8:1a:1110::/64" +"* 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, 2001:" +"db8:2de::e13, 2001:db8:1a:1110::/64" #: acls/serializers/rules/rules.py:48 #: authentication/templates/authentication/_msg_oauth_bind.html:12 @@ -1418,6 +1414,7 @@ msgid "Asset, {}, using account {}" msgstr "资产, {}, 使用账号 {}" #: assets/automations/ping_gateway/manager.py:55 +#, python-brace-format msgid "Unable to connect to port {port} on {address}" msgstr "无法连接到 {port} 上的端口 {address}" @@ -1493,8 +1490,7 @@ msgstr "云服务" msgid "Web" msgstr "Web" -#: assets/const/category.py:16 common/sdk/sms/custom_file.py:47 -#: common/sdk/sms/endpoint.py:20 +#: assets/const/category.py:16 common/sdk/sms/endpoint.py:20 msgid "Custom type" msgstr "自定义" @@ -1548,6 +1544,7 @@ msgid "SFTP root" msgstr "SFTP 根路径" #: assets/const/protocol.py:60 +#, python-brace-format msgid "" "SFTP root directory, Support variable:
- ${ACCOUNT} The connected " "account username
- ${HOME} The home directory of the connected account " @@ -1941,7 +1938,7 @@ msgid "Asset group" msgstr "资产组" #: assets/models/group.py:31 assets/models/platform.py:19 -#: assets/serializers/platform.py:121 +#: assets/serializers/platform.py:124 #: xpack/plugins/cloud/providers/nutanix.py:30 msgid "Default" msgstr "默认" @@ -1966,7 +1963,7 @@ msgstr "值" #: assets/models/label.py:40 assets/serializers/cagegory.py:10 #: assets/serializers/cagegory.py:17 assets/serializers/cagegory.py:23 -#: assets/serializers/platform.py:119 +#: assets/serializers/platform.py:122 #: authentication/serializers/connect_token_secret.py:124 #: common/serializers/common.py:85 labels/models.py:17 labels/models.py:33 #: labels/serializers.py:45 settings/serializers/msg.py:90 @@ -2010,7 +2007,7 @@ msgstr "必须的" msgid "Public" msgstr "开放的" -#: assets/models/platform.py:21 assets/serializers/platform.py:49 +#: assets/models/platform.py:21 assets/serializers/platform.py:52 #: settings/serializers/settings.py:105 #: users/templates/users/reset_password.html:29 msgid "Setting" @@ -2026,11 +2023,11 @@ msgstr "启用" msgid "Ansible config" msgstr "Ansible 配置" -#: assets/models/platform.py:41 assets/serializers/platform.py:33 +#: assets/models/platform.py:41 assets/serializers/platform.py:34 msgid "Ping enabled" msgstr "启用资产探活" -#: assets/models/platform.py:42 assets/serializers/platform.py:34 +#: assets/models/platform.py:42 assets/serializers/platform.py:35 msgid "Ping method" msgstr "资产探活方式" @@ -2039,12 +2036,12 @@ msgid "Ping params" msgstr "资产探活参数" #: assets/models/platform.py:45 assets/models/platform.py:69 -#: assets/serializers/platform.py:35 +#: assets/serializers/platform.py:36 msgid "Gather facts enabled" msgstr "启用收集资产信息" #: assets/models/platform.py:47 assets/models/platform.py:71 -#: assets/serializers/platform.py:36 +#: assets/serializers/platform.py:37 msgid "Gather facts method" msgstr "收集信息方式" @@ -2052,11 +2049,11 @@ msgstr "收集信息方式" msgid "Gather facts params" msgstr "收集信息参数" -#: assets/models/platform.py:51 assets/serializers/platform.py:39 +#: assets/models/platform.py:51 assets/serializers/platform.py:40 msgid "Change secret enabled" msgstr "启用改密" -#: assets/models/platform.py:53 assets/serializers/platform.py:40 +#: assets/models/platform.py:53 assets/serializers/platform.py:41 msgid "Change secret method" msgstr "改密方式" @@ -2064,11 +2061,11 @@ msgstr "改密方式" msgid "Change secret params" msgstr "改密参数" -#: assets/models/platform.py:57 assets/serializers/platform.py:41 +#: assets/models/platform.py:57 assets/serializers/platform.py:42 msgid "Push account enabled" msgstr "启用账号推送" -#: assets/models/platform.py:59 assets/serializers/platform.py:42 +#: assets/models/platform.py:59 assets/serializers/platform.py:43 msgid "Push account method" msgstr "账号推送方式" @@ -2076,11 +2073,11 @@ msgstr "账号推送方式" msgid "Push account params" msgstr "账号推送参数" -#: assets/models/platform.py:63 assets/serializers/platform.py:37 +#: assets/models/platform.py:63 assets/serializers/platform.py:38 msgid "Verify account enabled" msgstr "开启账号验证" -#: assets/models/platform.py:65 assets/serializers/platform.py:38 +#: assets/models/platform.py:65 assets/serializers/platform.py:39 msgid "Verify account method" msgstr "账号验证方式" @@ -2088,11 +2085,11 @@ msgstr "账号验证方式" msgid "Verify account params" msgstr "账号验证参数" -#: assets/models/platform.py:75 +#: assets/models/platform.py:75 assets/serializers/platform.py:47 msgid "Remove account enabled" msgstr "开启账号移除" -#: assets/models/platform.py:77 +#: assets/models/platform.py:77 assets/serializers/platform.py:46 msgid "Remove account method" msgstr "账号移除方式" @@ -2108,23 +2105,23 @@ msgstr "元数据" msgid "Internal" msgstr "内置" -#: assets/models/platform.py:102 assets/serializers/platform.py:131 +#: assets/models/platform.py:102 assets/serializers/platform.py:134 msgid "Charset" msgstr "编码" -#: assets/models/platform.py:104 assets/serializers/platform.py:160 +#: assets/models/platform.py:104 assets/serializers/platform.py:163 msgid "Domain enabled" msgstr "启用网域" -#: assets/models/platform.py:106 assets/serializers/platform.py:159 +#: assets/models/platform.py:106 assets/serializers/platform.py:162 msgid "Su enabled" msgstr "启用账号切换" -#: assets/models/platform.py:107 assets/serializers/platform.py:137 +#: assets/models/platform.py:107 assets/serializers/platform.py:140 msgid "Su method" msgstr "账号切换方式" -#: assets/models/platform.py:108 assets/serializers/platform.py:140 +#: assets/models/platform.py:108 assets/serializers/platform.py:143 msgid "Custom fields" msgstr "自定义属性" @@ -2139,7 +2136,7 @@ msgid "" "type" msgstr "资产中批量更新平台,不符合平台类型跳过的资产" -#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:134 +#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:137 #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:41 @@ -2170,7 +2167,7 @@ msgstr "端口超出范围 (0-65535)" msgid "Protocol is required: {}" msgstr "协议是必填的: {}" -#: assets/serializers/asset/common.py:316 labels/api.py:107 +#: assets/serializers/asset/common.py:316 msgid "Invalid data" msgstr "无效的数据" @@ -2268,59 +2265,59 @@ msgstr "值" msgid "Can't contains: /" msgstr "不能包含: /" -#: assets/serializers/platform.py:43 +#: assets/serializers/platform.py:44 msgid "Gather accounts enabled" msgstr "启用账号收集" -#: assets/serializers/platform.py:44 +#: assets/serializers/platform.py:45 msgid "Gather accounts method" msgstr "收集账号方式" -#: assets/serializers/platform.py:50 +#: assets/serializers/platform.py:53 msgid "Port from addr" msgstr "端口来自地址" -#: assets/serializers/platform.py:62 +#: assets/serializers/platform.py:65 msgid "" "This protocol is primary, and it must be set when adding assets. " "Additionally, there can only be one primary protocol." msgstr "该协议是主要的,添加资产时必须设置。并且只能有一个主要协议" -#: assets/serializers/platform.py:67 +#: assets/serializers/platform.py:70 msgid "This protocol is required, and it must be set when adding assets." msgstr "该协议是必填的,添加资产时必须设置" -#: assets/serializers/platform.py:70 +#: assets/serializers/platform.py:73 msgid "" "This protocol is default, when adding assets, it will be displayed by " "default." msgstr "该协议是默认的,添加资产时,将默认显示" -#: assets/serializers/platform.py:73 +#: assets/serializers/platform.py:76 msgid "This protocol is public, asset will show this protocol to user" msgstr "该协议是公开的,资产将向用户显示该协议并可以连接使用" -#: assets/serializers/platform.py:122 +#: assets/serializers/platform.py:125 msgid "Help text" msgstr "帮助" -#: assets/serializers/platform.py:123 +#: assets/serializers/platform.py:126 msgid "Choices" msgstr "选择" -#: assets/serializers/platform.py:135 +#: assets/serializers/platform.py:138 msgid "Automation" msgstr "自动化" -#: assets/serializers/platform.py:161 +#: assets/serializers/platform.py:164 msgid "Default Domain" msgstr "默认网域" -#: assets/serializers/platform.py:182 +#: assets/serializers/platform.py:185 msgid "type is required" msgstr "类型 该字段是必填项。" -#: assets/serializers/platform.py:197 +#: assets/serializers/platform.py:200 msgid "Protocols is required" msgstr "协议是必填的" @@ -2394,10 +2391,6 @@ msgstr "没有匹配到资产,结束任务" msgid "Audits" msgstr "日志审计" -#: audits/backends/__init__.py:29 audits/const.py:51 audits/models.py:132 -msgid "Operate log" -msgstr "操作日志" - #: audits/backends/db.py:16 msgid "The text content is too long. Use Elasticsearch to store operation logs" msgstr "文字内容太长。请使用 Elasticsearch 存储操作日志" @@ -2497,6 +2490,10 @@ msgstr "结束" msgid "Terminal" msgstr "终端" +#: audits/const.py:51 audits/models.py:132 +msgid "Operate log" +msgstr "操作日志" + #: audits/const.py:52 msgid "Session log" msgstr "会话日志" @@ -2539,8 +2536,7 @@ msgstr "操作" msgid "Filename" msgstr "文件名" -#: audits/models.py:66 common/sdk/sms/custom_file.py:47 -#: common/serializers/common.py:98 +#: audits/models.py:66 common/serializers/common.py:98 msgid "File" msgstr "文件" @@ -2910,6 +2906,7 @@ msgid "No session found, check your cookie" msgstr "会话已变更,刷新页面" #: authentication/errors/const.py:41 +#, python-brace-format msgid "" "The username or password you entered is incorrect, please enter it again. " "You can also try {times_try} times (The account will be temporarily locked " @@ -2931,6 +2928,7 @@ msgid "" msgstr "IP 已被锁定 (请联系管理员解锁或 {} 分钟后重试)" #: authentication/errors/const.py:59 +#, python-brace-format msgid "" "{error}, You can also try {times_try} times (The account will be temporarily " "locked for {block_time} minutes)" @@ -3960,10 +3958,12 @@ msgid "Children" msgstr "节点" #: common/serializers/fields.py:134 +#, python-brace-format msgid "Invalid pk \"{pk_value}\" - object does not exist." msgstr "错误的 pk \"{pk_value}\" - 对象不存在" #: common/serializers/fields.py:135 +#, python-brace-format msgid "Incorrect type. Expected pk value, received {data_type}." msgstr "错误类型。期望 pk 值,收到 {data_type}。" @@ -4023,6 +4023,7 @@ msgid "The mobile phone number format is incorrect" msgstr "手机号格式不正确" #: jumpserver/conf.py:462 +#, python-brace-format msgid "The verification code is: {code}" msgstr "验证码为: {code}" @@ -4134,16 +4135,19 @@ msgid "Task {} args or kwargs error" msgstr "任务 {} 执行参数错误" #: ops/api/job.py:81 +#, python-brace-format msgid "" "Asset ({asset}) must have at least one of the following protocols added: " "SSH, SFTP, or WinRM" msgstr "资产({asset})至少要添加ssh,sftp,winrm其中一种协议" #: ops/api/job.py:82 +#, python-brace-format msgid "Asset ({asset}) authorization is missing SSH, SFTP, or WinRM protocol" msgstr "资产({asset})授权缺少ssh,sftp或winrm协议" #: ops/api/job.py:83 +#, python-brace-format msgid "Asset ({asset}) authorization lacks upload permissions" msgstr "资产({asset})授权缺少上传权限" @@ -4152,6 +4156,7 @@ msgid "Duplicate file exists" msgstr "存在同名文件" #: ops/api/job.py:173 +#, python-brace-format msgid "" "File size exceeds maximum limit. Please select a file smaller than {limit}MB" msgstr "文件大小超过最大限制。请选择小于 {limit}MB 的文件。" @@ -4431,18 +4436,22 @@ msgid "Terminal health check warning" msgstr "终端健康状况检查警告" #: ops/notifications.py:70 +#, python-brace-format msgid "The terminal is offline: {name}" msgstr "终端已离线: {name}" #: ops/notifications.py:75 +#, python-brace-format msgid "Disk used more than {max_threshold}%: => {value}" msgstr "硬盘使用率超过 {max_threshold}%: => {value}" #: ops/notifications.py:80 +#, python-brace-format msgid "Memory used more than {max_threshold}%: => {value}" msgstr "内存使用率超过 {max_threshold}%: => {value}" #: ops/notifications.py:85 +#, python-brace-format msgid "CPU load more than {max_threshold}: => {value}" msgstr "CPU 使用率超过 {max_threshold}: => {value}" @@ -5193,11 +5202,11 @@ msgstr "用户属性映射" #: settings/serializers/auth/ldap.py:59 msgid "" -"User attr map present how to map LDAP user attr to jumpserver, " -"username,name,email is jumpserver attr" +"User attr map present how to map LDAP user attr to jumpserver, username,name," +"email is jumpserver attr" msgstr "" -"用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上,username, " -"name,email 是jumpserver的用户需要属性" +"用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上,username, name," +"email 是jumpserver的用户需要属性" #: settings/serializers/auth/ldap.py:77 msgid "Connect timeout (s)" @@ -5293,11 +5302,11 @@ msgstr "忽略 SSL 证书验证" #: settings/serializers/auth/oidc.py:38 msgid "" -"User attr map present how to map OpenID user attr to jumpserver, " -"username,name,email is jumpserver attr" +"User attr map present how to map OpenID user attr to jumpserver, username," +"name,email is jumpserver attr" msgstr "" -"用户属性映射代表怎样将OpenID中用户属性映射到jumpserver用户上,username, " -"name,email 是jumpserver的用户需要属性" +"用户属性映射代表怎样将OpenID中用户属性映射到jumpserver用户上,username, name," +"email 是jumpserver的用户需要属性" #: settings/serializers/auth/oidc.py:41 msgid "Enable PKCE" @@ -5475,6 +5484,7 @@ msgid "Business type(Service id)" msgstr "业务类型(Service id)" #: settings/serializers/auth/sms.py:80 +#, python-brace-format msgid "" "Template need contain {code} and Signature + template length does not exceed " "67 words. For example, your verification code is {code}, which is valid for " @@ -5484,6 +5494,7 @@ msgstr "" "{code}, 有效期为5分钟。请不要泄露给其他人。" #: settings/serializers/auth/sms.py:89 +#, python-brace-format msgid "The template needs to contain {code}" msgstr "模板需要包含 {code}" @@ -5529,8 +5540,8 @@ msgid "" "External URL, email links or other system callbacks are used to access it, " "eg: http://dev.jumpserver.org:8080" msgstr "" -"外部可访问的 URL, 用于邮件链接或其它系统回调, 例如: http://" -"dev.jumpserver.org:8080" +"外部可访问的 URL, 用于邮件链接或其它系统回调, 例如: http://dev.jumpserver." +"org:8080" #: settings/serializers/basic.py:18 msgid "User guide url" @@ -5801,6 +5812,7 @@ msgid "Create user email content" msgstr "邮件的内容" #: settings/serializers/msg.py:80 +#, python-brace-format msgid "" "Tips: When creating a user, send the content of the email, support " "{username} {name} {email} label" @@ -6542,7 +6554,7 @@ msgstr "会话不存在: {}" msgid "Session is finished or the protocol not supported" msgstr "会话已经完成或协议不支持" -#: terminal/api/session/session.py:337 tickets/api/ticket.py:140 +#: terminal/api/session/session.py:337 msgid "User does not have permission" msgstr "用户没有权限" @@ -9110,10 +9122,6 @@ msgstr "订阅 ID" msgid "Auto node classification" msgstr "自动节点分类" -#: xpack/plugins/cloud/serializers/account_attrs.py:93 -msgid "domain_name" -msgstr "启用网域" - #: xpack/plugins/cloud/serializers/account_attrs.py:99 #: xpack/plugins/cloud/serializers/account_attrs.py:103 #: xpack/plugins/cloud/serializers/account_attrs.py:127 @@ -9283,5 +9291,4 @@ msgstr "企业专业版" msgid "Ultimate edition" msgstr "企业旗舰版" -#~ msgid "Asset IP" -#~ msgstr "资产 IP" + diff --git a/apps/locale/zh_Hant/LC_MESSAGES/django.mo b/apps/locale/zh_Hant/LC_MESSAGES/django.mo index ca544c974..3de7a8dda 100644 --- a/apps/locale/zh_Hant/LC_MESSAGES/django.mo +++ b/apps/locale/zh_Hant/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d4d2709e597e055072474f08be2f363d43df239240051024a77213ba48ecfac -size 146366 +oid sha256:884dde4efaa8a8a80efee337248c6a7c1ff5fc83e486e34db685a1d20479e109 +size 146115 diff --git a/apps/locale/zh_Hant/LC_MESSAGES/django.po b/apps/locale/zh_Hant/LC_MESSAGES/django.po index c83fec78b..83c142859 100644 --- a/apps/locale/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locale/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-10-22 17:33+0800\n" +"POT-Creation-Date: 2025-08-26 17:23+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -23,7 +23,7 @@ msgstr "" msgid "The parameter 'action' must be [{}]" msgstr "參數 'action' 必須是 [{}]" -#: accounts/automations/change_secret/manager.py:225 +#: accounts/automations/change_secret/manager.py:226 #, python-format msgid "Success: %s, Failed: %s, Total: %s" msgstr "成功: %s, 失敗: %s, 總數: %s" @@ -85,7 +85,7 @@ msgstr "匿名帳號" msgid "Specified account" msgstr "指定帳號" -#: accounts/const/account.py:26 users/models/user.py:753 +#: accounts/const/account.py:26 users/models/user.py:769 msgid "Local" msgstr "資料庫" @@ -212,7 +212,7 @@ msgstr "僅創建" #: authentication/serializers/password_mfa.py:24 #: notifications/backends/__init__.py:10 settings/serializers/msg.py:22 #: settings/serializers/msg.py:64 users/forms/profile.py:100 -#: users/forms/profile.py:108 users/models/user.py:817 +#: users/forms/profile.py:108 users/models/user.py:833 #: users/templates/users/forgot_password.html:162 #: users/views/profile/reset.py:94 msgid "Email" @@ -276,7 +276,7 @@ msgstr "用戶 %s 查看/匯出 了密碼" #: assets/models/asset/common.py:350 assets/models/cmd_filter.py:36 #: audits/models.py:58 authentication/models/connection_token.py:36 #: perms/models/asset_permission.py:69 perms/serializers/permission.py:35 -#: terminal/backends/command/models.py:17 terminal/models/session/session.py:32 +#: terminal/backends/command/models.py:17 terminal/models/session/session.py:33 #: terminal/notifications.py:155 terminal/serializers/command.py:17 #: terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 @@ -304,7 +304,7 @@ msgid "historical Account" msgstr "帳號歷史" #: accounts/models/account.py:58 accounts/serializers/account/account.py:226 -#: users/models/user.py:860 +#: users/models/user.py:876 msgid "Source" msgstr "來源" @@ -321,7 +321,7 @@ msgstr "來源 ID" #: audits/models.py:59 authentication/api/connection_token.py:411 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: perms/serializers/permission.py:40 settings/serializers/msg.py:33 -#: terminal/backends/command/models.py:18 terminal/models/session/session.py:34 +#: terminal/backends/command/models.py:18 terminal/models/session/session.py:35 #: 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:86 @@ -393,7 +393,7 @@ msgstr "帳號備份計劃" #: ops/templates/ops/celery_task_log.html:75 #: perms/models/asset_permission.py:78 #: settings/templates/ldap/_msg_import_ldap_user.html:5 -#: terminal/models/applet/host.py:141 terminal/models/session/session.py:45 +#: terminal/models/applet/host.py:141 terminal/models/session/session.py:46 #: tickets/models/ticket/apply_application.py:30 #: tickets/models/ticket/apply_asset.py:19 msgid "Date start" @@ -508,7 +508,7 @@ msgstr "結束日期" #: accounts/models/automations/change_secret.py:44 #: assets/models/automations/base.py:113 audits/models.py:208 #: audits/serializers.py:54 ops/models/base.py:49 ops/models/job.py:234 -#: terminal/models/applet/applet.py:331 terminal/models/applet/host.py:140 +#: terminal/models/applet/applet.py:330 terminal/models/applet/host.py:140 #: terminal/models/component/status.py:30 #: terminal/models/virtualapp/virtualapp.py:99 #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 @@ -551,7 +551,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:813 +#: users/forms/profile.py:114 users/models/user.py:829 #: users/templates/users/_msg_user_created.html:12 #: xpack/plugins/cloud/serializers/account_attrs.py:26 msgid "Username" @@ -631,7 +631,7 @@ msgstr "密碼規則" #: assets/models/domain.py:19 assets/models/group.py:17 #: assets/models/label.py:18 assets/models/platform.py:15 #: assets/models/platform.py:94 assets/serializers/asset/common.py:149 -#: assets/serializers/platform.py:118 assets/serializers/platform.py:221 +#: assets/serializers/platform.py:121 assets/serializers/platform.py:224 #: authentication/backends/passkey/models.py:10 #: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 @@ -639,7 +639,7 @@ msgstr "密碼規則" #: ops/models/celery.py:80 ops/models/job.py:142 ops/models/playbook.py:28 #: ops/serializers/job.py:18 orgs/models.py:82 #: perms/models/asset_permission.py:61 rbac/models/role.py:29 -#: settings/models.py:33 settings/models.py:181 settings/serializers/msg.py:89 +#: settings/models.py:34 settings/models.py:182 settings/serializers/msg.py:89 #: terminal/models/applet/applet.py:34 terminal/models/component/endpoint.py:12 #: terminal/models/component/endpoint.py:109 #: terminal/models/component/storage.py:26 terminal/models/component/task.py:13 @@ -647,7 +647,7 @@ 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:815 +#: users/models/preference.py:11 users/models/user.py:831 #: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:281 #: xpack/plugins/cloud/serializers/task.py:70 msgid "Name" @@ -780,8 +780,8 @@ msgstr "帳號存在策略" #: accounts/serializers/account/account.py:204 applications/models.py:11 #: assets/models/label.py:21 assets/models/platform.py:95 #: assets/serializers/asset/common.py:125 assets/serializers/cagegory.py:12 -#: assets/serializers/platform.py:133 assets/serializers/platform.py:222 -#: perms/serializers/user_permission.py:26 settings/models.py:35 +#: assets/serializers/platform.py:136 assets/serializers/platform.py:225 +#: perms/serializers/user_permission.py:26 settings/models.py:36 #: tickets/models/ticket/apply_application.py:13 users/models/preference.py:12 msgid "Category" msgstr "類別" @@ -791,8 +791,8 @@ msgstr "類別" #: acls/serializers/command_acl.py:19 applications/models.py:14 #: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/cmd_filter.py:74 assets/models/platform.py:96 -#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:120 -#: assets/serializers/platform.py:132 audits/serializers.py:53 +#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:123 +#: assets/serializers/platform.py:135 audits/serializers.py:53 #: audits/serializers.py:170 #: authentication/serializers/connect_token_secret.py:126 ops/models/job.py:150 #: perms/serializers/user_permission.py:27 terminal/models/applet/applet.py:40 @@ -869,16 +869,16 @@ msgstr "ID" #: audits/serializers.py:171 authentication/models/connection_token.py:32 #: authentication/models/sso_token.py:16 #: notifications/models/notification.py:12 -#: perms/api/user_permission/mixin.py:55 perms/models/asset_permission.py:63 +#: perms/api/user_permission/mixin.py:59 perms/models/asset_permission.py:63 #: perms/serializers/permission.py:31 rbac/builtin.py:124 #: rbac/models/rolebinding.py:49 rbac/serializers/rolebinding.py:17 -#: terminal/backends/command/models.py:16 terminal/models/session/session.py:30 +#: terminal/backends/command/models.py:16 terminal/models/session/session.py:31 #: terminal/models/session/sharing.py:34 terminal/notifications.py:156 #: terminal/notifications.py:205 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:1020 -#: users/models/user.py:1058 users/serializers/group.py:21 +#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1036 +#: users/models/user.py:1074 users/serializers/group.py:21 msgid "User" msgstr "用戶" @@ -964,13 +964,13 @@ msgstr "關聯平台,可配置推送參數,如果不關聯,將使用默認 #: assets/models/cmd_filter.py:40 assets/models/cmd_filter.py:88 #: assets/models/group.py:20 common/db/models.py:36 ops/models/adhoc.py:26 #: ops/models/job.py:158 ops/models/playbook.py:31 rbac/models/role.py:37 -#: settings/models.py:38 terminal/models/applet/applet.py:46 -#: terminal/models/applet/applet.py:332 terminal/models/applet/host.py:143 +#: settings/models.py:39 terminal/models/applet/applet.py:46 +#: terminal/models/applet/applet.py:331 terminal/models/applet/host.py:143 #: terminal/models/component/endpoint.py:25 #: terminal/models/component/endpoint.py:119 -#: terminal/models/session/session.py:47 +#: terminal/models/session/session.py:48 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 -#: tickets/models/ticket/general.py:298 users/models/user.py:851 +#: tickets/models/ticket/general.py:298 users/models/user.py:867 #: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:108 msgid "Comment" msgstr "備註" @@ -1177,7 +1177,7 @@ msgstr "帳號管理" #: acls/models/command_acl.py:16 assets/models/cmd_filter.py:60 #: ops/serializers/job.py:70 terminal/const.py:86 -#: terminal/models/session/session.py:43 terminal/serializers/command.py:18 +#: terminal/models/session/session.py:44 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 #: terminal/templates/terminal/_msg_command_warning.html:23 @@ -1190,7 +1190,7 @@ msgid "Regex" msgstr "正則表達式" #: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79 -#: settings/models.py:182 settings/serializers/feature.py:19 +#: settings/models.py:183 settings/serializers/feature.py:19 #: xpack/plugins/license/models.py:30 msgid "Content" msgstr "內容" @@ -1289,12 +1289,18 @@ msgstr "組織 `{}` 不存在" msgid "None of the reviewers belong to Organization `{}`" msgstr "所有覆核人都不屬於組織 `{}`" -#: acls/serializers/rules/rules.py:20 +#: acls/serializers/rules/rules.py:22 #: xpack/plugins/cloud/serializers/task.py:145 msgid "IP address invalid: `{}`" msgstr "IP 地址無效: `{}`" -#: acls/serializers/rules/rules.py:25 +#: acls/serializers/rules/rules.py:35 +#, fuzzy +#| msgid "IP address invalid: `{}`" +msgid "address invalid: `{}`" +msgstr "IP 地址無效: `{}`" + +#: acls/serializers/rules/rules.py:40 msgid "" "With * indicating a match all. Such as: 192.168.10.1, 192.168.1.0/24, " "10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:db8:1a:1110::/64 " @@ -1302,7 +1308,7 @@ msgstr "" "* 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, 2001:" "db8:2de::e13, 2001:db8:1a:1110::/64" -#: acls/serializers/rules/rules.py:33 +#: acls/serializers/rules/rules.py:48 #: 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 @@ -1310,7 +1316,7 @@ msgstr "" msgid "IP" msgstr "IP" -#: acls/serializers/rules/rules.py:35 +#: acls/serializers/rules/rules.py:50 msgid "Time Period" msgstr "時段" @@ -1394,11 +1400,11 @@ msgstr "同級別節點名字不能重複" msgid "App assets" msgstr "資產管理" -#: assets/automations/base/manager.py:187 +#: assets/automations/base/manager.py:188 msgid "{} disabled" msgstr "{} 已禁用" -#: assets/automations/base/manager.py:250 +#: assets/automations/base/manager.py:252 msgid " - Platform {} ansible disabled" msgstr " - 平台 {} Ansible 已禁用, 無法執行任務" @@ -1417,7 +1423,7 @@ msgid "Unable to connect to port {port} on {address}" msgstr "無法連接到 {port} 上的埠 {address}" #: assets/automations/ping_gateway/manager.py:58 -#: authentication/middleware.py:94 xpack/plugins/cloud/providers/fc.py:47 +#: authentication/middleware.py:95 xpack/plugins/cloud/providers/fc.py:47 msgid "Authentication failed" msgstr "認證失敗" @@ -1694,18 +1700,18 @@ msgstr "SSH公鑰" #: assets/models/_user.py:28 assets/models/automations/base.py:114 #: assets/models/cmd_filter.py:41 assets/models/group.py:19 #: audits/models.py:269 common/db/models.py:34 ops/models/base.py:54 -#: ops/models/job.py:241 users/models/user.py:1059 +#: ops/models/job.py:241 users/models/user.py:1075 msgid "Date created" msgstr "創建日期" #: assets/models/_user.py:29 assets/models/cmd_filter.py:42 -#: common/db/models.py:35 users/models/user.py:869 +#: common/db/models.py:35 users/models/user.py:885 msgid "Date updated" msgstr "更新日期" #: assets/models/_user.py:30 assets/models/cmd_filter.py:44 #: assets/models/cmd_filter.py:91 assets/models/group.py:18 -#: common/db/models.py:32 users/models/user.py:858 +#: common/db/models.py:32 users/models/user.py:874 #: users/serializers/group.py:32 msgid "Created by" msgstr "創建者" @@ -1791,6 +1797,7 @@ msgid "Port" msgstr "埠" #: assets/models/asset/common.py:160 assets/serializers/asset/common.py:150 +#: terminal/serializers/endpoint.py:69 msgid "Address" msgstr "地址" @@ -1894,7 +1901,7 @@ msgstr "校驗日期" #: assets/models/cmd_filter.py:28 perms/models/asset_permission.py:66 #: perms/serializers/permission.py:33 users/models/group.py:25 -#: users/models/user.py:821 +#: users/models/user.py:837 msgid "User group" msgstr "用戶組" @@ -1935,7 +1942,7 @@ msgid "Asset group" msgstr "資產組" #: assets/models/group.py:31 assets/models/platform.py:19 -#: assets/serializers/platform.py:121 +#: assets/serializers/platform.py:124 #: xpack/plugins/cloud/providers/nutanix.py:30 msgid "Default" msgstr "默認" @@ -1944,7 +1951,7 @@ msgstr "默認" msgid "Default asset group" msgstr "默認資產組" -#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1044 +#: assets/models/label.py:15 rbac/const.py:6 users/models/user.py:1060 msgid "System" msgstr "系統" @@ -1953,14 +1960,14 @@ msgstr "系統" #: assets/serializers/cagegory.py:24 #: authentication/models/connection_token.py:29 #: authentication/serializers/connect_token_secret.py:125 -#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:34 +#: common/serializers/common.py:86 labels/models.py:12 settings/models.py:35 #: users/models/preference.py:13 msgid "Value" msgstr "值" #: assets/models/label.py:40 assets/serializers/cagegory.py:10 #: assets/serializers/cagegory.py:17 assets/serializers/cagegory.py:23 -#: assets/serializers/platform.py:119 +#: assets/serializers/platform.py:122 #: authentication/serializers/connect_token_secret.py:124 #: common/serializers/common.py:85 labels/models.py:17 labels/models.py:33 #: labels/serializers.py:45 settings/serializers/msg.py:90 @@ -2004,14 +2011,14 @@ msgstr "必須的" msgid "Public" msgstr "開放的" -#: assets/models/platform.py:21 assets/serializers/platform.py:49 +#: assets/models/platform.py:21 assets/serializers/platform.py:52 #: settings/serializers/settings.py:105 #: users/templates/users/reset_password.html:29 msgid "Setting" msgstr "設置" #: assets/models/platform.py:38 audits/const.py:59 -#: authentication/backends/passkey/models.py:11 settings/models.py:37 +#: authentication/backends/passkey/models.py:11 settings/models.py:38 #: terminal/serializers/applet_host.py:33 msgid "Enabled" msgstr "啟用" @@ -2020,11 +2027,11 @@ msgstr "啟用" msgid "Ansible config" msgstr "Ansible 配置" -#: assets/models/platform.py:41 assets/serializers/platform.py:33 +#: assets/models/platform.py:41 assets/serializers/platform.py:34 msgid "Ping enabled" msgstr "啟用資產探活" -#: assets/models/platform.py:42 assets/serializers/platform.py:34 +#: assets/models/platform.py:42 assets/serializers/platform.py:35 msgid "Ping method" msgstr "資產探活方式" @@ -2033,12 +2040,12 @@ msgid "Ping params" msgstr "資產探活參數" #: assets/models/platform.py:45 assets/models/platform.py:69 -#: assets/serializers/platform.py:35 +#: assets/serializers/platform.py:36 msgid "Gather facts enabled" msgstr "啟用收集資產資訊" #: assets/models/platform.py:47 assets/models/platform.py:71 -#: assets/serializers/platform.py:36 +#: assets/serializers/platform.py:37 msgid "Gather facts method" msgstr "收集資訊方式" @@ -2046,11 +2053,11 @@ msgstr "收集資訊方式" msgid "Gather facts params" msgstr "收集資訊參數" -#: assets/models/platform.py:51 assets/serializers/platform.py:39 +#: assets/models/platform.py:51 assets/serializers/platform.py:40 msgid "Change secret enabled" msgstr "啟用改密" -#: assets/models/platform.py:53 assets/serializers/platform.py:40 +#: assets/models/platform.py:53 assets/serializers/platform.py:41 msgid "Change secret method" msgstr "改密方式" @@ -2058,11 +2065,11 @@ msgstr "改密方式" msgid "Change secret params" msgstr "改密參數" -#: assets/models/platform.py:57 assets/serializers/platform.py:41 +#: assets/models/platform.py:57 assets/serializers/platform.py:42 msgid "Push account enabled" msgstr "啟用帳號推送" -#: assets/models/platform.py:59 assets/serializers/platform.py:42 +#: assets/models/platform.py:59 assets/serializers/platform.py:43 msgid "Push account method" msgstr "帳號推送方式" @@ -2070,11 +2077,11 @@ msgstr "帳號推送方式" msgid "Push account params" msgstr "帳號推送參數" -#: assets/models/platform.py:63 assets/serializers/platform.py:37 +#: assets/models/platform.py:63 assets/serializers/platform.py:38 msgid "Verify account enabled" msgstr "開啟帳號驗證" -#: assets/models/platform.py:65 assets/serializers/platform.py:38 +#: assets/models/platform.py:65 assets/serializers/platform.py:39 msgid "Verify account method" msgstr "帳號驗證方式" @@ -2082,11 +2089,11 @@ msgstr "帳號驗證方式" msgid "Verify account params" msgstr "帳號驗證參數" -#: assets/models/platform.py:75 +#: assets/models/platform.py:75 assets/serializers/platform.py:47 msgid "Remove account enabled" msgstr "開啟帳號移除" -#: assets/models/platform.py:77 +#: assets/models/platform.py:77 assets/serializers/platform.py:46 msgid "Remove account method" msgstr "帳號移除方式" @@ -2102,23 +2109,23 @@ msgstr "元數據" msgid "Internal" msgstr "內建" -#: assets/models/platform.py:102 assets/serializers/platform.py:131 +#: assets/models/platform.py:102 assets/serializers/platform.py:134 msgid "Charset" msgstr "編碼" -#: assets/models/platform.py:104 assets/serializers/platform.py:160 +#: assets/models/platform.py:104 assets/serializers/platform.py:163 msgid "Domain enabled" msgstr "啟用網域" -#: assets/models/platform.py:106 assets/serializers/platform.py:159 +#: assets/models/platform.py:106 assets/serializers/platform.py:162 msgid "Su enabled" msgstr "啟用帳號切換" -#: assets/models/platform.py:107 assets/serializers/platform.py:137 +#: assets/models/platform.py:107 assets/serializers/platform.py:140 msgid "Su method" msgstr "帳號切換方式" -#: assets/models/platform.py:108 assets/serializers/platform.py:140 +#: assets/models/platform.py:108 assets/serializers/platform.py:143 msgid "Custom fields" msgstr "自訂屬性" @@ -2133,7 +2140,7 @@ msgid "" "type" msgstr "資產中批次更新平台,不符合平台類型跳過的資產" -#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:134 +#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:137 #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:41 @@ -2246,7 +2253,7 @@ msgstr "約束" msgid "Types" msgstr "類型" -#: assets/serializers/domain.py:62 perms/serializers/permission.py:178 +#: assets/serializers/domain.py:62 perms/serializers/permission.py:181 msgid "Assets amount" msgstr "資產數量" @@ -2262,59 +2269,59 @@ msgstr "值" msgid "Can't contains: /" msgstr "不能包含: /" -#: assets/serializers/platform.py:43 +#: assets/serializers/platform.py:44 msgid "Gather accounts enabled" msgstr "啟用帳號收集" -#: assets/serializers/platform.py:44 +#: assets/serializers/platform.py:45 msgid "Gather accounts method" msgstr "收集帳號方式" -#: assets/serializers/platform.py:50 +#: assets/serializers/platform.py:53 msgid "Port from addr" msgstr "埠來自地址" -#: assets/serializers/platform.py:62 +#: assets/serializers/platform.py:65 msgid "" "This protocol is primary, and it must be set when adding assets. " "Additionally, there can only be one primary protocol." msgstr "該協議是主要的,添加資產時必須設置。並且只能有一個主要協議" -#: assets/serializers/platform.py:67 +#: assets/serializers/platform.py:70 msgid "This protocol is required, and it must be set when adding assets." msgstr "該協議是必填的,添加資產時必須設置" -#: assets/serializers/platform.py:70 +#: assets/serializers/platform.py:73 msgid "" "This protocol is default, when adding assets, it will be displayed by " "default." msgstr "該協議是預設的,添加資產時,將默認顯示" -#: assets/serializers/platform.py:73 +#: assets/serializers/platform.py:76 msgid "This protocol is public, asset will show this protocol to user" msgstr "該協議是公開的,資產將向用戶顯示該協議並可以連接使用" -#: assets/serializers/platform.py:122 +#: assets/serializers/platform.py:125 msgid "Help text" msgstr "幫助" -#: assets/serializers/platform.py:123 +#: assets/serializers/platform.py:126 msgid "Choices" msgstr "選擇" -#: assets/serializers/platform.py:135 +#: assets/serializers/platform.py:138 msgid "Automation" msgstr "自動化" -#: assets/serializers/platform.py:161 +#: assets/serializers/platform.py:164 msgid "Default Domain" msgstr "默認網域" -#: assets/serializers/platform.py:182 +#: assets/serializers/platform.py:185 msgid "type is required" msgstr "類型 該欄位是必填項。" -#: assets/serializers/platform.py:197 +#: assets/serializers/platform.py:200 msgid "Protocols is required" msgstr "協議是必填的" @@ -2430,7 +2437,7 @@ msgstr "重命名" msgid "Symlink" msgstr "建立軟連結" -#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:149 +#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:150 msgid "Download" msgstr "下載" @@ -2438,7 +2445,7 @@ msgstr "下載" msgid "Rename dir" msgstr "映射目錄" -#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:277 +#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:281 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 msgid "View" @@ -2521,7 +2528,7 @@ msgid "Job audit log" msgstr "作業審計日誌" #: audits/models.py:56 audits/models.py:100 audits/models.py:175 -#: terminal/models/session/session.py:39 terminal/models/session/sharing.py:113 +#: terminal/models/session/session.py:40 terminal/models/session/sharing.py:113 msgid "Remote addr" msgstr "遠端地址" @@ -2599,8 +2606,8 @@ 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:838 -#: users/serializers/profile.py:102 +#: users/forms/profile.py:63 users/models/user.py:854 +#: users/serializers/profile.py:103 msgid "MFA" msgstr "MFA" @@ -2648,7 +2655,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:856 +#: tickets/models/ticket/apply_asset.py:20 users/models/user.py:872 msgid "Date expired" msgstr "失效日期" @@ -2681,29 +2688,29 @@ msgstr "認證令牌" #: audits/signal_handlers/login_log.py:37 authentication/notifications.py:73 #: authentication/views/login.py:77 notifications/backends/__init__.py:11 -#: settings/serializers/auth/wecom.py:10 users/models/user.py:760 -#: users/models/user.py:870 +#: settings/serializers/auth/wecom.py:10 users/models/user.py:776 +#: users/models/user.py:886 msgid "WeCom" msgstr "企業微信" #: audits/signal_handlers/login_log.py:38 authentication/views/feishu.py:97 #: authentication/views/login.py:89 notifications/backends/__init__.py:14 -#: settings/serializers/auth/feishu.py:10 users/models/user.py:762 -#: users/models/user.py:872 +#: settings/serializers/auth/feishu.py:10 users/models/user.py:778 +#: users/models/user.py:888 msgid "FeiShu" msgstr "飛書" #: audits/signal_handlers/login_log.py:40 authentication/views/login.py:101 #: authentication/views/slack.py:79 notifications/backends/__init__.py:16 -#: settings/serializers/auth/slack.py:10 users/models/user.py:764 -#: users/models/user.py:874 +#: settings/serializers/auth/slack.py:10 users/models/user.py:780 +#: users/models/user.py:890 msgid "Slack" msgstr "" #: audits/signal_handlers/login_log.py:41 authentication/views/dingtalk.py:153 #: authentication/views/login.py:83 notifications/backends/__init__.py:12 -#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:761 -#: users/models/user.py:871 +#: settings/serializers/auth/dingtalk.py:10 users/models/user.py:777 +#: users/models/user.py:887 msgid "DingTalk" msgstr "釘釘" @@ -2766,7 +2773,7 @@ msgstr "ACL 動作是覆核" msgid "Current user not support mfa type: {}" msgstr "當前用戶不支持 MFA 類型: {}" -#: authentication/api/password.py:33 terminal/api/session/session.py:325 +#: authentication/api/password.py:33 terminal/api/session/session.py:329 #: users/views/profile/reset.py:63 msgid "User does not exist: {}" msgstr "用戶不存在: {}" @@ -2795,7 +2802,7 @@ msgid "Authentication" msgstr "認證" #: authentication/backends/custom.py:59 -#: authentication/backends/oauth2/backends.py:173 +#: authentication/backends/oauth2/backends.py:158 msgid "User invalid, disabled or expired" msgstr "用戶無效,已禁用或已過期" @@ -3007,15 +3014,15 @@ msgstr "您的密碼無效" msgid "Please wait for %s seconds before retry" msgstr "請在 %s 秒後重試" -#: authentication/errors/redirect.py:85 authentication/mixins.py:323 +#: authentication/errors/redirect.py:85 authentication/mixins.py:325 msgid "Your password is too simple, please change it for security" msgstr "你的密碼過於簡單,為了安全,請修改" -#: authentication/errors/redirect.py:93 authentication/mixins.py:330 +#: authentication/errors/redirect.py:93 authentication/mixins.py:334 msgid "You should to change your password before login" msgstr "登錄完成前,請先修改密碼" -#: authentication/errors/redirect.py:101 authentication/mixins.py:337 +#: authentication/errors/redirect.py:101 authentication/mixins.py:343 msgid "Your password has expired, please reset before logging in" msgstr "您的密碼已過期,先修改再登錄" @@ -3112,7 +3119,7 @@ msgstr "設置手機號碼啟用" msgid "Clear phone number to disable" msgstr "清空手機號碼禁用" -#: authentication/middleware.py:95 settings/utils/ldap.py:679 +#: authentication/middleware.py:96 settings/utils/ldap.py:679 msgid "Authentication failed (before login check failed): {}" msgstr "認證失敗 (登錄前檢查失敗): {}" @@ -3327,13 +3334,13 @@ msgid "Show" msgstr "顯示" #: authentication/templates/authentication/_access_key_modal.html:66 -#: users/const.py:42 users/models/user.py:655 users/serializers/profile.py:92 +#: users/const.py:42 users/models/user.py:671 users/serializers/profile.py:93 #: users/templates/users/user_verify_mfa.html:36 msgid "Disable" msgstr "禁用" #: authentication/templates/authentication/_access_key_modal.html:67 -#: users/const.py:43 users/models/user.py:656 users/serializers/profile.py:93 +#: users/const.py:43 users/models/user.py:672 users/serializers/profile.py:94 #: users/templates/users/mfa_setting.html:26 #: users/templates/users/mfa_setting.html:68 msgid "Enable" @@ -3372,7 +3379,7 @@ msgstr "代碼錯誤" #: authentication/templates/authentication/_msg_reset_password_code.html:9 #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 -#: jumpserver/conf.py:465 +#: jumpserver/conf.py:468 #: perms/templates/perms/_msg_item_permissions_expire.html:3 #: perms/templates/perms/_msg_permed_items_expire.html:3 #: tickets/templates/tickets/approve_check_password.html:32 @@ -3692,7 +3699,7 @@ msgstr "從企業微信獲取用戶失敗" msgid "Please login with a password and then bind the WeCom" msgstr "請使用密碼登錄,然後綁定企業微信" -#: common/api/action.py:51 +#: common/api/action.py:62 msgid "Request file format may be wrong" msgstr "上傳的檔案格式錯誤 或 其它類型資源的文件" @@ -3779,8 +3786,8 @@ msgstr "無效的ID,應為列表" #: common/db/fields.py:594 common/db/fields.py:599 #: common/serializers/fields.py:133 tickets/serializers/ticket/common.py:58 #: xpack/plugins/cloud/serializers/account_attrs.py:56 -#: xpack/plugins/cloud/serializers/account_attrs.py:79 -#: xpack/plugins/cloud/serializers/account_attrs.py:150 +#: xpack/plugins/cloud/serializers/account_attrs.py:80 +#: xpack/plugins/cloud/serializers/account_attrs.py:151 msgid "This field is required." msgstr "該欄位是必填項。" @@ -3800,7 +3807,7 @@ msgstr "忽略的" msgid "discard time" msgstr "忽略時間" -#: common/db/models.py:33 users/models/user.py:859 +#: common/db/models.py:33 users/models/user.py:875 msgid "Updated by" msgstr "最後更新者" @@ -4019,16 +4026,16 @@ msgstr "不能包含特殊字元" msgid "The mobile phone number format is incorrect" msgstr "手機號碼格式不正確" -#: jumpserver/conf.py:459 +#: jumpserver/conf.py:462 #, python-brace-format msgid "The verification code is: {code}" msgstr "驗證碼為: {code}" -#: jumpserver/conf.py:464 +#: jumpserver/conf.py:467 msgid "Create account successfully" msgstr "創建帳號成功" -#: jumpserver/conf.py:466 +#: jumpserver/conf.py:469 msgid "Your account has been created successfully" msgstr "你的帳號已創建成功" @@ -4472,31 +4479,31 @@ msgstr "花費時間" msgid "You do not have permission for the current job." msgstr "你沒有當前作業的權限。" -#: ops/tasks.py:50 +#: ops/tasks.py:52 msgid "Run ansible task" msgstr "運行 Ansible 任務" -#: ops/tasks.py:76 +#: ops/tasks.py:79 msgid "Run ansible task execution" msgstr "開始執行 Ansible 任務" -#: ops/tasks.py:89 +#: ops/tasks.py:94 msgid "Clear celery periodic tasks" msgstr "清理週期任務" -#: ops/tasks.py:110 +#: ops/tasks.py:115 msgid "Create or update periodic tasks" msgstr "創建或更新週期任務" -#: ops/tasks.py:118 +#: ops/tasks.py:123 msgid "Periodic check service performance" msgstr "週期檢測服務性能" -#: ops/tasks.py:124 +#: ops/tasks.py:129 msgid "Clean up unexpected jobs" msgstr "清理異常作業" -#: ops/tasks.py:131 +#: ops/tasks.py:136 msgid "Clean job_execution db record" msgstr "清理作業中心執行歷史" @@ -4587,7 +4594,7 @@ msgstr "默認組織" msgid "SYSTEM" msgstr "系統組織" -#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:183 +#: orgs/models.py:83 rbac/models/role.py:36 settings/models.py:184 #: terminal/models/applet/applet.py:42 msgid "Builtin" msgstr "內建的" @@ -4705,16 +4712,16 @@ msgstr "資產授權規則將要過期" msgid "asset permissions of organization {}" msgstr "組織 ({}) 的資產授權" -#: perms/serializers/permission.py:176 rbac/serializers/role.py:27 +#: perms/serializers/permission.py:179 rbac/serializers/role.py:27 #: users/serializers/group.py:54 users/serializers/group.py:60 msgid "Users amount" msgstr "用戶數量" -#: perms/serializers/permission.py:177 +#: perms/serializers/permission.py:180 msgid "User groups amount" msgstr "用戶組數量" -#: perms/serializers/permission.py:179 +#: perms/serializers/permission.py:182 msgid "Nodes amount" msgstr "節點數量" @@ -4820,7 +4827,7 @@ msgid "Scope" msgstr "範圍" #: rbac/models/role.py:46 rbac/models/rolebinding.py:52 -#: users/models/user.py:825 +#: users/models/user.py:841 msgid "Role" msgstr "角色" @@ -4854,7 +4861,7 @@ msgstr "組織角色綁定" msgid "System role binding" msgstr "系統角色綁定" -#: rbac/serializers/permission.py:25 users/serializers/profile.py:108 +#: rbac/serializers/permission.py:25 users/serializers/profile.py:109 msgid "Perms" msgstr "權限" @@ -4883,7 +4890,7 @@ msgstr "工作檯" msgid "Audit view" msgstr "審計台" -#: rbac/tree.py:27 settings/models.py:159 +#: rbac/tree.py:27 settings/models.py:160 msgid "System setting" msgstr "系統設置" @@ -4920,7 +4927,7 @@ msgid "My assets" msgstr "我的資產" #: rbac/tree.py:58 terminal/models/applet/applet.py:53 -#: terminal/models/applet/applet.py:328 terminal/models/applet/host.py:30 +#: terminal/models/applet/applet.py:327 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "遠程應用" @@ -4973,75 +4980,75 @@ msgstr "測試手機號碼 該欄位是必填項。" msgid "Settings" msgstr "系統設置" -#: settings/models.py:36 users/models/preference.py:14 +#: settings/models.py:37 users/models/preference.py:14 msgid "Encrypted" msgstr "加密的" -#: settings/models.py:161 +#: settings/models.py:162 msgid "Can change email setting" msgstr "郵件設置" -#: settings/models.py:162 +#: settings/models.py:163 msgid "Can change auth setting" msgstr "認證設置" -#: settings/models.py:163 +#: settings/models.py:164 msgid "Can change auth ops" msgstr "任務中心設置" -#: settings/models.py:164 +#: settings/models.py:165 msgid "Can change auth ticket" msgstr "工單設置" -#: settings/models.py:165 +#: settings/models.py:166 msgid "Can change virtual app setting" msgstr "可以更改虛擬應用設定" -#: settings/models.py:166 +#: settings/models.py:167 msgid "Can change auth announcement" msgstr "公告設置" -#: settings/models.py:167 +#: settings/models.py:168 msgid "Can change vault setting" msgstr "可以更改 vault 設置" -#: settings/models.py:168 +#: settings/models.py:169 msgid "Can change chat ai setting" msgstr "可以修改聊天 AI 設置" -#: settings/models.py:169 +#: settings/models.py:170 msgid "Can change system msg sub setting" msgstr "消息訂閱設置" -#: settings/models.py:170 +#: settings/models.py:171 msgid "Can change sms setting" msgstr "簡訊設置" -#: settings/models.py:171 +#: settings/models.py:172 msgid "Can change security setting" msgstr "安全設定" -#: settings/models.py:172 +#: settings/models.py:173 msgid "Can change clean setting" msgstr "定期清理" -#: settings/models.py:173 +#: settings/models.py:174 msgid "Can change interface setting" msgstr "界面設置" -#: settings/models.py:174 +#: settings/models.py:175 msgid "Can change license setting" msgstr "許可證設置" -#: settings/models.py:175 +#: settings/models.py:176 msgid "Can change terminal setting" msgstr "終端設置" -#: settings/models.py:176 +#: settings/models.py:177 msgid "Can change other setting" msgstr "其它設置" -#: settings/models.py:186 +#: settings/models.py:187 msgid "Chat prompt" msgstr "聊天提示" @@ -5519,7 +5526,7 @@ msgid "SSO auth key TTL" msgstr "令牌有效期" #: settings/serializers/auth/sso.py:20 -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Unit: second" msgstr "單位: 秒" @@ -6178,7 +6185,7 @@ msgid "Sync task Finish" msgstr "同步任務完成" #: settings/templates/ldap/_msg_import_ldap_user.html:6 -#: terminal/models/session/session.py:46 +#: terminal/models/session/session.py:47 msgid "Date end" msgstr "結束日期" @@ -6295,9 +6302,9 @@ msgstr "認證成功: {}" msgid "Get ldap users is None" msgstr "獲取 LDAP 用戶為 None" -#: settings/ws.py:205 -msgid "Imported {} users successfully (Organization: {})" -msgstr "成功匯入 {} 個用戶 ( 組織: {} )" +#: settings/ws.py:201 +msgid "Total {}, success {}, failure {}" +msgstr "" #: templates/_csv_import_export.html:8 msgid "Export" @@ -6533,24 +6540,24 @@ msgstr "測試成功" msgid "Test failure: Please check configuration" msgstr "測試失敗:請檢查配置" -#: terminal/api/component/terminal.py:55 +#: terminal/api/component/terminal.py:57 msgid "Have online sessions" msgstr "有在線會話" -#: terminal/api/session/session.py:48 +#: terminal/api/session/session.py:49 #, python-format msgid "User %s %s session %s replay" msgstr "用戶 %s %s 了會話 %s 的錄影" -#: terminal/api/session/session.py:317 +#: terminal/api/session/session.py:321 msgid "Session does not exist: {}" msgstr "會話不存在: {}" -#: terminal/api/session/session.py:320 +#: terminal/api/session/session.py:324 msgid "Session is finished or the protocol not supported" msgstr "會話已經完成或協議不支持" -#: terminal/api/session/session.py:333 +#: terminal/api/session/session.py:337 msgid "User does not have permission" msgstr "用戶沒有權限" @@ -6732,12 +6739,12 @@ msgstr "只支持自訂平台" msgid "Missing type in platform.yml" msgstr "在 platform.yml 中缺少類型" -#: terminal/models/applet/applet.py:330 terminal/models/applet/host.py:36 +#: terminal/models/applet/applet.py:329 terminal/models/applet/host.py:36 #: terminal/models/applet/host.py:138 msgid "Hosting" msgstr "宿主機" -#: terminal/models/applet/applet.py:336 +#: terminal/models/applet/applet.py:335 msgid "Applet publication" msgstr "應用發布" @@ -6899,43 +6906,43 @@ msgstr "可以上傳會話錄影" msgid "Can download session replay" msgstr "可以下載會話錄影" -#: terminal/models/session/session.py:35 +#: terminal/models/session/session.py:36 msgid "Account id" msgstr "帳號 ID" -#: terminal/models/session/session.py:37 terminal/models/session/sharing.py:118 +#: terminal/models/session/session.py:38 terminal/models/session/sharing.py:118 msgid "Login from" msgstr "登錄來源" -#: terminal/models/session/session.py:42 +#: terminal/models/session/session.py:43 msgid "Replay" msgstr "重播" -#: terminal/models/session/session.py:48 terminal/serializers/session.py:78 +#: terminal/models/session/session.py:49 terminal/serializers/session.py:78 msgid "Command amount" msgstr "命令數量" -#: terminal/models/session/session.py:49 terminal/serializers/session.py:30 +#: terminal/models/session/session.py:50 terminal/serializers/session.py:30 msgid "Error reason" msgstr "錯誤原因" -#: terminal/models/session/session.py:290 +#: terminal/models/session/session.py:292 msgid "Session record" msgstr "會話記錄" -#: terminal/models/session/session.py:292 +#: terminal/models/session/session.py:294 msgid "Can monitor session" msgstr "可以監控會話" -#: terminal/models/session/session.py:293 +#: terminal/models/session/session.py:295 msgid "Can share session" msgstr "可以分享會話" -#: terminal/models/session/session.py:294 +#: terminal/models/session/session.py:296 msgid "Can terminate session" msgstr "可以終斷會話" -#: terminal/models/session/session.py:295 +#: terminal/models/session/session.py:297 msgid "Can validate session action perm" msgstr "可以驗證會話動作權限" @@ -7225,9 +7232,13 @@ msgstr "" "修改主機)" #: terminal/serializers/endpoint.py:64 +#, fuzzy +#| msgid "" +#| "The assets within this IP range, the following endpoint will be used for " +#| "the connection" msgid "" -"The assets within this IP range, the following endpoint will be used for the " -"connection" +"The assets within this IP range or Host, the following endpoint will be used " +"for the connection" msgstr "該 IP 範圍內的資產,將使用下面的端點進行連接" #: terminal/serializers/endpoint.py:65 @@ -7235,10 +7246,6 @@ msgid "" "If asset IP addresses under different endpoints conflict, use asset labels" msgstr "如果不同端點下的資產 IP 有衝突,使用資產標籤實現" -#: terminal/serializers/endpoint.py:69 -msgid "Asset IP" -msgstr "資產 IP" - #: terminal/serializers/session.py:25 terminal/serializers/session.py:53 msgid "Can replay" msgstr "是否可重放" @@ -7310,8 +7317,8 @@ msgstr "端點後綴" msgid "HOST" msgstr "主機" -#: terminal/serializers/storage.py:146 users/models/user.py:845 -#: xpack/plugins/cloud/serializers/account_attrs.py:213 +#: terminal/serializers/storage.py:146 users/models/user.py:861 +#: xpack/plugins/cloud/serializers/account_attrs.py:214 msgid "Private key" msgstr "ssh私鑰" @@ -7729,7 +7736,7 @@ msgstr "工單快照" msgid "Please try again" msgstr "請再次嘗試" -#: tickets/models/ticket/general.py:481 +#: tickets/models/ticket/general.py:484 msgid "Super ticket" msgstr "超級工單" @@ -8022,13 +8029,13 @@ msgstr "複製你的公鑰到這裡" msgid "Public key should not be the same as your old one." msgstr "不能和原來的金鑰相同" -#: users/forms/profile.py:161 users/serializers/profile.py:76 -#: users/serializers/profile.py:164 users/serializers/profile.py:191 +#: users/forms/profile.py:161 users/serializers/profile.py:77 +#: users/serializers/profile.py:165 users/serializers/profile.py:192 msgid "Not a valid ssh public key" msgstr "SSH金鑰不合法" -#: users/forms/profile.py:172 users/models/user.py:848 -#: xpack/plugins/cloud/serializers/account_attrs.py:210 +#: users/forms/profile.py:172 users/models/user.py:864 +#: xpack/plugins/cloud/serializers/account_attrs.py:211 msgid "Public key" msgstr "SSH公鑰" @@ -8036,78 +8043,78 @@ msgstr "SSH公鑰" msgid "Preference" msgstr "用戶設置" -#: users/models/user.py:657 users/serializers/profile.py:94 +#: users/models/user.py:673 users/serializers/profile.py:95 msgid "Force enable" msgstr "強制啟用" -#: users/models/user.py:763 +#: users/models/user.py:779 msgid "Lark" msgstr "" -#: users/models/user.py:827 users/serializers/user.py:177 +#: users/models/user.py:843 users/serializers/user.py:177 msgid "Is service account" msgstr "服務帳號" -#: users/models/user.py:829 +#: users/models/user.py:845 msgid "Avatar" msgstr "頭像" -#: users/models/user.py:832 +#: users/models/user.py:848 msgid "Wechat" msgstr "微信" -#: users/models/user.py:835 users/serializers/user.py:113 +#: users/models/user.py:851 users/serializers/user.py:113 msgid "Phone" msgstr "手機" -#: users/models/user.py:841 +#: users/models/user.py:857 msgid "OTP secret key" msgstr "OTP 金鑰" # msgid "Private key" # msgstr "ssh私鑰" -#: users/models/user.py:853 users/serializers/profile.py:128 +#: users/models/user.py:869 users/serializers/profile.py:129 #: users/serializers/user.py:174 msgid "Is first login" msgstr "首次登錄" -#: users/models/user.py:863 +#: users/models/user.py:879 msgid "Date password last updated" msgstr "最後更新密碼日期" -#: users/models/user.py:866 +#: users/models/user.py:882 msgid "Need update password" msgstr "需要更新密碼" -#: users/models/user.py:868 +#: users/models/user.py:884 msgid "Date api key used" msgstr "Api key 最後使用日期" -#: users/models/user.py:1001 +#: users/models/user.py:1017 msgid "Can not delete admin user" msgstr "無法刪除管理員用戶" -#: users/models/user.py:1029 +#: users/models/user.py:1045 msgid "Can invite user" msgstr "可以邀請用戶" -#: users/models/user.py:1030 +#: users/models/user.py:1046 msgid "Can remove user" msgstr "可以移除用戶" -#: users/models/user.py:1031 +#: users/models/user.py:1047 msgid "Can match user" msgstr "可以匹配用戶" -#: users/models/user.py:1040 +#: users/models/user.py:1056 msgid "Administrator" msgstr "管理員" -#: users/models/user.py:1043 +#: users/models/user.py:1059 msgid "Administrator is the super user of system" msgstr "Administrator是初始的超級管理員" -#: users/models/user.py:1068 +#: users/models/user.py:1084 msgid "User password history" msgstr "用戶密碼歷史" @@ -8158,7 +8165,7 @@ msgstr "文件加密密碼" msgid "Confirm file encryption password" msgstr "確認文件加密密碼" -#: users/serializers/preference/lina.py:31 users/serializers/profile.py:48 +#: users/serializers/preference/lina.py:31 users/serializers/profile.py:49 msgid "The newly set password is inconsistent" msgstr "兩次密碼不一致" @@ -8225,15 +8232,15 @@ msgstr "圖形化" msgid "Command line" msgstr "命令行" -#: users/serializers/profile.py:29 +#: users/serializers/profile.py:30 msgid "The old password is incorrect" msgstr "舊密碼錯誤" -#: users/serializers/profile.py:36 users/serializers/profile.py:178 +#: users/serializers/profile.py:37 users/serializers/profile.py:179 msgid "Password does not match security rules" msgstr "密碼不滿足安全規則" -#: users/serializers/profile.py:40 +#: users/serializers/profile.py:41 msgid "The new password cannot be the last {} passwords" msgstr "新密碼不能是最近 {} 次的密碼" @@ -9120,51 +9127,55 @@ msgstr "租戶 ID" msgid "Subscription ID" msgstr "訂閱 ID" -#: xpack/plugins/cloud/serializers/account_attrs.py:98 -#: xpack/plugins/cloud/serializers/account_attrs.py:102 -#: xpack/plugins/cloud/serializers/account_attrs.py:126 -#: xpack/plugins/cloud/serializers/account_attrs.py:156 -#: xpack/plugins/cloud/serializers/account_attrs.py:206 +#: xpack/plugins/cloud/serializers/account_attrs.py:74 +msgid "Auto node classification" +msgstr "自動節點分類" + +#: xpack/plugins/cloud/serializers/account_attrs.py:99 +#: xpack/plugins/cloud/serializers/account_attrs.py:103 +#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:157 +#: xpack/plugins/cloud/serializers/account_attrs.py:207 msgid "API Endpoint" msgstr "API 端點" -#: xpack/plugins/cloud/serializers/account_attrs.py:108 +#: xpack/plugins/cloud/serializers/account_attrs.py:109 msgid "Auth url" msgstr "認證地址" -#: xpack/plugins/cloud/serializers/account_attrs.py:109 +#: xpack/plugins/cloud/serializers/account_attrs.py:110 msgid "eg: http://openstack.example.com:5000/v3" msgstr "如: http://openstack.example.com:5000/v3" -#: xpack/plugins/cloud/serializers/account_attrs.py:112 +#: xpack/plugins/cloud/serializers/account_attrs.py:113 msgid "User domain" msgstr "用戶域" -#: xpack/plugins/cloud/serializers/account_attrs.py:127 +#: xpack/plugins/cloud/serializers/account_attrs.py:128 msgid "Cert File" msgstr "證書文件" -#: xpack/plugins/cloud/serializers/account_attrs.py:128 +#: xpack/plugins/cloud/serializers/account_attrs.py:129 msgid "Key File" msgstr "金鑰文件" -#: xpack/plugins/cloud/serializers/account_attrs.py:144 +#: xpack/plugins/cloud/serializers/account_attrs.py:145 msgid "Service account key" msgstr "服務帳號金鑰" -#: xpack/plugins/cloud/serializers/account_attrs.py:145 +#: xpack/plugins/cloud/serializers/account_attrs.py:146 msgid "The file is in JSON format" msgstr "JSON 格式的文件" -#: xpack/plugins/cloud/serializers/account_attrs.py:163 +#: xpack/plugins/cloud/serializers/account_attrs.py:164 msgid "IP address invalid `{}`, {}" msgstr "IP 地址無效: `{}`, {}" -#: xpack/plugins/cloud/serializers/account_attrs.py:179 +#: xpack/plugins/cloud/serializers/account_attrs.py:180 msgid "Such as: 192.168.1.0/24, 10.0.0.0-10.0.0.255" msgstr "例: 192.168.1.0/24,10.0.0.0-10.0.0.255" -#: xpack/plugins/cloud/serializers/account_attrs.py:182 +#: xpack/plugins/cloud/serializers/account_attrs.py:183 msgid "" "The port is used to detect the validity of the IP address. When the " "synchronization task is executed, only the valid IP address will be " @@ -9173,23 +9184,23 @@ msgstr "" "埠用來檢測 IP 地址的有效性,在同步任務執行時,只會同步有效的 IP 地址。
如" "果埠為 0,則表示所有 IP 地址均有效。" -#: xpack/plugins/cloud/serializers/account_attrs.py:190 +#: xpack/plugins/cloud/serializers/account_attrs.py:191 msgid "Hostname prefix" msgstr "主機名前綴" -#: xpack/plugins/cloud/serializers/account_attrs.py:193 +#: xpack/plugins/cloud/serializers/account_attrs.py:194 msgid "IP segment" msgstr "IP 網段" -#: xpack/plugins/cloud/serializers/account_attrs.py:197 +#: xpack/plugins/cloud/serializers/account_attrs.py:198 msgid "Test port" msgstr "測試埠" -#: xpack/plugins/cloud/serializers/account_attrs.py:200 +#: xpack/plugins/cloud/serializers/account_attrs.py:201 msgid "Test timeout" msgstr "測試超時時間" -#: xpack/plugins/cloud/serializers/account_attrs.py:216 +#: xpack/plugins/cloud/serializers/account_attrs.py:217 msgid "Project" msgstr "project" @@ -9289,6 +9300,18 @@ msgstr "企業專業版" msgid "Ultimate edition" msgstr "企業旗艦版" -#: xpack/plugins/cloud/serializers/account_attrs.py:74 -msgid "Auto node classification" -msgstr "自動節點分類" +#, fuzzy +#~| msgid "Remove account enabled" +#~ msgid "Remove accounts enabled" +#~ msgstr "開啟帳號移除" + +#, fuzzy +#~| msgid "Enable announcement" +#~ msgid "Enable account remove" +#~ msgstr "啟用公告" + +#~ msgid "Imported {} users successfully (Organization: {})" +#~ msgstr "成功匯入 {} 個用戶 ( 組織: {} )" + +#~ msgid "Asset IP" +#~ msgstr "資產 IP"