From 5b548d8d57cbbe070462729f7dc4e1081a457e52 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:48:48 +0800 Subject: [PATCH] perf: Translate (#13450) Co-authored-by: feng <1304903146@qq.com> --- apps/i18n/core/en/LC_MESSAGES/django.po | 439 +++++++++++++----------- apps/i18n/core/ja/LC_MESSAGES/django.po | 223 ++++++------ apps/i18n/core/zh/LC_MESSAGES/django.po | 223 ++++++------ apps/i18n/lina/en.json | 3 +- apps/i18n/lina/zh.json | 3 +- apps/settings/serializers/feature.py | 1 - 6 files changed, 499 insertions(+), 393 deletions(-) diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index fef0f8ecb..45373baeb 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/apps/i18n/core/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-12 18:25+0800\n" +"POT-Creation-Date: 2024-06-19 10:43+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgstr "" msgid "Skip" msgstr "" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:239 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:267 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "" @@ -284,7 +284,7 @@ msgstr "" #: terminal/serializers/command.py:17 terminal/serializers/session.py:28 #: terminal/templates/terminal/_msg_command_warning.html:4 #: terminal/templates/terminal/_msg_session_sharing.html:4 -#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:268 +#: tickets/models/ticket/apply_asset.py:16 xpack/plugins/cloud/models.py:269 msgid "Asset" msgstr "" @@ -323,8 +323,8 @@ msgstr "" #: terminal/models/session/session.py:34 terminal/serializers/command.py:72 #: 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:99 -#: xpack/plugins/cloud/ws.py:38 +#: tickets/models/ticket/command_confirm.py:13 +#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 msgid "Account" msgstr "" @@ -419,7 +419,7 @@ msgstr "" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 #: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 -#: xpack/plugins/cloud/models.py:220 +#: xpack/plugins/cloud/models.py:221 msgid "Reason" msgstr "" @@ -514,8 +514,8 @@ msgstr "" #: terminal/serializers/applet.py:18 terminal/serializers/applet_host.py:136 #: terminal/serializers/virtualapp.py:35 tickets/models/ticket/general.py:281 #: tickets/serializers/super_ticket.py:13 -#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:216 -#: xpack/plugins/cloud/models.py:272 +#: tickets/serializers/ticket/ticket.py:20 xpack/plugins/cloud/models.py:217 +#: xpack/plugins/cloud/models.py:273 msgid "Status" msgstr "" @@ -629,8 +629,8 @@ msgstr "" #: assets/models/asset/common.py:159 assets/models/cmd_filter.py:21 #: assets/models/domain.py:19 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:143 -#: assets/serializers/platform.py:261 +#: assets/serializers/asset/common.py:149 assets/serializers/platform.py:152 +#: assets/serializers/platform.py:270 #: authentication/backends/passkey/models.py:10 #: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 @@ -648,7 +648,7 @@ msgstr "" #: 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:899 -#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:288 +#: xpack/plugins/cloud/models.py:33 xpack/plugins/cloud/models.py:289 #: xpack/plugins/cloud/serializers/task.py:74 msgid "Name" msgstr "" @@ -677,7 +677,7 @@ msgstr "" msgid "Push params" msgstr "" -#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:369 +#: accounts/models/template.py:26 xpack/plugins/cloud/models.py:370 msgid "Account template" msgstr "" @@ -772,8 +772,8 @@ msgstr "" #: accounts/serializers/account/account.py:195 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:165 -#: assets/serializers/platform.py:262 perms/serializers/user_permission.py:26 +#: assets/serializers/cagegory.py:12 assets/serializers/platform.py:174 +#: assets/serializers/platform.py:271 perms/serializers/user_permission.py:26 #: settings/models.py:36 tickets/models/ticket/apply_application.py:13 #: users/models/preference.py:12 msgid "Category" @@ -783,8 +783,8 @@ msgstr "" #: accounts/serializers/automations/base.py:55 acls/models/command_acl.py:24 #: acls/serializers/command_acl.py:19 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:145 -#: assets/serializers/platform.py:164 audits/serializers.py:53 +#: assets/serializers/asset/common.py:126 assets/serializers/platform.py:154 +#: assets/serializers/platform.py:173 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 @@ -820,7 +820,7 @@ msgstr "" #: accounts/serializers/automations/base.py:22 acls/models/base.py:97 #: acls/templates/acls/asset_login_reminder.html:9 #: assets/models/automations/base.py:19 -#: assets/serializers/automations/base.py:20 +#: assets/serializers/automations/base.py:20 assets/serializers/domain.py:34 #: authentication/api/connection_token.py:410 ops/models/base.py:17 #: ops/models/job.py:152 ops/serializers/job.py:19 #: perms/serializers/permission.py:36 @@ -959,7 +959,7 @@ msgstr "" #: terminal/models/session/session.py:47 #: terminal/models/virtualapp/virtualapp.py:28 tickets/models/comment.py:32 #: tickets/models/ticket/general.py:295 users/models/user.py:933 -#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:120 +#: xpack/plugins/cloud/models.py:40 xpack/plugins/cloud/models.py:121 msgid "Comment" msgstr "Description" @@ -1141,12 +1141,12 @@ msgid "Notify" msgstr "" #: acls/models/base.py:37 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:294 +#: terminal/models/component/endpoint.py:112 xpack/plugins/cloud/models.py:295 msgid "Priority" msgstr "" #: acls/models/base.py:38 assets/models/cmd_filter.py:76 -#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:295 +#: terminal/models/component/endpoint.py:113 xpack/plugins/cloud/models.py:296 msgid "1-100, the lower the value will be match first" msgstr "" @@ -1188,7 +1188,7 @@ msgid "Command" msgstr "" #: acls/models/command_acl.py:17 assets/models/cmd_filter.py:59 -#: xpack/plugins/cloud/models.py:335 +#: xpack/plugins/cloud/models.py:336 msgid "Regex" msgstr "" @@ -1305,7 +1305,7 @@ msgstr "" #: authentication/templates/authentication/_msg_oauth_bind.html:12 #: authentication/templates/authentication/_msg_rest_password_success.html:8 #: authentication/templates/authentication/_msg_rest_public_key_success.html:8 -#: xpack/plugins/cloud/models.py:370 +#: xpack/plugins/cloud/models.py:371 msgid "IP" msgstr "" @@ -1509,7 +1509,7 @@ msgstr "Cloud" msgid "Web" msgstr "" -#: assets/const/category.py:16 common/sdk/sms/endpoint.py:20 +#: assets/const/category.py:15 common/sdk/sms/endpoint.py:20 msgid "Custom type" msgstr "Custom" @@ -1546,7 +1546,8 @@ msgstr "" msgid "ChatGPT" msgstr "" -#: assets/const/host.py:12 rbac/tree.py:28 xpack/plugins/cloud/const.py:69 +#: assets/const/host.py:12 rbac/tree.py:28 rbac/tree.py:67 +#: xpack/plugins/cloud/const.py:69 msgid "Other" msgstr "" @@ -1582,7 +1583,8 @@ msgstr "" msgid "Any" msgstr "" -#: assets/const/protocol.py:81 settings/serializers/security.py:232 +#: assets/const/protocol.py:81 rbac/tree.py:63 +#: settings/serializers/security.py:232 msgid "Security" msgstr "" @@ -1679,7 +1681,7 @@ msgstr "" msgid "API mode" msgstr "" -#: assets/const/types.py:254 +#: assets/const/types.py:251 msgid "All types" msgstr "" @@ -1710,7 +1712,7 @@ msgstr "" #: assets/models/asset/common.py:161 assets/models/platform.py:134 #: authentication/backends/passkey/models.py:12 #: authentication/serializers/connect_token_secret.py:118 -#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:365 +#: perms/serializers/user_permission.py:25 xpack/plugins/cloud/models.py:366 msgid "Platform" msgstr "" @@ -1763,13 +1765,13 @@ msgstr "" msgid "Allow invalid cert" msgstr "" -#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:86 +#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:88 msgid "Proxy" msgstr "" #: assets/models/automations/base.py:18 assets/models/cmd_filter.py:32 #: assets/models/node.py:553 perms/models/asset_permission.py:72 -#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:366 +#: tickets/models/ticket/apply_asset.py:14 xpack/plugins/cloud/models.py:367 msgid "Node" msgstr "" @@ -1872,7 +1874,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:144 +#: assets/serializers/platform.py:153 #: authentication/serializers/connect_token_secret.py:124 #: common/serializers/common.py:85 labels/serializers.py:45 #: settings/serializers/msg.py:88 @@ -1883,7 +1885,7 @@ 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:82 audits/backends/db.py:83 msgid "empty" msgstr "" @@ -1911,7 +1913,7 @@ msgstr "" msgid "Required" msgstr "" -#: assets/models/platform.py:19 assets/serializers/platform.py:146 +#: assets/models/platform.py:19 assets/serializers/platform.py:155 #: terminal/models/component/storage.py:28 #: xpack/plugins/cloud/providers/nutanix.py:30 msgid "Default" @@ -1921,7 +1923,7 @@ msgstr "" msgid "Public" msgstr "" -#: assets/models/platform.py:21 assets/serializers/platform.py:74 +#: assets/models/platform.py:21 assets/serializers/platform.py:83 #: settings/serializers/settings.py:95 #: users/templates/users/reset_password.html:29 msgid "Setting" @@ -1937,11 +1939,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 "" @@ -1950,12 +1952,12 @@ msgid "Ping params" msgstr "" #: assets/models/platform.py:45 assets/models/platform.py:69 -#: assets/serializers/platform.py:36 +#: assets/serializers/platform.py:37 msgid "Gather facts enabled" msgstr "" #: assets/models/platform.py:47 assets/models/platform.py:71 -#: assets/serializers/platform.py:40 +#: assets/serializers/platform.py:41 msgid "Gather facts method" msgstr "" @@ -1963,11 +1965,11 @@ msgstr "" msgid "Gather facts params" msgstr "" -#: assets/models/platform.py:51 assets/serializers/platform.py:50 +#: assets/models/platform.py:51 assets/serializers/platform.py:51 msgid "Change secret enabled" msgstr "" -#: assets/models/platform.py:53 assets/serializers/platform.py:54 +#: assets/models/platform.py:53 assets/serializers/platform.py:55 msgid "Change secret method" msgstr "" @@ -1975,11 +1977,11 @@ msgstr "" msgid "Change secret params" msgstr "" -#: assets/models/platform.py:57 assets/serializers/platform.py:57 +#: assets/models/platform.py:57 assets/serializers/platform.py:58 msgid "Push account enabled" msgstr "" -#: assets/models/platform.py:59 assets/serializers/platform.py:61 +#: assets/models/platform.py:59 assets/serializers/platform.py:62 msgid "Push account method" msgstr "" @@ -1987,11 +1989,11 @@ msgstr "" msgid "Push account params" msgstr "" -#: assets/models/platform.py:63 assets/serializers/platform.py:43 +#: assets/models/platform.py:63 assets/serializers/platform.py:44 msgid "Verify account enabled" msgstr "" -#: assets/models/platform.py:65 assets/serializers/platform.py:47 +#: assets/models/platform.py:65 assets/serializers/platform.py:48 msgid "Verify account method" msgstr "" @@ -2003,7 +2005,7 @@ msgstr "" msgid "Remove account enabled" msgstr "" -#: assets/models/platform.py:77 +#: assets/models/platform.py:77 assets/serializers/platform.py:72 msgid "Remove account method" msgstr "" @@ -2019,23 +2021,23 @@ msgstr "" msgid "Internal" msgstr "Builtin" -#: assets/models/platform.py:102 assets/serializers/platform.py:163 +#: assets/models/platform.py:102 assets/serializers/platform.py:172 msgid "Charset" msgstr "" -#: assets/models/platform.py:104 assets/serializers/platform.py:198 +#: assets/models/platform.py:104 assets/serializers/platform.py:207 msgid "Gateway enabled" msgstr "" -#: assets/models/platform.py:106 assets/serializers/platform.py:191 +#: assets/models/platform.py:106 assets/serializers/platform.py:200 msgid "Su enabled" msgstr "Switch account enabled" -#: assets/models/platform.py:107 assets/serializers/platform.py:169 +#: assets/models/platform.py:107 assets/serializers/platform.py:178 msgid "Su method" msgstr "Switch account method" -#: assets/models/platform.py:108 assets/serializers/platform.py:172 +#: assets/models/platform.py:108 assets/serializers/platform.py:181 msgid "Custom fields" msgstr "" @@ -2050,11 +2052,11 @@ msgid "" "type" msgstr "" -#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:166 +#: assets/serializers/asset/common.py:127 assets/serializers/platform.py:175 #: authentication/serializers/connect_token_secret.py:30 #: authentication/serializers/connect_token_secret.py:75 #: perms/models/asset_permission.py:76 perms/serializers/permission.py:46 -#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:368 +#: perms/serializers/user_permission.py:74 xpack/plugins/cloud/models.py:369 #: xpack/plugins/cloud/serializers/task.py:34 msgid "Protocols" msgstr "" @@ -2184,94 +2186,102 @@ msgstr "" msgid "Can't contains: /" msgstr "" -#: assets/serializers/platform.py:33 +#: assets/serializers/platform.py:34 msgid "Enable asset detection" msgstr "" -#: assets/serializers/platform.py:37 +#: assets/serializers/platform.py:38 msgid "Enable asset information collection" msgstr "" -#: assets/serializers/platform.py:44 +#: assets/serializers/platform.py:45 msgid "Enable account verification" msgstr "" -#: assets/serializers/platform.py:51 +#: assets/serializers/platform.py:52 msgid "Enable account secret auto change" msgstr "" -#: assets/serializers/platform.py:58 +#: assets/serializers/platform.py:59 msgid "Enable account auto push" msgstr "" -#: assets/serializers/platform.py:64 +#: assets/serializers/platform.py:65 msgid "Gather accounts enabled" msgstr "" -#: assets/serializers/platform.py:65 +#: assets/serializers/platform.py:66 msgid "Enable account collection" msgstr "" -#: assets/serializers/platform.py:68 +#: assets/serializers/platform.py:69 msgid "Gather accounts method" msgstr "" #: assets/serializers/platform.py:75 +msgid "Remove accounts enabled" +msgstr "" + +#: assets/serializers/platform.py:76 +msgid "Enable account remove" +msgstr "" + +#: assets/serializers/platform.py:84 msgid "Port from addr" msgstr "" -#: assets/serializers/platform.py:87 +#: assets/serializers/platform.py:96 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:92 +#: assets/serializers/platform.py:101 msgid "This protocol is required, and it must be set when adding assets." msgstr "" -#: assets/serializers/platform.py:95 +#: assets/serializers/platform.py:104 msgid "" "This protocol is default, when adding assets, it will be displayed by " "default." msgstr "" -#: assets/serializers/platform.py:98 +#: assets/serializers/platform.py:107 msgid "This protocol is public, asset will show this protocol to user" msgstr "" -#: assets/serializers/platform.py:147 +#: assets/serializers/platform.py:156 msgid "Help text" msgstr "" -#: assets/serializers/platform.py:148 +#: assets/serializers/platform.py:157 msgid "Choices" msgstr "" -#: assets/serializers/platform.py:167 +#: assets/serializers/platform.py:176 msgid "Automation" msgstr "" -#: assets/serializers/platform.py:193 +#: assets/serializers/platform.py:202 msgid "" "Login with account when accessing assets, then automatically switch to " "another, similar to logging in with a regular account and then switching to " "root" msgstr "" -#: assets/serializers/platform.py:199 +#: assets/serializers/platform.py:208 msgid "Assets can be connected using a zone gateway" msgstr "" -#: assets/serializers/platform.py:201 +#: assets/serializers/platform.py:210 msgid "Default Domain" msgstr "" -#: assets/serializers/platform.py:222 +#: assets/serializers/platform.py:231 msgid "type is required" msgstr "" -#: assets/serializers/platform.py:237 +#: assets/serializers/platform.py:246 msgid "Protocols is required" msgstr "" @@ -2345,11 +2355,11 @@ msgstr "" msgid "App Audits" msgstr "Activities" -#: audits/backends/db.py:16 +#: audits/backends/db.py:17 msgid "The text content is too long. Use Elasticsearch to store operation logs" msgstr "" -#: audits/backends/db.py:91 +#: audits/backends/db.py:108 msgid "Tips" msgstr "" @@ -2363,7 +2373,7 @@ msgstr "" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:240 +#: rbac/tree.py:268 msgid "Delete" msgstr "" @@ -2387,7 +2397,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:266 terminal/api/session/session.py:274 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:84 @@ -2396,7 +2406,7 @@ msgstr "" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:237 +#: rbac/tree.py:265 msgid "Create" msgstr "" @@ -2414,7 +2424,7 @@ msgstr "" msgid "Change password" msgstr "" -#: audits/const.py:35 +#: audits/const.py:35 rbac/tree.py:57 msgid "Notifications" msgstr "" @@ -2450,7 +2460,7 @@ msgstr "" #: audits/const.py:51 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 -#: xpack/plugins/cloud/serializers/account.py:78 +#: xpack/plugins/cloud/serializers/account.py:77 msgid "Task" msgstr "" @@ -2727,7 +2737,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:322 #: users/views/profile/reset.py:63 msgid "User does not exist: {}" msgstr "" @@ -3220,7 +3230,7 @@ msgid "Component" msgstr "" #: authentication/serializers/connect_token_secret.py:136 -#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:367 +#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:368 msgid "Domain" msgstr "" @@ -3766,7 +3776,7 @@ msgstr "" msgid "Invalid port range, should be like and within {}-{}" msgstr "" -#: common/drf/exc_handlers.py:26 +#: common/drf/exc_handlers.py:28 msgid "Object" msgstr "" @@ -4189,7 +4199,7 @@ msgstr "" msgid "VCS" msgstr "" -#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:134 +#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:136 msgid "Adhoc" msgstr "" @@ -4301,7 +4311,7 @@ msgid "Args" msgstr "" #: ops/models/base.py:19 -msgid "Run as policy" +msgid "Account policy" msgstr "" #: ops/models/base.py:20 @@ -4313,7 +4323,7 @@ msgid "Date last run" msgstr "" #: ops/models/base.py:51 ops/models/job.py:237 -#: xpack/plugins/cloud/models.py:214 +#: xpack/plugins/cloud/models.py:215 msgid "Result" msgstr "" @@ -4371,6 +4381,10 @@ msgstr "" msgid "Run as" msgstr "" +#: ops/models/job.py:157 +msgid "Run as policy" +msgstr "" + #: ops/models/job.py:221 terminal/notifications.py:174 msgid "Job" msgstr "" @@ -4435,9 +4449,9 @@ msgstr "" msgid "Execute after saving" msgstr "Execute after saving" -#: ops/serializers/job.py:52 -msgid "Average time taken" -msgstr "Average time taken" +#: ops/serializers/job.py:52 terminal/serializers/session.py:47 +msgid "Duration" +msgstr "" #: ops/serializers/job.py:72 msgid "Job type" @@ -4690,7 +4704,7 @@ msgid "today" msgstr "" #: perms/notifications.py:12 perms/notifications.py:44 -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "day" msgstr "" @@ -4905,45 +4919,72 @@ msgid "Asset change auth" msgstr "" #: rbac/tree.py:54 -msgid "Terminal setting" -msgstr "Terminal" - -#: rbac/tree.py:55 msgid "Job center" msgstr "" -#: rbac/tree.py:56 +#: rbac/tree.py:55 msgid "My assets" msgstr "" -#: rbac/tree.py:57 +#: rbac/tree.py:56 msgid "App ops" msgstr "Ops" -#: rbac/tree.py:58 terminal/models/applet/applet.py:52 +#: rbac/tree.py:58 +msgid "Features" +msgstr "" + +#: rbac/tree.py:59 settings/serializers/auth/base.py:10 +msgid "Authentication" +msgstr "" + +#: rbac/tree.py:60 +msgid "Storage" +msgstr "" + +#: rbac/tree.py:61 +#, fuzzy +#| msgid "SystemComponent" +msgid "Components" +msgstr "System Component" + +#: rbac/tree.py:62 terminal/models/applet/applet.py:52 #: terminal/models/applet/applet.py:317 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "" -#: rbac/tree.py:128 +#: rbac/tree.py:64 +msgid "Appearance" +msgstr "" + +#: rbac/tree.py:65 +msgid "Tasks" +msgstr "" + +#: rbac/tree.py:66 xpack/plugins/license/meta.py:10 +#: xpack/plugins/license/models.py:144 +msgid "License" +msgstr "" + +#: rbac/tree.py:157 msgid "App organizations" msgstr "Organizations" -#: rbac/tree.py:129 +#: rbac/tree.py:158 msgid "Ticket comment" msgstr "" -#: rbac/tree.py:130 settings/serializers/feature.py:112 -#: settings/serializers/feature.py:114 tickets/models/ticket/general.py:305 +#: rbac/tree.py:159 settings/serializers/feature.py:114 +#: settings/serializers/feature.py:116 tickets/models/ticket/general.py:305 msgid "Ticket" msgstr "" -#: rbac/tree.py:131 +#: rbac/tree.py:160 msgid "Common setting" msgstr "" -#: rbac/tree.py:132 +#: rbac/tree.py:161 msgid "View permission tree" msgstr "" @@ -5054,10 +5095,6 @@ msgstr "" msgid "Notification of Synchronized LDAP User Task Results" msgstr "" -#: settings/serializers/auth/base.py:10 -msgid "Authentication" -msgstr "" - #: settings/serializers/auth/base.py:12 msgid "LDAP Auth" msgstr "" @@ -5697,11 +5734,12 @@ msgstr "" msgid "Mount Point" msgstr "" -#: settings/serializers/feature.py:60 + +#: settings/serializers/feature.py:62 msgid "Record limit" msgstr "" -#: settings/serializers/feature.py:62 +#: settings/serializers/feature.py:64 msgid "" "If the specific value is less than 999 (default), the system will " "automatically perform a task every night: check and delete historical " @@ -5709,82 +5747,82 @@ msgid "" "exceeds 999 (default), no historical account deletion will be performed" msgstr "" -#: settings/serializers/feature.py:72 settings/serializers/feature.py:76 +#: settings/serializers/feature.py:74 settings/serializers/feature.py:78 msgid "Chat AI" msgstr "" -#: settings/serializers/feature.py:79 +#: settings/serializers/feature.py:81 msgid "Base URL" msgstr "" -#: settings/serializers/feature.py:80 +#: settings/serializers/feature.py:82 msgid "The base URL of the GPT service. For example: https://api.openai.com/v1" msgstr "" -#: settings/serializers/feature.py:83 templates/_header_bar.html:96 +#: settings/serializers/feature.py:85 templates/_header_bar.html:96 msgid "API Key" msgstr "" -#: settings/serializers/feature.py:87 +#: settings/serializers/feature.py:89 msgid "" "The proxy server address of the GPT service. For example: http://ip:port" msgstr "" -#: settings/serializers/feature.py:90 +#: settings/serializers/feature.py:92 msgid "GPT Model" msgstr "" -#: settings/serializers/feature.py:116 +#: settings/serializers/feature.py:118 msgid "Approval without login" msgstr "" -#: settings/serializers/feature.py:117 +#: settings/serializers/feature.py:119 msgid "Allow direct approval ticket without login" msgstr "" -#: settings/serializers/feature.py:121 +#: settings/serializers/feature.py:123 #, fuzzy #| msgid "Periodic run" msgid "Period" msgstr "Periodic" -#: settings/serializers/feature.py:122 +#: settings/serializers/feature.py:124 msgid "" "The default authorization time period when applying for assets via a ticket" msgstr "" -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "hour" msgstr "" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 msgid "Unit" msgstr "" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 #, fuzzy #| msgid "Run period" msgid "The unit of period" msgstr "Period" -#: settings/serializers/feature.py:131 +#: settings/serializers/feature.py:133 msgid "Feature" msgstr "" -#: settings/serializers/feature.py:135 +#: settings/serializers/feature.py:137 msgid "" "Allow users to execute batch commands in the Workbench - Job Center - Adhoc" msgstr "" -#: settings/serializers/feature.py:139 +#: settings/serializers/feature.py:141 msgid "Command blacklist" msgstr "" -#: settings/serializers/feature.py:140 +#: settings/serializers/feature.py:142 msgid "Command blacklist in Adhoc" msgstr "" -#: settings/serializers/feature.py:145 +#: settings/serializers/feature.py:147 #: terminal/models/virtualapp/provider.py:17 #: terminal/models/virtualapp/virtualapp.py:36 #: terminal/models/virtualapp/virtualapp.py:97 @@ -5792,11 +5830,11 @@ msgstr "" msgid "Virtual app" msgstr "" -#: settings/serializers/feature.py:148 +#: settings/serializers/feature.py:150 msgid "Virtual App" msgstr "" -#: settings/serializers/feature.py:150 +#: settings/serializers/feature.py:152 msgid "" "Virtual applications, you can use the Linux operating system as an " "application server in remote applications." @@ -6577,15 +6615,15 @@ msgstr "" msgid "User %s %s session %s replay" msgstr "" -#: terminal/api/session/session.py:317 +#: terminal/api/session/session.py:314 msgid "Session does not exist: {}" msgstr "" -#: terminal/api/session/session.py:320 +#: terminal/api/session/session.py:317 msgid "Session is finished or the protocol not supported" msgstr "" -#: terminal/api/session/session.py:333 +#: terminal/api/session/session.py:330 msgid "User does not have permission" msgstr "" @@ -6771,6 +6809,12 @@ msgstr "" msgid "Hosting" msgstr "" +#: terminal/models/applet/applet.py:325 +#, fuzzy +#| msgid "App Authentication" +msgid "Applet Publication" +msgstr "Authentication" + #: terminal/models/applet/host.py:18 terminal/serializers/applet_host.py:69 msgid "Deploy options" msgstr "" @@ -6803,6 +6847,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 "" @@ -7057,8 +7105,9 @@ msgid "Command and replay storage" msgstr "Storage" #: terminal/notifications.py:240 terminal/tasks.py:153 -#: xpack/plugins/cloud/serializers/account.py:115 -#: xpack/plugins/cloud/serializers/account.py:117 +#: xpack/plugins/cloud/api.py:152 +#: xpack/plugins/cloud/serializers/account.py:121 +#: xpack/plugins/cloud/serializers/account.py:123 msgid "Test failure: Account invalid" msgstr "" @@ -7246,10 +7295,6 @@ msgstr "" msgid "Can terminate" msgstr "" -#: terminal/serializers/session.py:47 -msgid "Duration" -msgstr "" - #: terminal/serializers/session.py:49 msgid "User ID" msgstr "" @@ -7284,7 +7329,7 @@ msgid "Access key secret" msgstr "" #: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 -#: xpack/plugins/cloud/models.py:265 +#: xpack/plugins/cloud/models.py:266 msgid "Region" msgstr "" @@ -8633,11 +8678,11 @@ msgid "" "strategy will skipped." msgstr "" -#: xpack/plugins/cloud/api.py:65 +#: xpack/plugins/cloud/api.py:64 msgid "Test connection successful" msgstr "" -#: xpack/plugins/cloud/api.py:67 +#: xpack/plugins/cloud/api.py:66 msgid "Test connection failed: {}" msgstr "" @@ -8741,7 +8786,7 @@ msgstr "" msgid "Public IP" msgstr "" -#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:339 +#: xpack/plugins/cloud/const.py:42 xpack/plugins/cloud/models.py:340 msgid "Instance name" msgstr "" @@ -8875,7 +8920,7 @@ msgid "Cloud center" msgstr "" #: xpack/plugins/cloud/models.py:38 -#: xpack/plugins/cloud/serializers/account.py:93 +#: xpack/plugins/cloud/serializers/account.py:94 msgid "Attrs" msgstr "" @@ -8891,147 +8936,147 @@ msgstr "" msgid "Test cloud account" msgstr "" -#: xpack/plugins/cloud/models.py:102 -#: xpack/plugins/cloud/serializers/account.py:77 +#: xpack/plugins/cloud/models.py:103 +#: xpack/plugins/cloud/serializers/account.py:76 #: xpack/plugins/cloud/serializers/task.py:156 msgid "Regions" msgstr "" -#: xpack/plugins/cloud/models.py:105 +#: xpack/plugins/cloud/models.py:106 msgid "Hostname strategy" msgstr "" -#: xpack/plugins/cloud/models.py:110 +#: xpack/plugins/cloud/models.py:111 msgid "IP network segment group" msgstr "" -#: xpack/plugins/cloud/models.py:113 +#: xpack/plugins/cloud/models.py:114 #: xpack/plugins/cloud/serializers/task.py:159 msgid "Sync IP type" msgstr "" -#: xpack/plugins/cloud/models.py:116 +#: xpack/plugins/cloud/models.py:117 msgid "Always update" msgstr "" -#: xpack/plugins/cloud/models.py:118 +#: xpack/plugins/cloud/models.py:119 msgid "Fully synchronous" msgstr "" -#: xpack/plugins/cloud/models.py:123 +#: xpack/plugins/cloud/models.py:124 msgid "Date last sync" msgstr "" -#: xpack/plugins/cloud/models.py:126 xpack/plugins/cloud/models.py:357 -#: xpack/plugins/cloud/models.py:383 +#: xpack/plugins/cloud/models.py:127 xpack/plugins/cloud/models.py:358 +#: xpack/plugins/cloud/models.py:384 msgid "Strategy" msgstr "" -#: xpack/plugins/cloud/models.py:131 xpack/plugins/cloud/models.py:212 +#: xpack/plugins/cloud/models.py:132 xpack/plugins/cloud/models.py:213 msgid "Sync instance task" msgstr "" -#: xpack/plugins/cloud/models.py:223 xpack/plugins/cloud/models.py:275 +#: xpack/plugins/cloud/models.py:224 xpack/plugins/cloud/models.py:276 msgid "Date sync" msgstr "" -#: xpack/plugins/cloud/models.py:227 +#: xpack/plugins/cloud/models.py:228 msgid "Sync instance snapshot" msgstr "" -#: xpack/plugins/cloud/models.py:231 +#: xpack/plugins/cloud/models.py:232 msgid "Sync instance task execution" msgstr "" -#: xpack/plugins/cloud/models.py:255 +#: xpack/plugins/cloud/models.py:256 msgid "Sync task" msgstr "" -#: xpack/plugins/cloud/models.py:259 +#: xpack/plugins/cloud/models.py:260 msgid "Sync instance task history" msgstr "" -#: xpack/plugins/cloud/models.py:262 +#: xpack/plugins/cloud/models.py:263 msgid "Instance" msgstr "" -#: xpack/plugins/cloud/models.py:279 +#: xpack/plugins/cloud/models.py:280 msgid "Sync instance detail" msgstr "" -#: xpack/plugins/cloud/models.py:291 xpack/plugins/cloud/serializers/task.py:76 +#: xpack/plugins/cloud/models.py:292 xpack/plugins/cloud/serializers/task.py:76 msgid "Rule relation" msgstr "" -#: xpack/plugins/cloud/models.py:301 +#: xpack/plugins/cloud/models.py:302 msgid "Task strategy" msgstr "" -#: xpack/plugins/cloud/models.py:328 +#: xpack/plugins/cloud/models.py:329 msgid "Equal" msgstr "" -#: xpack/plugins/cloud/models.py:329 +#: xpack/plugins/cloud/models.py:330 msgid "Not Equal" msgstr "" -#: xpack/plugins/cloud/models.py:330 +#: xpack/plugins/cloud/models.py:331 msgid "In" msgstr "" -#: xpack/plugins/cloud/models.py:331 +#: xpack/plugins/cloud/models.py:332 msgid "Contains" msgstr "" -#: xpack/plugins/cloud/models.py:332 +#: xpack/plugins/cloud/models.py:333 msgid "Exclude" msgstr "" -#: xpack/plugins/cloud/models.py:333 +#: xpack/plugins/cloud/models.py:334 msgid "Startswith" msgstr "" -#: xpack/plugins/cloud/models.py:334 +#: xpack/plugins/cloud/models.py:335 msgid "Endswith" msgstr "" -#: xpack/plugins/cloud/models.py:340 +#: xpack/plugins/cloud/models.py:341 msgid "Instance platform" msgstr "" -#: xpack/plugins/cloud/models.py:341 +#: xpack/plugins/cloud/models.py:342 msgid "Instance address" msgstr "" -#: xpack/plugins/cloud/models.py:348 +#: xpack/plugins/cloud/models.py:349 msgid "Rule attr" msgstr "" -#: xpack/plugins/cloud/models.py:352 +#: xpack/plugins/cloud/models.py:353 msgid "Rule match" msgstr "" -#: xpack/plugins/cloud/models.py:354 +#: xpack/plugins/cloud/models.py:355 msgid "Rule value" msgstr "" -#: xpack/plugins/cloud/models.py:361 xpack/plugins/cloud/serializers/task.py:79 +#: xpack/plugins/cloud/models.py:362 xpack/plugins/cloud/serializers/task.py:79 msgid "Strategy rule" msgstr "" -#: xpack/plugins/cloud/models.py:371 +#: xpack/plugins/cloud/models.py:372 msgid "Name strategy" msgstr "" -#: xpack/plugins/cloud/models.py:378 +#: xpack/plugins/cloud/models.py:379 msgid "Action attr" msgstr "" -#: xpack/plugins/cloud/models.py:380 +#: xpack/plugins/cloud/models.py:381 msgid "Action value" msgstr "" -#: xpack/plugins/cloud/models.py:387 xpack/plugins/cloud/serializers/task.py:82 +#: xpack/plugins/cloud/models.py:388 xpack/plugins/cloud/serializers/task.py:82 msgid "Strategy action" msgstr "" @@ -9133,9 +9178,7 @@ msgid "CN North-Beijing" msgstr "" #: xpack/plugins/cloud/providers/baiducloud.py:57 -#: xpack/plugins/cloud/providers/huaweicloud.py:47 -#: xpack/plugins/cloud/providers/jdcloud.py:128 -msgid "CN South-Guangzhou" +msgid "CN North-Baoding" msgstr "" #: xpack/plugins/cloud/providers/baiducloud.py:58 @@ -9143,24 +9186,30 @@ msgid "CN East-Suzhou" msgstr "" #: xpack/plugins/cloud/providers/baiducloud.py:59 +#: xpack/plugins/cloud/providers/huaweicloud.py:47 +#: xpack/plugins/cloud/providers/jdcloud.py:128 +msgid "CN South-Guangzhou" +msgstr "" + +#: xpack/plugins/cloud/providers/baiducloud.py:60 +msgid "CN Southwest-Chengdu" +msgstr "" + +#: xpack/plugins/cloud/providers/baiducloud.py:61 #: xpack/plugins/cloud/providers/huaweicloud.py:54 msgid "CN-Hong Kong" msgstr "" -#: xpack/plugins/cloud/providers/baiducloud.py:60 +#: xpack/plugins/cloud/providers/baiducloud.py:62 msgid "CN Center-Wuhan" msgstr "" -#: xpack/plugins/cloud/providers/baiducloud.py:61 -msgid "CN North-Baoding" -msgstr "" - -#: xpack/plugins/cloud/providers/baiducloud.py:62 +#: xpack/plugins/cloud/providers/baiducloud.py:63 #: xpack/plugins/cloud/providers/jdcloud.py:127 msgid "CN East-Shanghai" msgstr "" -#: xpack/plugins/cloud/providers/baiducloud.py:63 +#: xpack/plugins/cloud/providers/baiducloud.py:64 #: xpack/plugins/cloud/providers/huaweicloud.py:56 msgid "AP-Singapore" msgstr "" @@ -9235,11 +9284,11 @@ msgstr "" msgid "Port \"%(port)s\" of instance IP \"%(ip)s\" is not reachable" msgstr "" -#: xpack/plugins/cloud/serializers/account.py:94 +#: xpack/plugins/cloud/serializers/account.py:95 msgid "Validity display" msgstr "" -#: xpack/plugins/cloud/serializers/account.py:95 +#: xpack/plugins/cloud/serializers/account.py:96 msgid "Provider display" msgstr "" @@ -9392,10 +9441,6 @@ msgstr "" msgid "Invalid license" msgstr "" -#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:144 -msgid "License" -msgstr "" - #: xpack/plugins/license/models.py:80 msgid "Basic edition" msgstr "" @@ -9412,6 +9457,12 @@ msgstr "" msgid "Ultimate edition" msgstr "" +#~ msgid "Average time taken" +#~ msgstr "Average time taken" + +#~ msgid "Terminal setting" +#~ msgstr "Terminal" + #, fuzzy #~| msgid "Terminal setting" #~ msgid "Interface setting" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index ef61d512d..964e38ef6 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/ja/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-13 18:19+0800\n" +"POT-Creation-Date: 2024-06-19 10:43+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgstr "テンプレート" msgid "Skip" msgstr "スキップ" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:239 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:267 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "更新" @@ -418,7 +418,7 @@ msgid "Trigger mode" msgstr "トリガーモード" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 -#: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:157 +#: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 #: xpack/plugins/cloud/models.py:221 msgid "Reason" msgstr "理由" @@ -830,12 +830,12 @@ msgstr "編集済み" #: accounts/serializers/automations/base.py:22 acls/models/base.py:97 #: acls/templates/acls/asset_login_reminder.html:9 #: assets/models/automations/base.py:19 -#: assets/serializers/automations/base.py:20 +#: assets/serializers/automations/base.py:20 assets/serializers/domain.py:34 #: authentication/api/connection_token.py:410 ops/models/base.py:17 #: ops/models/job.py:152 ops/serializers/job.py:19 #: perms/serializers/permission.py:36 #: terminal/templates/terminal/_msg_command_execute_alert.html:16 -#: xpack/plugins/cloud/manager.py:82 +#: xpack/plugins/cloud/manager.py:83 msgid "Assets" msgstr "資産" @@ -1517,7 +1517,7 @@ msgstr "脚本" #: settings/serializers/auth/radius.py:16 settings/serializers/auth/sms.py:76 #: settings/serializers/feature.py:49 settings/serializers/msg.py:31 #: terminal/models/component/endpoint.py:13 terminal/serializers/applet.py:17 -#: xpack/plugins/cloud/manager.py:82 +#: xpack/plugins/cloud/manager.py:83 #: xpack/plugins/cloud/serializers/account_attrs.py:72 msgid "Host" msgstr "ホスト" @@ -1536,7 +1536,7 @@ msgstr "クラウド サービス" msgid "Web" msgstr "Web" -#: assets/const/category.py:16 common/sdk/sms/endpoint.py:20 +#: assets/const/category.py:15 common/sdk/sms/endpoint.py:20 msgid "Custom type" msgstr "カスタムタイプ" @@ -1573,7 +1573,8 @@ msgstr "ファイアウォール" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:12 rbac/tree.py:28 xpack/plugins/cloud/const.py:69 +#: assets/const/host.py:12 rbac/tree.py:28 rbac/tree.py:67 +#: xpack/plugins/cloud/const.py:69 msgid "Other" msgstr "その他" @@ -1612,7 +1613,8 @@ msgstr "コンソールセッションに接続" msgid "Any" msgstr "任意" -#: assets/const/protocol.py:81 settings/serializers/security.py:232 +#: assets/const/protocol.py:81 rbac/tree.py:63 +#: settings/serializers/security.py:232 msgid "Security" msgstr "セキュリティ" @@ -1711,7 +1713,7 @@ msgstr "ボタンセレクターを確認する" msgid "API mode" msgstr "APIモード" -#: assets/const/types.py:254 +#: assets/const/types.py:251 msgid "All types" msgstr "いろんなタイプ" @@ -1795,7 +1797,7 @@ msgstr "クライアントキー" msgid "Allow invalid cert" msgstr "証明書チェックを無視" -#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:86 +#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:88 msgid "Proxy" msgstr "プロキシー" @@ -1915,7 +1917,7 @@ 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:82 audits/backends/db.py:83 msgid "empty" msgstr "空" @@ -2399,11 +2401,11 @@ msgstr "一致する資産がない、タスクを停止" msgid "App Audits" msgstr "監査" -#: audits/backends/db.py:16 +#: audits/backends/db.py:17 msgid "The text content is too long. Use Elasticsearch to store operation logs" msgstr "文章の内容が長すぎる。Elasticsearchで操作履歴を保存する" -#: audits/backends/db.py:91 +#: audits/backends/db.py:108 msgid "Tips" msgstr "謎々" @@ -2417,7 +2419,7 @@ msgstr "Rmdir" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:240 +#: rbac/tree.py:268 msgid "Delete" msgstr "削除" @@ -2441,16 +2443,16 @@ msgstr "ダウンロード" msgid "Rename dir" msgstr "マップディレクトリ" -#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:274 +#: audits/const.py:23 rbac/tree.py:266 terminal/api/session/session.py:274 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 -#: xpack/plugins/cloud/manager.py:83 +#: xpack/plugins/cloud/manager.py:84 msgid "View" msgstr "表示" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:237 +#: rbac/tree.py:265 msgid "Create" msgstr "作成" @@ -2468,7 +2470,7 @@ msgstr "ログイン" msgid "Change password" msgstr "パスワードを変更する" -#: audits/const.py:35 +#: audits/const.py:35 rbac/tree.py:57 msgid "Notifications" msgstr "通知" @@ -3763,7 +3765,7 @@ msgstr "ランニング" msgid "Canceled" msgstr "キャンセル" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:407 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:408 #, python-format msgid "%(name)s was created successfully" msgstr "%(name)s が正常に作成されました" @@ -3855,7 +3857,7 @@ msgstr "によって更新" msgid "Invalid port range, should be like and within {}-{}" msgstr "無効なポート範囲です。{}-{} のような範囲内である必要があります" -#: common/drf/exc_handlers.py:26 +#: common/drf/exc_handlers.py:28 msgid "Object" msgstr "オブジェクト" @@ -4295,7 +4297,7 @@ msgstr "空欄" msgid "VCS" msgstr "VCS" -#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:134 +#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:136 msgid "Adhoc" msgstr "コマンド#コマンド#" @@ -4424,7 +4426,7 @@ msgid "Result" msgstr "結果" #: ops/models/base.py:52 ops/models/job.py:238 -#: xpack/plugins/cloud/manager.py:86 +#: xpack/plugins/cloud/manager.py:87 msgid "Summary" msgstr "概要" @@ -4545,9 +4547,9 @@ msgstr "最後の実行" msgid "Execute after saving" msgstr "保存後に実行" -#: ops/serializers/job.py:52 -msgid "Average time taken" -msgstr "時を過ごす" +#: ops/serializers/job.py:52 terminal/serializers/session.py:47 +msgid "Duration" +msgstr "きかん" #: ops/serializers/job.py:72 msgid "Job type" @@ -4801,7 +4803,7 @@ msgid "today" msgstr "今日" #: perms/notifications.py:12 perms/notifications.py:44 -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "day" msgstr "日" @@ -5003,7 +5005,7 @@ msgstr "システム設定" msgid "Session audits" msgstr "セッション監査" -#: rbac/tree.py:49 xpack/plugins/cloud/manager.py:83 +#: rbac/tree.py:49 xpack/plugins/cloud/manager.py:84 msgid "Cloud import" msgstr "クラウドインポート" @@ -5020,45 +5022,76 @@ msgid "Asset change auth" msgstr "資産の改ざん" #: rbac/tree.py:54 -msgid "Terminal setting" -msgstr "ターミナル設定" - -#: rbac/tree.py:55 msgid "Job center" msgstr "タスクセンター" -#: rbac/tree.py:56 +#: rbac/tree.py:55 msgid "My assets" msgstr "私の資産" -#: rbac/tree.py:57 +#: rbac/tree.py:56 msgid "App ops" msgstr "アプリ操作" -#: rbac/tree.py:58 terminal/models/applet/applet.py:52 +#: rbac/tree.py:58 +#, fuzzy +#| msgid "Feature" +msgid "Features" +msgstr "機能" + +#: rbac/tree.py:59 settings/serializers/auth/base.py:10 +msgid "Authentication" +msgstr "認証" + +#: rbac/tree.py:60 +msgid "Storage" +msgstr "" + +#: rbac/tree.py:61 +#, fuzzy +#| msgid "Component" +msgid "Components" +msgstr "コンポーネント" + +#: rbac/tree.py:62 terminal/models/applet/applet.py:52 #: terminal/models/applet/applet.py:317 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "リモートアプリケーション" -#: rbac/tree.py:128 +#: rbac/tree.py:64 +msgid "Appearance" +msgstr "" + +#: rbac/tree.py:65 +#, fuzzy +#| msgid "Task" +msgid "Tasks" +msgstr "タスク" + +#: rbac/tree.py:66 xpack/plugins/license/meta.py:10 +#: xpack/plugins/license/models.py:144 +msgid "License" +msgstr "ライセンス" + +#: rbac/tree.py:157 msgid "App organizations" msgstr "アプリ組織" -#: rbac/tree.py:129 +#: rbac/tree.py:158 msgid "Ticket comment" msgstr "チケットコメント" -#: rbac/tree.py:130 settings/serializers/feature.py:112 -#: settings/serializers/feature.py:114 tickets/models/ticket/general.py:305 +#: rbac/tree.py:159 settings/serializers/feature.py:114 +#: settings/serializers/feature.py:116 tickets/models/ticket/general.py:305 msgid "Ticket" msgstr "チケット" -#: rbac/tree.py:131 +#: rbac/tree.py:160 msgid "Common setting" msgstr "共通設定" -#: rbac/tree.py:132 +#: rbac/tree.py:161 msgid "View permission tree" msgstr "権限ツリーの表示" @@ -5171,10 +5204,6 @@ msgstr "チャットのヒント" msgid "Notification of Synchronized LDAP User Task Results" msgstr "アカウントバックアップルートタスクの結果の通知" -#: settings/serializers/auth/base.py:10 -msgid "Authentication" -msgstr "認証" - #: settings/serializers/auth/base.py:12 msgid "LDAP Auth" msgstr "LDAP 認証" @@ -5826,11 +5855,11 @@ msgstr "有効化 Vault" msgid "Mount Point" msgstr "マウントポイント" -#: settings/serializers/feature.py:60 +#: settings/serializers/feature.py:62 msgid "Record limit" msgstr "" -#: settings/serializers/feature.py:62 +#: settings/serializers/feature.py:64 msgid "" "If the specific value is less than 999 (default), the system will " "automatically perform a task every night: check and delete historical " @@ -5841,80 +5870,80 @@ msgstr "" "所定の数を超える履歴アカウントを確認して削除します。 値が 999 以上の場合、履" "歴アカウントの削除は実行されません。" -#: settings/serializers/feature.py:72 settings/serializers/feature.py:76 +#: settings/serializers/feature.py:74 settings/serializers/feature.py:78 msgid "Chat AI" msgstr "チャットAI" -#: settings/serializers/feature.py:79 +#: settings/serializers/feature.py:81 msgid "Base URL" msgstr "ベースサイトのアドレス" -#: settings/serializers/feature.py:80 +#: settings/serializers/feature.py:82 msgid "The base URL of the GPT service. For example: https://api.openai.com/v1" msgstr "" -#: settings/serializers/feature.py:83 templates/_header_bar.html:96 +#: settings/serializers/feature.py:85 templates/_header_bar.html:96 msgid "API Key" msgstr "API Key" -#: settings/serializers/feature.py:87 +#: settings/serializers/feature.py:89 msgid "" "The proxy server address of the GPT service. For example: http://ip:port" msgstr "" -#: settings/serializers/feature.py:90 +#: settings/serializers/feature.py:92 msgid "GPT Model" msgstr "GPTモデル" -#: settings/serializers/feature.py:116 +#: settings/serializers/feature.py:118 msgid "Approval without login" msgstr "ログイン承認なし" -#: settings/serializers/feature.py:117 +#: settings/serializers/feature.py:119 msgid "Allow direct approval ticket without login" msgstr "ログインせずに直接承認チケットを許可します" -#: settings/serializers/feature.py:121 +#: settings/serializers/feature.py:123 msgid "Period" msgstr "期間" -#: settings/serializers/feature.py:122 +#: settings/serializers/feature.py:124 msgid "" "The default authorization time period when applying for assets via a ticket" msgstr "" -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "hour" msgstr "時" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 msgid "Unit" msgstr "単位" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 msgid "The unit of period" msgstr "ユーザーの実行" -#: settings/serializers/feature.py:131 +#: settings/serializers/feature.py:133 msgid "Feature" msgstr "機能" -#: settings/serializers/feature.py:135 +#: settings/serializers/feature.py:137 msgid "" "Allow users to execute batch commands in the Workbench - Job Center - Adhoc" msgstr "" "ユーザーがワークベンチ - ジョブセンター - Adhocでバッチコマンドを実行すること" "を許可します" -#: settings/serializers/feature.py:139 +#: settings/serializers/feature.py:141 msgid "Command blacklist" msgstr "コマンドフィルタリング" -#: settings/serializers/feature.py:140 +#: settings/serializers/feature.py:142 msgid "Command blacklist in Adhoc" msgstr "コマンドフィルタリング" -#: settings/serializers/feature.py:145 +#: settings/serializers/feature.py:147 #: terminal/models/virtualapp/provider.py:17 #: terminal/models/virtualapp/virtualapp.py:36 #: terminal/models/virtualapp/virtualapp.py:97 @@ -5922,11 +5951,11 @@ msgstr "コマンドフィルタリング" msgid "Virtual app" msgstr "仮想アプリケーション" -#: settings/serializers/feature.py:148 +#: settings/serializers/feature.py:150 msgid "Virtual App" msgstr "仮想アプリケーション" -#: settings/serializers/feature.py:150 +#: settings/serializers/feature.py:152 msgid "" "Virtual applications, you can use the Linux operating system as an " "application server in remote applications." @@ -7474,10 +7503,6 @@ msgstr "参加できます" msgid "Can terminate" msgstr "終了できます" -#: terminal/serializers/session.py:47 -msgid "Duration" -msgstr "きかん" - #: terminal/serializers/session.py:49 msgid "User ID" msgstr "ユーザーID" @@ -7511,7 +7536,7 @@ msgstr "アクセスキー" msgid "Access key secret" msgstr "アクセスキーシークレット" -#: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:99 +#: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 #: xpack/plugins/cloud/models.py:266 msgid "Region" msgstr "リージョン" @@ -9024,19 +9049,19 @@ msgstr "インスタンス名と部分IP" msgid "Succeed" msgstr "成功" -#: xpack/plugins/cloud/const.py:52 xpack/plugins/cloud/manager.py:89 +#: xpack/plugins/cloud/const.py:52 xpack/plugins/cloud/manager.py:90 msgid "Unsync" msgstr "同期していません" -#: xpack/plugins/cloud/const.py:53 xpack/plugins/cloud/manager.py:88 +#: xpack/plugins/cloud/const.py:53 xpack/plugins/cloud/manager.py:89 msgid "New Sync" msgstr "新しい同期" -#: xpack/plugins/cloud/const.py:54 xpack/plugins/cloud/manager.py:88 +#: xpack/plugins/cloud/const.py:54 xpack/plugins/cloud/manager.py:89 msgid "Synced" msgstr "同期済み" -#: xpack/plugins/cloud/const.py:55 xpack/plugins/cloud/manager.py:89 +#: xpack/plugins/cloud/const.py:55 xpack/plugins/cloud/manager.py:90 msgid "Released" msgstr "リリース済み" @@ -9056,46 +9081,46 @@ msgstr "組織が同期されました" msgid "Imported" msgstr "インポート" -#: xpack/plugins/cloud/manager.py:46 +#: xpack/plugins/cloud/manager.py:47 #, python-format msgid "Task \"%s\" starts executing" msgstr "タスク \"%s\" の実行開始" -#: xpack/plugins/cloud/manager.py:80 +#: xpack/plugins/cloud/manager.py:81 msgid "View the task details path: " msgstr "タスク詳細パスの表示: " -#: xpack/plugins/cloud/manager.py:83 +#: xpack/plugins/cloud/manager.py:84 msgid "Account Details" msgstr "アカウントの詳細" -#: xpack/plugins/cloud/manager.py:84 +#: xpack/plugins/cloud/manager.py:85 msgid "Synchronization History List" msgstr "履歴リストの同期" -#: xpack/plugins/cloud/manager.py:84 +#: xpack/plugins/cloud/manager.py:85 msgid "Synchronization Instance List" msgstr "インスタンスリストの同期" -#: xpack/plugins/cloud/manager.py:92 +#: xpack/plugins/cloud/manager.py:93 msgid "Task execution completed" msgstr "タスク実行完了" -#: xpack/plugins/cloud/manager.py:96 +#: xpack/plugins/cloud/manager.py:97 msgid "Synchronization regions" msgstr "同期地域" -#: xpack/plugins/cloud/manager.py:114 +#: xpack/plugins/cloud/manager.py:115 #, python-format msgid "Get instances of region \"%s\" error, error: %s" msgstr "地域 \"%s\" のインスタンスを取得できませんでした、エラー:%s" -#: xpack/plugins/cloud/manager.py:156 +#: xpack/plugins/cloud/manager.py:157 #, python-format msgid "Failed to synchronize the instance \"%s\"" msgstr "インスタンス \"%s\" の同期に失敗しました" -#: xpack/plugins/cloud/manager.py:332 +#: xpack/plugins/cloud/manager.py:333 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " @@ -9104,42 +9129,42 @@ msgstr "" "更新された資産 \"%s\" のプラットフォームタイプと元のタイプは一致しません。プ" "ラットフォームとプロトコルの更新をスキップ" -#: xpack/plugins/cloud/manager.py:388 +#: xpack/plugins/cloud/manager.py:389 #, python-format msgid "The asset \"%s\" already exists" msgstr "資産 \"%s\" はすでに存在します" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:391 #, python-format msgid "Update asset \"%s\"" msgstr "資産の更新 \"%s\"" -#: xpack/plugins/cloud/manager.py:393 +#: xpack/plugins/cloud/manager.py:394 #, python-format msgid "Asset \"%s\" has been updated" msgstr "資産 \"%s\" が更新されました" -#: xpack/plugins/cloud/manager.py:403 +#: xpack/plugins/cloud/manager.py:404 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "資産 \"%s\" の作成準備" -#: xpack/plugins/cloud/manager.py:424 +#: xpack/plugins/cloud/manager.py:425 #, python-format msgid "Set nodes \"%s\"" msgstr "ノード \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:450 +#: xpack/plugins/cloud/manager.py:451 #, python-format msgid "Set accounts \"%s\"" msgstr "アカウント \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:466 +#: xpack/plugins/cloud/manager.py:467 #, python-format msgid "Set protocols \"%s\"" msgstr "プロトコル \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:480 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:481 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "同期インスタンス タスクを実行する" @@ -9674,10 +9699,6 @@ msgstr "ライセンスのインポートに成功" msgid "Invalid license" msgstr "無効なライセンス" -#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:144 -msgid "License" -msgstr "ライセンス" - #: xpack/plugins/license/models.py:80 msgid "Basic edition" msgstr "エンタープライズ基本版" @@ -9693,3 +9714,9 @@ msgstr "エンタープライズプロフェッショナル版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "エンタープライズ・フラッグシップ・エディション" + +#~ msgid "Average time taken" +#~ msgstr "時を過ごす" + +#~ msgid "Terminal setting" +#~ msgstr "ターミナル設定" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 8b38396e5..9c4caba4e 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-13 18:19+0800\n" +"POT-Creation-Date: 2024-06-19 10:43+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -105,7 +105,7 @@ msgstr "模板" msgid "Skip" msgstr "跳过" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:239 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:267 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "更新" @@ -417,7 +417,7 @@ msgid "Trigger mode" msgstr "触发模式" #: accounts/models/automations/backup_account.py:134 audits/models.py:203 -#: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:157 +#: terminal/models/session/sharing.py:125 xpack/plugins/cloud/manager.py:158 #: xpack/plugins/cloud/models.py:221 msgid "Reason" msgstr "原因" @@ -828,12 +828,12 @@ msgstr "已修改" #: accounts/serializers/automations/base.py:22 acls/models/base.py:97 #: acls/templates/acls/asset_login_reminder.html:9 #: assets/models/automations/base.py:19 -#: assets/serializers/automations/base.py:20 +#: assets/serializers/automations/base.py:20 assets/serializers/domain.py:34 #: authentication/api/connection_token.py:410 ops/models/base.py:17 #: ops/models/job.py:152 ops/serializers/job.py:19 #: perms/serializers/permission.py:36 #: terminal/templates/terminal/_msg_command_execute_alert.html:16 -#: xpack/plugins/cloud/manager.py:82 +#: xpack/plugins/cloud/manager.py:83 msgid "Assets" msgstr "资产" @@ -1507,7 +1507,7 @@ msgstr "脚本" #: settings/serializers/auth/radius.py:16 settings/serializers/auth/sms.py:76 #: settings/serializers/feature.py:49 settings/serializers/msg.py:31 #: terminal/models/component/endpoint.py:13 terminal/serializers/applet.py:17 -#: xpack/plugins/cloud/manager.py:82 +#: xpack/plugins/cloud/manager.py:83 #: xpack/plugins/cloud/serializers/account_attrs.py:72 msgid "Host" msgstr "主机" @@ -1526,7 +1526,7 @@ msgstr "云服务" msgid "Web" msgstr "Web" -#: assets/const/category.py:16 common/sdk/sms/endpoint.py:20 +#: assets/const/category.py:15 common/sdk/sms/endpoint.py:20 msgid "Custom type" msgstr "自定义" @@ -1563,7 +1563,8 @@ msgstr "防火墙" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:12 rbac/tree.py:28 xpack/plugins/cloud/const.py:69 +#: assets/const/host.py:12 rbac/tree.py:28 rbac/tree.py:67 +#: xpack/plugins/cloud/const.py:69 msgid "Other" msgstr "其它" @@ -1601,7 +1602,8 @@ msgstr "连接到控制台会话" msgid "Any" msgstr "任意" -#: assets/const/protocol.py:81 settings/serializers/security.py:232 +#: assets/const/protocol.py:81 rbac/tree.py:63 +#: settings/serializers/security.py:232 msgid "Security" msgstr "安全" @@ -1699,7 +1701,7 @@ msgstr "确认按钮选择器" msgid "API mode" msgstr "API 模式" -#: assets/const/types.py:254 +#: assets/const/types.py:251 msgid "All types" msgstr "所有类型" @@ -1783,7 +1785,7 @@ msgstr "客户端密钥" msgid "Allow invalid cert" msgstr "忽略证书校验" -#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:86 +#: assets/models/asset/gpt.py:8 settings/serializers/feature.py:88 msgid "Proxy" msgstr "代理" @@ -1905,7 +1907,7 @@ 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:82 audits/backends/db.py:83 msgid "empty" msgstr "空" @@ -2379,11 +2381,11 @@ msgstr "没有匹配到资产,结束任务" msgid "App Audits" msgstr "日志审计" -#: audits/backends/db.py:16 +#: audits/backends/db.py:17 msgid "The text content is too long. Use Elasticsearch to store operation logs" msgstr "文字内容太长。请使用 Elasticsearch 存储操作日志" -#: audits/backends/db.py:91 +#: audits/backends/db.py:108 msgid "Tips" msgstr "提示" @@ -2397,7 +2399,7 @@ msgstr "删除目录" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:240 +#: rbac/tree.py:268 msgid "Delete" msgstr "删除" @@ -2421,16 +2423,16 @@ msgstr "下载" msgid "Rename dir" msgstr "映射目录" -#: audits/const.py:23 rbac/tree.py:238 terminal/api/session/session.py:274 +#: audits/const.py:23 rbac/tree.py:266 terminal/api/session/session.py:274 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 -#: xpack/plugins/cloud/manager.py:83 +#: xpack/plugins/cloud/manager.py:84 msgid "View" msgstr "查看" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:237 +#: rbac/tree.py:265 msgid "Create" msgstr "创建" @@ -2448,7 +2450,7 @@ msgstr "登录" msgid "Change password" msgstr "改密" -#: audits/const.py:35 +#: audits/const.py:35 rbac/tree.py:57 msgid "Notifications" msgstr "通知" @@ -3716,7 +3718,7 @@ msgstr "运行中" msgid "Canceled" msgstr "取消" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:407 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:408 #, python-format msgid "%(name)s was created successfully" msgstr "%(name)s 创建成功" @@ -3808,7 +3810,7 @@ msgstr "最后更新者" msgid "Invalid port range, should be like and within {}-{}" msgstr "无效的端口范围,应该在 {}-{} 之内" -#: common/drf/exc_handlers.py:26 +#: common/drf/exc_handlers.py:28 msgid "Object" msgstr "对象" @@ -4238,7 +4240,7 @@ msgstr "空白" msgid "VCS" msgstr "VCS" -#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:134 +#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:136 msgid "Adhoc" msgstr "命令" @@ -4367,7 +4369,7 @@ msgid "Result" msgstr "结果" #: ops/models/base.py:52 ops/models/job.py:238 -#: xpack/plugins/cloud/manager.py:86 +#: xpack/plugins/cloud/manager.py:87 msgid "Summary" msgstr "汇总" @@ -4488,9 +4490,9 @@ msgstr "下次执行时间" msgid "Execute after saving" msgstr "保存后执行" -#: ops/serializers/job.py:52 -msgid "Average time taken" -msgstr "平均耗时" +#: ops/serializers/job.py:52 terminal/serializers/session.py:47 +msgid "Duration" +msgstr "时长" #: ops/serializers/job.py:72 msgid "Job type" @@ -4743,7 +4745,7 @@ msgid "today" msgstr "今天" #: perms/notifications.py:12 perms/notifications.py:44 -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "day" msgstr "天" @@ -4944,7 +4946,7 @@ msgstr "系统设置" msgid "Session audits" msgstr "会话审计" -#: rbac/tree.py:49 xpack/plugins/cloud/manager.py:83 +#: rbac/tree.py:49 xpack/plugins/cloud/manager.py:84 msgid "Cloud import" msgstr "云同步" @@ -4961,45 +4963,76 @@ msgid "Asset change auth" msgstr "资产改密" #: rbac/tree.py:54 -msgid "Terminal setting" -msgstr "终端设置" - -#: rbac/tree.py:55 msgid "Job center" msgstr "任务中心" -#: rbac/tree.py:56 +#: rbac/tree.py:55 msgid "My assets" msgstr "我的资产" -#: rbac/tree.py:57 +#: rbac/tree.py:56 msgid "App ops" msgstr "作业中心" -#: rbac/tree.py:58 terminal/models/applet/applet.py:52 +#: rbac/tree.py:58 +#, fuzzy +#| msgid "Feature" +msgid "Features" +msgstr "功能" + +#: rbac/tree.py:59 settings/serializers/auth/base.py:10 +msgid "Authentication" +msgstr "认证" + +#: rbac/tree.py:60 +msgid "Storage" +msgstr "" + +#: rbac/tree.py:61 +#, fuzzy +#| msgid "Component" +msgid "Components" +msgstr "组件" + +#: rbac/tree.py:62 terminal/models/applet/applet.py:52 #: terminal/models/applet/applet.py:317 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "远程应用" -#: rbac/tree.py:128 +#: rbac/tree.py:64 +msgid "Appearance" +msgstr "" + +#: rbac/tree.py:65 +#, fuzzy +#| msgid "Task" +msgid "Tasks" +msgstr "任务" + +#: rbac/tree.py:66 xpack/plugins/license/meta.py:10 +#: xpack/plugins/license/models.py:144 +msgid "License" +msgstr "许可证" + +#: rbac/tree.py:157 msgid "App organizations" msgstr "组织管理" -#: rbac/tree.py:129 +#: rbac/tree.py:158 msgid "Ticket comment" msgstr "工单评论" -#: rbac/tree.py:130 settings/serializers/feature.py:112 -#: settings/serializers/feature.py:114 tickets/models/ticket/general.py:305 +#: rbac/tree.py:159 settings/serializers/feature.py:114 +#: settings/serializers/feature.py:116 tickets/models/ticket/general.py:305 msgid "Ticket" msgstr "工单" -#: rbac/tree.py:131 +#: rbac/tree.py:160 msgid "Common setting" msgstr "一般设置" -#: rbac/tree.py:132 +#: rbac/tree.py:161 msgid "View permission tree" msgstr "查看授权树" @@ -5110,10 +5143,6 @@ msgstr "聊天提示" msgid "Notification of Synchronized LDAP User Task Results" msgstr "同步 LDAP 用户任务结果的通知" -#: settings/serializers/auth/base.py:10 -msgid "Authentication" -msgstr "认证" - #: settings/serializers/auth/base.py:12 msgid "LDAP Auth" msgstr "LDAP 认证" @@ -5754,11 +5783,11 @@ msgstr "启用 Vault" msgid "Mount Point" msgstr "挂载点" -#: settings/serializers/feature.py:60 +#: settings/serializers/feature.py:62 msgid "Record limit" msgstr "" -#: settings/serializers/feature.py:62 +#: settings/serializers/feature.py:64 msgid "" "If the specific value is less than 999 (default), the system will " "automatically perform a task every night: check and delete historical " @@ -5768,78 +5797,78 @@ msgstr "" "若特定数值小于999,系统将在每日晚间自动执行任务:检查并删除超出预定数量的历史" "账号。如果该数值达到或超过999,则不进行任何历史账号的删除操作。" -#: settings/serializers/feature.py:72 settings/serializers/feature.py:76 +#: settings/serializers/feature.py:74 settings/serializers/feature.py:78 msgid "Chat AI" msgstr "聊天 AI" -#: settings/serializers/feature.py:79 +#: settings/serializers/feature.py:81 msgid "Base URL" msgstr "JumpServer 地址" -#: settings/serializers/feature.py:80 +#: settings/serializers/feature.py:82 msgid "The base URL of the GPT service. For example: https://api.openai.com/v1" msgstr "" -#: settings/serializers/feature.py:83 templates/_header_bar.html:96 +#: settings/serializers/feature.py:85 templates/_header_bar.html:96 msgid "API Key" msgstr "API Key" -#: settings/serializers/feature.py:87 +#: settings/serializers/feature.py:89 msgid "" "The proxy server address of the GPT service. For example: http://ip:port" msgstr "" -#: settings/serializers/feature.py:90 +#: settings/serializers/feature.py:92 msgid "GPT Model" msgstr "GPT 模型" -#: settings/serializers/feature.py:116 +#: settings/serializers/feature.py:118 msgid "Approval without login" msgstr "免登录审批" -#: settings/serializers/feature.py:117 +#: settings/serializers/feature.py:119 msgid "Allow direct approval ticket without login" msgstr "允许无需登录直接批准工单" -#: settings/serializers/feature.py:121 +#: settings/serializers/feature.py:123 msgid "Period" msgstr "时段" -#: settings/serializers/feature.py:122 +#: settings/serializers/feature.py:124 msgid "" "The default authorization time period when applying for assets via a ticket" msgstr "" -#: settings/serializers/feature.py:125 +#: settings/serializers/feature.py:127 msgid "hour" msgstr "时" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 msgid "Unit" msgstr "单位" -#: settings/serializers/feature.py:126 +#: settings/serializers/feature.py:128 msgid "The unit of period" msgstr "执行周期" -#: settings/serializers/feature.py:131 +#: settings/serializers/feature.py:133 msgid "Feature" msgstr "功能" -#: settings/serializers/feature.py:135 +#: settings/serializers/feature.py:137 msgid "" "Allow users to execute batch commands in the Workbench - Job Center - Adhoc" msgstr "允许用户在工作台 - 作业中心 - Adhoc 中执行批量命令" -#: settings/serializers/feature.py:139 +#: settings/serializers/feature.py:141 msgid "Command blacklist" msgstr "作业中心命令黑名单" -#: settings/serializers/feature.py:140 +#: settings/serializers/feature.py:142 msgid "Command blacklist in Adhoc" msgstr "作业中心命令黑名单" -#: settings/serializers/feature.py:145 +#: settings/serializers/feature.py:147 #: terminal/models/virtualapp/provider.py:17 #: terminal/models/virtualapp/virtualapp.py:36 #: terminal/models/virtualapp/virtualapp.py:97 @@ -5847,11 +5876,11 @@ msgstr "作业中心命令黑名单" msgid "Virtual app" msgstr "虚拟应用" -#: settings/serializers/feature.py:148 +#: settings/serializers/feature.py:150 msgid "Virtual App" msgstr "虚拟应用" -#: settings/serializers/feature.py:150 +#: settings/serializers/feature.py:152 msgid "" "Virtual applications, you can use the Linux operating system as an " "application server in remote applications." @@ -7360,10 +7389,6 @@ msgstr "是否可加入" msgid "Can terminate" msgstr "是否可中断" -#: terminal/serializers/session.py:47 -msgid "Duration" -msgstr "时长" - #: terminal/serializers/session.py:49 msgid "User ID" msgstr "用户 ID" @@ -7397,7 +7422,7 @@ msgstr "Access key ID(AK)" msgid "Access key secret" msgstr "Access key secret(SK)" -#: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:99 +#: terminal/serializers/storage.py:68 xpack/plugins/cloud/manager.py:100 #: xpack/plugins/cloud/models.py:266 msgid "Region" msgstr "地域" @@ -8883,19 +8908,19 @@ msgstr "实例名称和部分IP" msgid "Succeed" msgstr "成功" -#: xpack/plugins/cloud/const.py:52 xpack/plugins/cloud/manager.py:89 +#: xpack/plugins/cloud/const.py:52 xpack/plugins/cloud/manager.py:90 msgid "Unsync" msgstr "未同步" -#: xpack/plugins/cloud/const.py:53 xpack/plugins/cloud/manager.py:88 +#: xpack/plugins/cloud/const.py:53 xpack/plugins/cloud/manager.py:89 msgid "New Sync" msgstr "新同步" -#: xpack/plugins/cloud/const.py:54 xpack/plugins/cloud/manager.py:88 +#: xpack/plugins/cloud/const.py:54 xpack/plugins/cloud/manager.py:89 msgid "Synced" msgstr "已同步" -#: xpack/plugins/cloud/const.py:55 xpack/plugins/cloud/manager.py:89 +#: xpack/plugins/cloud/const.py:55 xpack/plugins/cloud/manager.py:90 msgid "Released" msgstr "已释放" @@ -8915,93 +8940,93 @@ msgstr "已同步组织" msgid "Imported" msgstr "导入" -#: xpack/plugins/cloud/manager.py:46 +#: xpack/plugins/cloud/manager.py:47 #, fuzzy, python-format #| msgid "Task \"%s\" starts executing" msgid "Task \"%s\" starts executing" msgstr "任务执行 ID" -#: xpack/plugins/cloud/manager.py:80 +#: xpack/plugins/cloud/manager.py:81 msgid "View the task details path: " msgstr "查看详情" -#: xpack/plugins/cloud/manager.py:83 +#: xpack/plugins/cloud/manager.py:84 msgid "Account Details" msgstr "账号" -#: xpack/plugins/cloud/manager.py:84 +#: xpack/plugins/cloud/manager.py:85 msgid "Synchronization History List" msgstr "" -#: xpack/plugins/cloud/manager.py:84 +#: xpack/plugins/cloud/manager.py:85 msgid "Synchronization Instance List" msgstr "" -#: xpack/plugins/cloud/manager.py:92 +#: xpack/plugins/cloud/manager.py:93 msgid "Task execution completed" msgstr "任务执行 ID" -#: xpack/plugins/cloud/manager.py:96 +#: xpack/plugins/cloud/manager.py:97 msgid "Synchronization regions" msgstr "没有用户需要同步" -#: xpack/plugins/cloud/manager.py:114 +#: xpack/plugins/cloud/manager.py:115 #, python-format msgid "Get instances of region \"%s\" error, error: %s" msgstr "" -#: xpack/plugins/cloud/manager.py:156 +#: xpack/plugins/cloud/manager.py:157 #, python-format msgid "Failed to synchronize the instance \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:332 +#: xpack/plugins/cloud/manager.py:333 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " "platform type. Skip platform and protocol updates" msgstr "" -#: xpack/plugins/cloud/manager.py:388 +#: xpack/plugins/cloud/manager.py:389 #, fuzzy, python-format #| msgid "The asset \"%s\" already exists" msgid "The asset \"%s\" already exists" msgstr "名称已存在" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:391 #, fuzzy, python-format #| msgid "Update asset \"%s\"" msgid "Update asset \"%s\"" msgstr "收集资产信息" -#: xpack/plugins/cloud/manager.py:393 +#: xpack/plugins/cloud/manager.py:394 #, fuzzy, python-format #| msgid "Asset \"%s\" has been updated" msgid "Asset \"%s\" has been updated" msgstr "资产已经被禁用, 跳过: {}" -#: xpack/plugins/cloud/manager.py:403 +#: xpack/plugins/cloud/manager.py:404 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:424 +#: xpack/plugins/cloud/manager.py:425 #, python-format msgid "Set nodes \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:450 +#: xpack/plugins/cloud/manager.py:451 #, python-format msgid "Set accounts \"%s\"" msgstr "删除账号: %s" -#: xpack/plugins/cloud/manager.py:466 +#: xpack/plugins/cloud/manager.py:467 #, fuzzy, python-format #| msgid "Set protocols \"%s\"" msgid "Set protocols \"%s\"" msgstr "镜像协议" -#: xpack/plugins/cloud/manager.py:480 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:481 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "执行同步实例任务" @@ -9535,10 +9560,6 @@ msgstr "许可证导入成功" msgid "Invalid license" msgstr "无效 IP" -#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:144 -msgid "License" -msgstr "许可证" - #: xpack/plugins/license/models.py:80 msgid "Basic edition" msgstr "企业基础版" @@ -9554,3 +9575,9 @@ msgstr "企业专业版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "企业旗舰版" + +#~ msgid "Average time taken" +#~ msgstr "平均耗时" + +#~ msgid "Terminal setting" +#~ msgstr "终端设置" diff --git a/apps/i18n/lina/en.json b/apps/i18n/lina/en.json index 24b6033f7..a26ea5bd5 100644 --- a/apps/i18n/lina/en.json +++ b/apps/i18n/lina/en.json @@ -1337,5 +1337,6 @@ "ZoneUpdate": "Update the zone", "IpType": "IP type", "PublicIp": "Public Ip", - "PrivateIp": "Private Ip" + "PrivateIp": "Private Ip", + "VaultHCPMountPoint": "The mount point of the Vault server, default is jumpserver" } \ No newline at end of file diff --git a/apps/i18n/lina/zh.json b/apps/i18n/lina/zh.json index a1bd16d0d..d3fe8b27e 100644 --- a/apps/i18n/lina/zh.json +++ b/apps/i18n/lina/zh.json @@ -1338,5 +1338,6 @@ "ZoneUpdate": "更新网域", "IpType": "IP 类型", "PublicIp": "公有 IP", - "PrivateIp": "私有 IP" + "PrivateIp": "私有 IP", + "VaultHCPMountPoint": "Vault 服务器的挂载点,默认为 jumpserver" } \ No newline at end of file diff --git a/apps/settings/serializers/feature.py b/apps/settings/serializers/feature.py index 820403019..d88a42af6 100644 --- a/apps/settings/serializers/feature.py +++ b/apps/settings/serializers/feature.py @@ -53,7 +53,6 @@ class VaultSettingSerializer(serializers.Serializer): ) VAULT_HCP_MOUNT_POINT = serializers.CharField( max_length=256, allow_blank=True, required=False, label=_('Mount Point'), - help_text=_('The mount point of the Vault server, default is jumpserver'), default='jumpserver' )