perf: 修改 rbac asset nodes

pull/9649/head
ibuler 2023-02-21 13:11:56 +08:00
parent e67a876513
commit f4cc03434f
10 changed files with 319 additions and 339 deletions

View File

@ -15,4 +15,29 @@ class Migration(migrations.Migration):
name='charset', name='charset',
field=models.CharField(choices=[('utf-8', 'UTF-8'), ('gbk', 'GBK')], default='utf-8', max_length=8, verbose_name='Charset'), field=models.CharField(choices=[('utf-8', 'UTF-8'), ('gbk', 'GBK')], default='utf-8', max_length=8, verbose_name='Charset'),
), ),
migrations.AddField(
model_name='platform',
name='created_by',
field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Created by'),
),
migrations.AddField(
model_name='platform',
name='date_created',
field=models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date created'),
),
migrations.AddField(
model_name='platform',
name='date_updated',
field=models.DateTimeField(auto_now=True, verbose_name='Date updated'),
),
migrations.AddField(
model_name='platform',
name='updated_by',
field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Updated by'),
),
migrations.AlterField(
model_name='platform',
name='comment',
field=models.TextField(blank=True, default='', verbose_name='Comment'),
),
] ]

View File

@ -12,6 +12,6 @@ class Migration(migrations.Migration):
operations = [ operations = [
migrations.AlterModelOptions( migrations.AlterModelOptions(
name='asset', name='asset',
options={'ordering': ['name'], 'permissions': [('refresh_assethardwareinfo', 'Can refresh asset hardware info'), ('test_assetconnectivity', 'Can test asset connectivity'), ('push_assetaccount', 'Can push account to asset'), ('test_account', 'Can verify account'), ('match_asset', 'Can match asset'), ('add_assettonode', 'Add asset to node'), ('move_assettonode', 'Move asset to node'), ('remove_assetfromnode', 'Remove asset from node')], 'verbose_name': 'Asset'}, options={'ordering': ['name'], 'permissions': [('refresh_assethardwareinfo', 'Can refresh asset hardware info'), ('test_assetconnectivity', 'Can test asset connectivity'), ('push_assetaccount', 'Can push account to asset'), ('test_account', 'Can verify account'), ('match_asset', 'Can match asset'), ('change_assettonode', 'Can change asset nodes')], 'verbose_name': 'Asset'},
), ),
] ]

View File

@ -1,38 +0,0 @@
# Generated by Django 3.2.14 on 2023-02-20 02:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('assets', '0109_alter_asset_options'),
]
operations = [
migrations.AddField(
model_name='platform',
name='created_by',
field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Created by'),
),
migrations.AddField(
model_name='platform',
name='date_created',
field=models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date created'),
),
migrations.AddField(
model_name='platform',
name='date_updated',
field=models.DateTimeField(auto_now=True, verbose_name='Date updated'),
),
migrations.AddField(
model_name='platform',
name='updated_by',
field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Updated by'),
),
migrations.AlterField(
model_name='platform',
name='comment',
field=models.TextField(blank=True, default='', verbose_name='Comment'),
),
]

View File

@ -1,17 +0,0 @@
# Generated by Django 3.2.14 on 2023-02-21 04:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('assets', '0110_auto_20230220_1051'),
]
operations = [
migrations.AlterModelOptions(
name='asset',
options={'ordering': ['name'], 'permissions': [('refresh_assethardwareinfo', 'Can refresh asset hardware info'), ('test_assetconnectivity', 'Can test asset connectivity'), ('push_assetaccount', 'Can push account to asset'), ('test_account', 'Can verify account'), ('match_asset', 'Can match asset'), ('change_assettonode', 'Can change asset nodes')], 'verbose_name': 'Asset'},
),
]

View File

@ -284,5 +284,5 @@ class Asset(NodesRelationMixin, AbsConnectivity, JMSOrgBaseModel):
('push_assetaccount', _('Can push account to asset')), ('push_assetaccount', _('Can push account to asset')),
('test_account', _('Can verify account')), ('test_account', _('Can verify account')),
('match_asset', _('Can match asset')), ('match_asset', _('Can match asset')),
('change_assettonode', _('Can change asset nodes')), ('change_assetnodes', _('Can change asset nodes')),
] ]

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:8285be68ee7edb5423cf973c1c96a3659b75b40566c07a1557a17d59fcaf294d oid sha256:694d0090ced3dd431fd632329c8d081d696baae99b4e7561ccc5abc5343f82ca
size 136019 size 135571

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-20 15:19+0800\n" "POT-Creation-Date: 2023-02-21 13:00+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -158,8 +158,9 @@ msgstr "作成してプッシュ"
msgid "Only create" msgid "Only create"
msgstr "作成のみ" msgstr "作成のみ"
#: accounts/models/account.py:47 accounts/models/gathered_account.py:14 #: accounts/models/account.py:47
#: accounts/serializers/account/account.py:97 #: accounts/models/automations/gather_account.py:16
#: accounts/serializers/account/account.py:95
#: accounts/serializers/account/gathered_account.py:10 #: accounts/serializers/account/gathered_account.py:10
#: accounts/serializers/automations/change_secret.py:107 #: accounts/serializers/automations/change_secret.py:107
#: accounts/serializers/automations/change_secret.py:127 #: accounts/serializers/automations/change_secret.py:127
@ -175,7 +176,7 @@ msgstr "作成のみ"
msgid "Asset" msgid "Asset"
msgstr "資産" msgstr "資産"
#: accounts/models/account.py:51 accounts/serializers/account/account.py:101 #: accounts/models/account.py:51 accounts/serializers/account/account.py:99
#: authentication/serializers/connect_token_secret.py:50 #: authentication/serializers/connect_token_secret.py:50
msgid "Su from" msgid "Su from"
msgstr "から切り替え" msgstr "から切り替え"
@ -185,7 +186,7 @@ msgstr "から切り替え"
msgid "Version" msgid "Version"
msgstr "バージョン" msgstr "バージョン"
#: accounts/models/account.py:55 accounts/serializers/account/account.py:98 #: accounts/models/account.py:55 accounts/serializers/account/account.py:96
#: users/models/user.py:768 #: users/models/user.py:768
msgid "Source" msgid "Source"
msgstr "ソース" msgstr "ソース"
@ -228,7 +229,7 @@ msgstr "アセット アカウント テンプレートのパスワードを変
#: accounts/models/automations/backup_account.py:27 #: accounts/models/automations/backup_account.py:27
#: accounts/models/automations/change_secret.py:47 #: accounts/models/automations/change_secret.py:47
#: accounts/serializers/account/backup.py:32 #: accounts/serializers/account/backup.py:34
#: accounts/serializers/automations/change_secret.py:56 #: accounts/serializers/automations/change_secret.py:56
msgid "Recipient" msgid "Recipient"
msgstr "受信者" msgstr "受信者"
@ -240,7 +241,7 @@ msgstr "アカウントバックアップ計画"
#: accounts/models/automations/backup_account.py:83 #: accounts/models/automations/backup_account.py:83
#: assets/models/automations/base.py:114 audits/models.py:55 #: assets/models/automations/base.py:114 audits/models.py:55
#: ops/models/base.py:55 ops/models/celery.py:63 ops/models/job.py:119 #: ops/models/base.py:55 ops/models/celery.py:63 ops/models/job.py:122
#: perms/models/asset_permission.py:72 terminal/models/applet/host.py:108 #: perms/models/asset_permission.py:72 terminal/models/applet/host.py:108
#: terminal/models/session/session.py:45 #: terminal/models/session/session.py:45
#: tickets/models/ticket/apply_application.py:30 #: tickets/models/ticket/apply_application.py:30
@ -259,7 +260,7 @@ msgid "Account backup snapshot"
msgstr "アカウントのバックアップスナップショット" msgstr "アカウントのバックアップスナップショット"
#: accounts/models/automations/backup_account.py:94 #: accounts/models/automations/backup_account.py:94
#: accounts/serializers/account/backup.py:40 #: accounts/serializers/account/backup.py:42
#: accounts/serializers/automations/base.py:44 #: accounts/serializers/automations/base.py:44
#: assets/models/automations/base.py:121 #: assets/models/automations/base.py:121
#: assets/serializers/automations/base.py:40 #: assets/serializers/automations/base.py:40
@ -319,7 +320,7 @@ msgid "Can add push account execution"
msgstr "プッシュ アカウントの作成の実行" msgstr "プッシュ アカウントの作成の実行"
#: accounts/models/automations/change_secret.py:17 accounts/models/base.py:36 #: accounts/models/automations/change_secret.py:17 accounts/models/base.py:36
#: accounts/serializers/account/account.py:134 #: accounts/serializers/account/account.py:132
#: accounts/serializers/account/base.py:16 #: accounts/serializers/account/base.py:16
#: accounts/serializers/automations/change_secret.py:46 #: accounts/serializers/automations/change_secret.py:46
#: authentication/serializers/connect_token_secret.py:41 #: authentication/serializers/connect_token_secret.py:41
@ -327,12 +328,7 @@ msgstr "プッシュ アカウントの作成の実行"
msgid "Secret type" msgid "Secret type"
msgstr "鍵の種類" msgstr "鍵の種類"
#: accounts/models/automations/change_secret.py:21 #: accounts/models/automations/change_secret.py:19
#: accounts/serializers/automations/change_secret.py:40
msgid "Secret strategy"
msgstr "鍵ポリシー"
#: accounts/models/automations/change_secret.py:23
#: accounts/models/automations/change_secret.py:72 accounts/models/base.py:38 #: accounts/models/automations/change_secret.py:72 accounts/models/base.py:38
#: authentication/models/temp_token.py:10 #: authentication/models/temp_token.py:10
#: authentication/templates/authentication/_access_key_modal.html:31 #: authentication/templates/authentication/_access_key_modal.html:31
@ -340,6 +336,11 @@ msgstr "鍵ポリシー"
msgid "Secret" msgid "Secret"
msgstr "ひみつ" msgstr "ひみつ"
#: accounts/models/automations/change_secret.py:22
#: accounts/serializers/automations/change_secret.py:40
msgid "Secret strategy"
msgstr "鍵ポリシー"
#: accounts/models/automations/change_secret.py:24 #: accounts/models/automations/change_secret.py:24
msgid "Password rules" msgid "Password rules"
msgstr "パスワードルール" msgstr "パスワードルール"
@ -362,7 +363,7 @@ msgstr "開始日"
#: accounts/models/automations/change_secret.py:74 #: accounts/models/automations/change_secret.py:74
#: assets/models/automations/base.py:115 ops/models/base.py:56 #: assets/models/automations/base.py:115 ops/models/base.py:56
#: ops/models/celery.py:64 ops/models/job.py:120 #: ops/models/celery.py:64 ops/models/job.py:123
#: terminal/models/applet/host.py:109 #: terminal/models/applet/host.py:109
msgid "Date finished" msgid "Date finished"
msgstr "終了日" msgstr "終了日"
@ -376,20 +377,19 @@ msgstr "間違い"
msgid "Change secret record" msgid "Change secret record"
msgstr "パスワード レコードの変更" msgstr "パスワード レコードの変更"
#: accounts/models/automations/gather_account.py:14
msgid "Present"
msgstr "存在する"
#: accounts/models/automations/gather_account.py:15 #: accounts/models/automations/gather_account.py:15
#: accounts/tasks/gather_accounts.py:29 msgid "Date last login"
msgid "Gather asset accounts" msgstr "最終ログイン日"
msgstr "アカウントのコレクション"
#: accounts/models/automations/push_account.py:13 #: accounts/models/automations/gather_account.py:17
msgid "Triggers" #: accounts/models/automations/push_account.py:13 accounts/models/base.py:34
msgstr "トリガー方式" #: acls/serializers/base.py:18 acls/serializers/base.py:49
#: assets/models/_user.py:23 audits/models.py:157 authentication/forms.py:25
#: accounts/models/automations/push_account.py:14 accounts/models/base.py:34 #: authentication/forms.py:27 authentication/models/temp_token.py:9
#: accounts/models/gathered_account.py:15 acls/serializers/base.py:18
#: acls/serializers/base.py:49 assets/models/_user.py:23 audits/models.py:157
#: authentication/forms.py:25 authentication/forms.py:27
#: authentication/models/temp_token.py:9
#: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_different_city.html:9
#: authentication/templates/authentication/_msg_oauth_bind.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9
#: users/forms/profile.py:32 users/forms/profile.py:112 #: users/forms/profile.py:32 users/forms/profile.py:112
@ -398,7 +398,24 @@ msgstr "トリガー方式"
msgid "Username" msgid "Username"
msgstr "ユーザー名" msgstr "ユーザー名"
#: accounts/models/automations/push_account.py:15 acls/models/base.py:81 #: accounts/models/automations/gather_account.py:18
msgid "Address last login"
msgstr "最終ログインアドレス"
#: accounts/models/automations/gather_account.py:25 rbac/tree.py:50
msgid "Gather account"
msgstr "アカウントを集める"
#: accounts/models/automations/gather_account.py:41
#: accounts/tasks/gather_accounts.py:29
msgid "Gather asset accounts"
msgstr "アカウントのコレクション"
#: accounts/models/automations/push_account.py:12
msgid "Triggers"
msgstr "トリガー方式"
#: accounts/models/automations/push_account.py:14 acls/models/base.py:81
#: acls/serializers/base.py:81 acls/serializers/login_acl.py:25 #: acls/serializers/base.py:81 acls/serializers/login_acl.py:25
#: assets/models/cmd_filter.py:81 audits/models.py:65 audits/serializers.py:82 #: assets/models/cmd_filter.py:81 audits/models.py:65 audits/serializers.py:82
#: authentication/serializers/connect_token_secret.py:109 #: authentication/serializers/connect_token_secret.py:109
@ -406,7 +423,7 @@ msgstr "ユーザー名"
msgid "Action" msgid "Action"
msgstr "アクション" msgstr "アクション"
#: accounts/models/automations/push_account.py:41 #: accounts/models/automations/push_account.py:40
msgid "Push asset account" msgid "Push asset account"
msgstr "アカウントプッシュ" msgstr "アカウントプッシュ"
@ -420,14 +437,13 @@ msgstr "アカウントの確認"
#: assets/models/asset/common.py:90 assets/models/asset/common.py:102 #: assets/models/asset/common.py:90 assets/models/asset/common.py:102
#: assets/models/cmd_filter.py:21 assets/models/domain.py:18 #: assets/models/cmd_filter.py:21 assets/models/domain.py:18
#: assets/models/group.py:20 assets/models/label.py:18 #: assets/models/group.py:20 assets/models/label.py:18
#: assets/models/platform.py:20 assets/models/platform.py:74 #: assets/models/platform.py:21 assets/models/platform.py:76
#: assets/serializers/asset/common.py:68 assets/serializers/asset/common.py:142 #: assets/serializers/asset/common.py:68 assets/serializers/asset/common.py:142
#: assets/serializers/platform.py:131 #: assets/serializers/platform.py:132
#: authentication/serializers/connect_token_secret.py:103 ops/mixin.py:21 #: authentication/serializers/connect_token_secret.py:103 ops/mixin.py:21
#: ops/models/adhoc.py:21 ops/models/celery.py:15 ops/models/celery.py:57 #: ops/models/adhoc.py:21 ops/models/celery.py:15 ops/models/celery.py:57
#: ops/models/job.py:26 ops/models/playbook.py:23 ops/serializers/job.py:19 #: ops/models/job.py:26 ops/models/playbook.py:23 ops/serializers/job.py:19
#: ops/serializers/playbook.py:19 orgs/models.py:69 #: orgs/models.py:69 perms/models/asset_permission.py:56 rbac/models/role.py:29
#: perms/models/asset_permission.py:56 rbac/models/role.py:29
#: settings/models.py:33 settings/serializers/sms.py:6 #: settings/models.py:33 settings/serializers/sms.py:6
#: terminal/models/applet/applet.py:26 terminal/models/component/endpoint.py:12 #: terminal/models/applet/applet.py:26 terminal/models/component/endpoint.py:12
#: terminal/models/component/endpoint.py:90 #: terminal/models/component/endpoint.py:90
@ -450,22 +466,6 @@ msgstr "特権アカウント"
msgid "Is active" msgid "Is active"
msgstr "アクティブです。" msgstr "アクティブです。"
#: accounts/models/gathered_account.py:12
msgid "Present"
msgstr "存在する"
#: accounts/models/gathered_account.py:13
msgid "Date last login"
msgstr "最終ログイン日"
#: accounts/models/gathered_account.py:16
msgid "Address last login"
msgstr "最終ログインアドレス"
#: accounts/models/gathered_account.py:23 rbac/tree.py:50
msgid "Gather account"
msgstr "アカウントを集める"
#: accounts/notifications.py:8 #: accounts/notifications.py:8
msgid "Notification of account backup route task results" msgid "Notification of account backup route task results"
msgstr "アカウントバックアップルートタスクの結果の通知" msgstr "アカウントバックアップルートタスクの結果の通知"
@ -507,35 +507,35 @@ msgstr ""
"{} -暗号化変更タスクが完了しました: 暗号化パスワードが設定されていません-個人" "{} -暗号化変更タスクが完了しました: 暗号化パスワードが設定されていません-個人"
"情報にアクセスしてください-> ファイル暗号化パスワードを設定してください" "情報にアクセスしてください-> ファイル暗号化パスワードを設定してください"
#: accounts/serializers/account/account.py:67 #: accounts/serializers/account/account.py:65
#: assets/serializers/asset/common.py:66 settings/serializers/auth/sms.py:75 #: assets/serializers/asset/common.py:66 settings/serializers/auth/sms.py:75
msgid "Template" msgid "Template"
msgstr "テンプレート" msgstr "テンプレート"
#: accounts/serializers/account/account.py:70 #: accounts/serializers/account/account.py:68
#: assets/serializers/asset/common.py:63 #: assets/serializers/asset/common.py:63
msgid "Push now" msgid "Push now"
msgstr "今すぐプッシュ" msgstr "今すぐプッシュ"
#: accounts/serializers/account/account.py:72 #: accounts/serializers/account/account.py:70
#: accounts/serializers/account/base.py:62 #: accounts/serializers/account/base.py:62
msgid "Has secret" msgid "Has secret"
msgstr "エスクローされたパスワード" msgstr "エスクローされたパスワード"
#: accounts/serializers/account/account.py:77 applications/models.py:11 #: accounts/serializers/account/account.py:75 applications/models.py:11
#: assets/models/label.py:21 assets/models/platform.py:75 #: assets/models/label.py:21 assets/models/platform.py:77
#: assets/serializers/asset/common.py:121 assets/serializers/cagegory.py:8 #: assets/serializers/asset/common.py:121 assets/serializers/cagegory.py:8
#: assets/serializers/platform.py:93 assets/serializers/platform.py:132 #: assets/serializers/platform.py:93 assets/serializers/platform.py:133
#: perms/serializers/user_permission.py:25 settings/models.py:35 #: perms/serializers/user_permission.py:25 settings/models.py:35
#: tickets/models/ticket/apply_application.py:13 #: tickets/models/ticket/apply_application.py:13
msgid "Category" msgid "Category"
msgstr "カテゴリ" msgstr "カテゴリ"
#: accounts/serializers/account/account.py:78 #: accounts/serializers/account/account.py:76
#: accounts/serializers/automations/base.py:43 acls/models/command_acl.py:24 #: accounts/serializers/automations/base.py:43 acls/models/command_acl.py:24
#: acls/serializers/command_acl.py:18 applications/models.py:14 #: acls/serializers/command_acl.py:18 applications/models.py:14
#: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/_user.py:50 assets/models/automations/base.py:20
#: assets/models/cmd_filter.py:74 assets/models/platform.py:76 #: assets/models/cmd_filter.py:74 assets/models/platform.py:78
#: assets/serializers/asset/common.py:122 assets/serializers/platform.py:92 #: assets/serializers/asset/common.py:122 assets/serializers/platform.py:92
#: audits/serializers.py:48 #: audits/serializers.py:48
#: authentication/serializers/connect_token_secret.py:116 ops/models/job.py:37 #: authentication/serializers/connect_token_secret.py:116 ops/models/job.py:37
@ -550,28 +550,28 @@ msgstr "カテゴリ"
msgid "Type" msgid "Type"
msgstr "タイプ" msgstr "タイプ"
#: accounts/serializers/account/account.py:93 #: accounts/serializers/account/account.py:91
msgid "Asset not found" msgid "Asset not found"
msgstr "資産が存在しません" msgstr "資産が存在しません"
#: accounts/serializers/account/backup.py:30 #: accounts/serializers/account/backup.py:31
#: accounts/serializers/automations/base.py:36 #: accounts/serializers/automations/base.py:36
#: assets/serializers/automations/base.py:34 ops/mixin.py:23 ops/mixin.py:103 #: assets/serializers/automations/base.py:34 ops/mixin.py:23 ops/mixin.py:103
#: settings/serializers/auth/ldap.py:66 #: settings/serializers/auth/ldap.py:66
msgid "Periodic perform" msgid "Periodic perform"
msgstr "定期的なパフォーマンス" msgstr "定期的なパフォーマンス"
#: accounts/serializers/account/backup.py:31 #: accounts/serializers/account/backup.py:32
#: accounts/serializers/automations/base.py:37 #: accounts/serializers/automations/base.py:37
msgid "Executed amount" msgid "Executed amount"
msgstr "実行回数" msgstr "実行回数"
#: accounts/serializers/account/backup.py:33 #: accounts/serializers/account/backup.py:35
#: accounts/serializers/automations/change_secret.py:57 #: accounts/serializers/automations/change_secret.py:57
msgid "Currently only mail sending is supported" msgid "Currently only mail sending is supported"
msgstr "現在、メール送信のみがサポートされています" msgstr "現在、メール送信のみがサポートされています"
#: accounts/serializers/account/backup.py:35 #: accounts/serializers/account/backup.py:37
msgid "Asset type" msgid "Asset type"
msgstr "資産タイプ" msgstr "資産タイプ"
@ -644,7 +644,7 @@ msgstr "失敗しました"
msgid "Account execute automation" msgid "Account execute automation"
msgstr "アカウント実行の自動化" msgstr "アカウント実行の自動化"
#: accounts/tasks/backup_account.py:24 #: accounts/tasks/backup_account.py:25
msgid "Execute account backup plan" msgid "Execute account backup plan"
msgstr "アカウントのバックアップ計画を実施する" msgstr "アカウントのバックアップ計画を実施する"
@ -652,15 +652,15 @@ msgstr "アカウントのバックアップ計画を実施する"
msgid "Gather assets accounts" msgid "Gather assets accounts"
msgstr "資産の口座番号を収集する" msgstr "資産の口座番号を収集する"
#: accounts/tasks/push_account.py:30 accounts/tasks/push_account.py:37 #: accounts/tasks/push_account.py:15 accounts/tasks/push_account.py:23
msgid "Push accounts to assets" msgid "Push accounts to assets"
msgstr "アカウントをアセットにプッシュ:" msgstr "アカウントをアセットにプッシュ:"
#: accounts/tasks/verify_account.py:42 #: accounts/tasks/verify_account.py:49
msgid "Verify asset account availability" msgid "Verify asset account availability"
msgstr "アセット アカウントの可用性を確認する" msgstr "アセット アカウントの可用性を確認する"
#: accounts/tasks/verify_account.py:50 #: accounts/tasks/verify_account.py:55
msgid "Verify accounts connectivity" msgid "Verify accounts connectivity"
msgstr "アカウント接続のテスト" msgstr "アカウント接続のテスト"
@ -896,13 +896,13 @@ msgstr "アプリケーション"
msgid "Can match application" msgid "Can match application"
msgstr "アプリケーションを一致させることができます" msgstr "アプリケーションを一致させることができます"
#: assets/api/asset/asset.py:145 #: assets/api/asset/asset.py:144
msgid "Cannot create asset directly, you should create a host or other" msgid "Cannot create asset directly, you should create a host or other"
msgstr "" msgstr ""
"資産を直接作成することはできません。ホストまたはその他を作成する必要がありま" "資産を直接作成することはできません。ホストまたはその他を作成する必要がありま"
"す" "す"
#: assets/api/domain.py:61 #: assets/api/domain.py:60
msgid "Number required" msgid "Number required"
msgstr "必要な数" msgstr "必要な数"
@ -922,7 +922,7 @@ msgstr "削除に失敗し、ノードにアセットが含まれています。
msgid "App assets" msgid "App assets"
msgstr "アプリ資産" msgstr "アプリ資産"
#: assets/automations/base/manager.py:104 #: assets/automations/base/manager.py:106
msgid "{} disabled" msgid "{} disabled"
msgstr "{} 無効" msgstr "{} 無効"
@ -931,6 +931,12 @@ msgstr "{} 無効"
msgid "No account" msgid "No account"
msgstr "アカウントなし" msgstr "アカウントなし"
#: assets/automations/ping_gateway/manager.py:36
#, fuzzy
#| msgid "Assets amount"
msgid "Asset, {}, using account {}"
msgstr "資産額"
#: assets/automations/ping_gateway/manager.py:55 #: assets/automations/ping_gateway/manager.py:55
#, python-brace-format #, python-brace-format
msgid "Unable to connect to port {port} on {address}" msgid "Unable to connect to port {port} on {address}"
@ -1043,11 +1049,10 @@ msgstr "SSHパブリックキー"
#: assets/models/_user.py:27 assets/models/cmd_filter.py:40 #: assets/models/_user.py:27 assets/models/cmd_filter.py:40
#: assets/models/cmd_filter.py:88 assets/models/group.py:23 #: assets/models/cmd_filter.py:88 assets/models/group.py:23
#: assets/models/platform.py:79 common/db/models.py:37 ops/models/adhoc.py:27 #: common/db/models.py:37 ops/models/adhoc.py:27 ops/models/job.py:45
#: ops/models/job.py:45 ops/models/playbook.py:26 rbac/models/role.py:37 #: ops/models/playbook.py:26 rbac/models/role.py:37 settings/models.py:38
#: settings/models.py:38 terminal/models/applet/applet.py:35 #: terminal/models/applet/applet.py:35 terminal/models/applet/applet.py:151
#: terminal/models/applet/applet.py:151 terminal/models/applet/host.py:110 #: terminal/models/applet/host.py:110 terminal/models/component/endpoint.py:24
#: terminal/models/component/endpoint.py:24
#: terminal/models/component/endpoint.py:100 #: terminal/models/component/endpoint.py:100
#: terminal/models/session/session.py:47 tickets/models/comment.py:32 #: terminal/models/session/session.py:47 tickets/models/comment.py:32
#: tickets/models/ticket/general.py:297 users/models/user.py:756 #: tickets/models/ticket/general.py:297 users/models/user.py:756
@ -1057,7 +1062,7 @@ msgstr "コメント"
#: assets/models/_user.py:28 assets/models/automations/base.py:113 #: assets/models/_user.py:28 assets/models/automations/base.py:113
#: assets/models/cmd_filter.py:41 assets/models/group.py:22 #: assets/models/cmd_filter.py:41 assets/models/group.py:22
#: common/db/models.py:35 ops/models/base.py:54 ops/models/job.py:118 #: common/db/models.py:35 ops/models/base.py:54 ops/models/job.py:121
#: users/models/user.py:943 #: users/models/user.py:943
msgid "Date created" msgid "Date created"
msgstr "作成された日付" msgstr "作成された日付"
@ -1149,7 +1154,7 @@ msgstr "システムユーザーに一致できます"
msgid "Cloud" msgid "Cloud"
msgstr "クラウド サービス" msgstr "クラウド サービス"
#: assets/models/asset/common.py:91 assets/models/platform.py:21 #: assets/models/asset/common.py:91 assets/models/platform.py:22
#: settings/serializers/auth/radius.py:17 settings/serializers/auth/sms.py:68 #: settings/serializers/auth/radius.py:17 settings/serializers/auth/sms.py:68
#: xpack/plugins/cloud/serializers/account_attrs.py:73 #: xpack/plugins/cloud/serializers/account_attrs.py:73
msgid "Port" msgid "Port"
@ -1159,7 +1164,7 @@ msgstr "ポート"
msgid "Address" msgid "Address"
msgstr "アドレス" msgstr "アドレス"
#: assets/models/asset/common.py:104 assets/models/platform.py:111 #: assets/models/asset/common.py:104 assets/models/platform.py:112
#: authentication/serializers/connect_token_secret.py:108 #: authentication/serializers/connect_token_secret.py:108
#: perms/serializers/user_permission.py:23 #: perms/serializers/user_permission.py:23
#: xpack/plugins/cloud/serializers/account_attrs.py:187 #: xpack/plugins/cloud/serializers/account_attrs.py:187
@ -1197,16 +1202,8 @@ msgid "Can match asset"
msgstr "アセットを一致させることができます" msgstr "アセットを一致させることができます"
#: assets/models/asset/common.py:287 #: assets/models/asset/common.py:287
msgid "Add asset to node" msgid "Can change asset nodes"
msgstr "ノードにアセットを追加する" msgstr "資産ノードを変更できます"
#: assets/models/asset/common.py:288
msgid "Move asset to node"
msgstr "アセットをノードに移動する"
#: assets/models/asset/common.py:289
msgid "Remove asset from node"
msgstr "ノードからアセットを削除"
#: assets/models/asset/database.py:10 assets/serializers/asset/common.py:110 #: assets/models/asset/database.py:10 assets/serializers/asset/common.py:110
#: settings/serializers/email.py:37 #: settings/serializers/email.py:37
@ -1262,7 +1259,7 @@ msgid "Asset automation task"
msgstr "アセットの自動化タスク" msgstr "アセットの自動化タスク"
#: assets/models/automations/base.py:112 audits/models.py:177 #: assets/models/automations/base.py:112 audits/models.py:177
#: audits/serializers.py:49 ops/models/base.py:49 ops/models/job.py:111 #: audits/serializers.py:49 ops/models/base.py:49 ops/models/job.py:114
#: terminal/models/applet/applet.py:150 terminal/models/applet/host.py:107 #: terminal/models/applet/applet.py:150 terminal/models/applet/host.py:107
#: terminal/models/component/status.py:27 terminal/serializers/applet.py:17 #: terminal/models/component/status.py:27 terminal/serializers/applet.py:17
#: terminal/serializers/applet_host.py:93 tickets/models/ticket/general.py:283 #: terminal/serializers/applet_host.py:93 tickets/models/ticket/general.py:283
@ -1330,7 +1327,7 @@ msgstr "ゲートウェイ"
msgid "Asset group" msgid "Asset group"
msgstr "資産グループ" msgstr "資産グループ"
#: assets/models/group.py:34 assets/models/platform.py:18 #: assets/models/group.py:34 assets/models/platform.py:19
#: xpack/plugins/cloud/providers/nutanix.py:30 #: xpack/plugins/cloud/providers/nutanix.py:30
msgid "Default" msgid "Default"
msgstr "デフォルト" msgstr "デフォルト"
@ -1387,91 +1384,91 @@ msgstr "ノード"
msgid "Can match node" msgid "Can match node"
msgstr "ノードを一致させることができます" msgstr "ノードを一致させることができます"
#: assets/models/platform.py:19 #: assets/models/platform.py:20
msgid "Required" msgid "Required"
msgstr "必要" msgstr "必要"
#: assets/models/platform.py:22 settings/serializers/settings.py:61 #: assets/models/platform.py:23 settings/serializers/settings.py:61
#: users/templates/users/reset_password.html:29 #: users/templates/users/reset_password.html:29
msgid "Setting" msgid "Setting"
msgstr "設定" msgstr "設定"
#: assets/models/platform.py:41 audits/const.py:47 settings/models.py:37 #: assets/models/platform.py:42 audits/const.py:47 settings/models.py:37
#: terminal/serializers/applet_host.py:29 #: terminal/serializers/applet_host.py:29
msgid "Enabled" msgid "Enabled"
msgstr "有効化" msgstr "有効化"
#: assets/models/platform.py:42 #: assets/models/platform.py:43
msgid "Ansible config" msgid "Ansible config"
msgstr "Ansible 構成" msgstr "Ansible 構成"
#: assets/models/platform.py:43 assets/serializers/platform.py:60 #: assets/models/platform.py:44 assets/serializers/platform.py:60
msgid "Ping enabled" msgid "Ping enabled"
msgstr "アセット ディスカバリを有効にする" msgstr "アセット ディスカバリを有効にする"
#: assets/models/platform.py:44 assets/serializers/platform.py:61 #: assets/models/platform.py:45 assets/serializers/platform.py:61
msgid "Ping method" msgid "Ping method"
msgstr "資産検出方法" msgstr "資産検出方法"
#: assets/models/platform.py:45 assets/models/platform.py:58 #: assets/models/platform.py:46 assets/models/platform.py:59
#: assets/serializers/platform.py:62 #: assets/serializers/platform.py:62
msgid "Gather facts enabled" msgid "Gather facts enabled"
msgstr "資産情報の収集を有効にする" msgstr "資産情報の収集を有効にする"
#: assets/models/platform.py:46 assets/models/platform.py:60 #: assets/models/platform.py:47 assets/models/platform.py:61
#: assets/serializers/platform.py:63 #: assets/serializers/platform.py:63
msgid "Gather facts method" msgid "Gather facts method"
msgstr "情報収集の方法" msgstr "情報収集の方法"
#: assets/models/platform.py:47 assets/serializers/platform.py:66 #: assets/models/platform.py:48 assets/serializers/platform.py:66
msgid "Change secret enabled" msgid "Change secret enabled"
msgstr "パスワードの変更が有効" msgstr "パスワードの変更が有効"
#: assets/models/platform.py:49 assets/serializers/platform.py:67 #: assets/models/platform.py:50 assets/serializers/platform.py:67
msgid "Change secret method" msgid "Change secret method"
msgstr "パスワード変更モード" msgstr "パスワード変更モード"
#: assets/models/platform.py:51 assets/serializers/platform.py:68 #: assets/models/platform.py:52 assets/serializers/platform.py:68
msgid "Push account enabled" msgid "Push account enabled"
msgstr "アカウントのプッシュを有効にする" msgstr "アカウントのプッシュを有効にする"
#: assets/models/platform.py:53 assets/serializers/platform.py:69 #: assets/models/platform.py:54 assets/serializers/platform.py:69
msgid "Push account method" msgid "Push account method"
msgstr "アカウントプッシュ方式" msgstr "アカウントプッシュ方式"
#: assets/models/platform.py:55 assets/serializers/platform.py:64 #: assets/models/platform.py:56 assets/serializers/platform.py:64
msgid "Verify account enabled" msgid "Verify account enabled"
msgstr "アカウントの確認をオンにする" msgstr "アカウントの確認をオンにする"
#: assets/models/platform.py:57 assets/serializers/platform.py:65 #: assets/models/platform.py:58 assets/serializers/platform.py:65
msgid "Verify account method" msgid "Verify account method"
msgstr "アカウント認証方法" msgstr "アカウント認証方法"
#: assets/models/platform.py:77 tickets/models/ticket/general.py:300 #: assets/models/platform.py:79 tickets/models/ticket/general.py:300
msgid "Meta" msgid "Meta"
msgstr "メタ" msgstr "メタ"
#: assets/models/platform.py:78 #: assets/models/platform.py:80
msgid "Internal" msgid "Internal"
msgstr "ビルトイン" msgstr "ビルトイン"
#: assets/models/platform.py:82 assets/serializers/platform.py:90 #: assets/models/platform.py:83 assets/serializers/platform.py:90
msgid "Charset" msgid "Charset"
msgstr "シャーセット" msgstr "シャーセット"
#: assets/models/platform.py:84 assets/serializers/platform.py:117 #: assets/models/platform.py:85 assets/serializers/platform.py:118
msgid "Domain enabled" msgid "Domain enabled"
msgstr "ドメインを有効にする" msgstr "ドメインを有効にする"
#: assets/models/platform.py:86 assets/serializers/platform.py:116 #: assets/models/platform.py:87 assets/serializers/platform.py:117
msgid "Su enabled" msgid "Su enabled"
msgstr "アカウントの切り替えを有効にする" msgstr "アカウントの切り替えを有効にする"
#: assets/models/platform.py:87 assets/serializers/platform.py:100 #: assets/models/platform.py:88 assets/serializers/platform.py:100
msgid "Su method" msgid "Su method"
msgstr "アカウントの切り替え方法" msgstr "アカウントの切り替え方法"
#: assets/models/platform.py:89 assets/serializers/platform.py:97 #: assets/models/platform.py:90 assets/serializers/platform.py:97
msgid "Automation" msgid "Automation"
msgstr "オートメーション" msgstr "オートメーション"
@ -1620,7 +1617,7 @@ msgstr "アカウントの収集方法"
msgid "Primary" msgid "Primary"
msgstr "主要" msgstr "主要"
#: assets/serializers/platform.py:118 #: assets/serializers/platform.py:119
msgid "Default Domain" msgid "Default Domain"
msgstr "デフォルト ドメイン" msgstr "デフォルト ドメイン"
@ -1628,7 +1625,7 @@ msgstr "デフォルト ドメイン"
msgid "Test assets connectivity " msgid "Test assets connectivity "
msgstr "アセット接続のテスト。" msgstr "アセット接続のテスト。"
#: assets/signal_handlers/asset.py:35 #: assets/signal_handlers/asset.py:36
msgid "Gather asset hardware info" msgid "Gather asset hardware info"
msgstr "資産ハードウェア情報の収集" msgstr "資産ハードウェア情報の収集"
@ -1781,8 +1778,8 @@ msgstr "セッションログ"
msgid "Login log" msgid "Login log"
msgstr "ログインログ" msgstr "ログインログ"
#: audits/const.py:42 ops/signal_handlers.py:86 #: audits/const.py:42 terminal/models/applet/host.py:111
#: terminal/models/applet/host.py:111 terminal/models/component/task.py:24 #: terminal/models/component/task.py:24
msgid "Task" msgid "Task"
msgstr "タスク" msgstr "タスク"
@ -1981,7 +1978,7 @@ msgstr "ACL アクションはレビューです"
msgid "Current user not support mfa type: {}" msgid "Current user not support mfa type: {}"
msgstr "現在のユーザーはmfaタイプをサポートしていません: {}" msgstr "現在のユーザーはmfaタイプをサポートしていません: {}"
#: authentication/api/password.py:31 terminal/api/session/session.py:244 #: authentication/api/password.py:31 terminal/api/session/session.py:247
#: users/views/profile/reset.py:44 #: users/views/profile/reset.py:44
msgid "User does not exist: {}" msgid "User does not exist: {}"
msgstr "ユーザーが存在しない: {}" msgstr "ユーザーが存在しない: {}"
@ -3341,7 +3338,7 @@ msgid "Args"
msgstr "アルグ" msgstr "アルグ"
#: ops/models/adhoc.py:26 ops/models/base.py:16 ops/models/base.py:53 #: ops/models/adhoc.py:26 ops/models/base.py:16 ops/models/base.py:53
#: ops/models/job.py:38 ops/models/job.py:117 ops/models/playbook.py:25 #: ops/models/job.py:38 ops/models/job.py:120 ops/models/playbook.py:25
#: terminal/models/session/sharing.py:23 #: terminal/models/session/sharing.py:23
msgid "Creator" msgid "Creator"
msgstr "作成者" msgstr "作成者"
@ -3358,12 +3355,12 @@ msgstr "最後の実行"
msgid "Date last run" msgid "Date last run"
msgstr "最終実行日" msgstr "最終実行日"
#: ops/models/base.py:51 ops/models/job.py:115 #: ops/models/base.py:51 ops/models/job.py:118
#: xpack/plugins/cloud/models.py:162 #: xpack/plugins/cloud/models.py:162
msgid "Result" msgid "Result"
msgstr "結果" msgstr "結果"
#: ops/models/base.py:52 ops/models/job.py:116 #: ops/models/base.py:52 ops/models/job.py:119
msgid "Summary" msgid "Summary"
msgstr "概要" msgstr "概要"
@ -3427,23 +3424,23 @@ msgstr "ユーザーとして実行"
msgid "Runas policy" msgid "Runas policy"
msgstr "ユーザー ポリシー" msgstr "ユーザー ポリシー"
#: ops/models/job.py:103 #: ops/models/job.py:106
msgid "Job" msgid "Job"
msgstr "ジョブ#ジョブ#" msgstr "ジョブ#ジョブ#"
#: ops/models/job.py:114 #: ops/models/job.py:117
msgid "Parameters" msgid "Parameters"
msgstr "パラメータ" msgstr "パラメータ"
#: ops/models/job.py:122 #: ops/models/job.py:125
msgid "Material" msgid "Material"
msgstr "" msgstr ""
#: ops/models/job.py:124 #: ops/models/job.py:127
msgid "Material Type" msgid "Material Type"
msgstr "" msgstr ""
#: ops/models/job.py:361 #: ops/models/job.py:364
msgid "Job Execution" msgid "Job Execution"
msgstr "ジョブ実行" msgstr "ジョブ実行"
@ -3559,18 +3556,18 @@ msgstr "ジョブのID"
msgid "Name of the job" msgid "Name of the job"
msgstr "ジョブの名前" msgstr "ジョブの名前"
#: orgs/api.py:63 #: orgs/api.py:62
msgid "The current organization ({}) cannot be deleted" msgid "The current organization ({}) cannot be deleted"
msgstr "現在の組織 ({}) は削除できません" msgstr "現在の組織 ({}) は削除できません"
#: orgs/api.py:68 #: orgs/api.py:67
msgid "" msgid ""
"LDAP synchronization is set to the current organization. Please switch to " "LDAP synchronization is set to the current organization. Please switch to "
"another organization before deleting" "another organization before deleting"
msgstr "" msgstr ""
"LDAP 同期は現在の組織に設定されます。削除する前に別の組織に切り替えてください" "LDAP 同期は現在の組織に設定されます。削除する前に別の組織に切り替えてください"
#: orgs/api.py:78 #: orgs/api.py:77
msgid "The organization have resource ({}) cannot be deleted" msgid "The organization have resource ({}) cannot be deleted"
msgstr "組織のリソース ({}) は削除できません" msgstr "組織のリソース ({}) は削除できません"
@ -5337,15 +5334,15 @@ msgstr "テスト失敗: アカウントが無効"
msgid "Have online sessions" msgid "Have online sessions"
msgstr "オンラインセッションを持つ" msgstr "オンラインセッションを持つ"
#: terminal/api/session/session.py:236 #: terminal/api/session/session.py:239
msgid "Session does not exist: {}" msgid "Session does not exist: {}"
msgstr "セッションが存在しません: {}" msgstr "セッションが存在しません: {}"
#: terminal/api/session/session.py:239 #: terminal/api/session/session.py:242
msgid "Session is finished or the protocol not supported" msgid "Session is finished or the protocol not supported"
msgstr "セッションが終了したか、プロトコルがサポートされていません" msgstr "セッションが終了したか、プロトコルがサポートされていません"
#: terminal/api/session/session.py:252 #: terminal/api/session/session.py:255
msgid "User does not have permission" msgid "User does not have permission"
msgstr "ユーザーに権限がありません" msgstr "ユーザーに権限がありません"
@ -6245,7 +6242,7 @@ msgstr "無効な承認アクション"
msgid "This user is not authorized to approve this ticket" msgid "This user is not authorized to approve this ticket"
msgstr "このユーザーはこの作業指示を承認する権限がありません" msgstr "このユーザーはこの作業指示を承認する権限がありません"
#: users/api/user.py:179 #: users/api/user.py:178
msgid "Could not reset self otp, use profile reset instead" msgid "Could not reset self otp, use profile reset instead"
msgstr "自己otpをリセットできませんでした、代わりにプロファイルリセットを使用" msgstr "自己otpをリセットできませんでした、代わりにプロファイルリセットを使用"
@ -7289,14 +7286,6 @@ msgstr "実行回数"
msgid "Instance count" msgid "Instance count"
msgstr "インスタンス数" msgstr "インスタンス数"
#: xpack/plugins/cloud/tasks.py:27
msgid "Run sync instance task"
msgstr "同期インスタンス タスクを実行する"
#: xpack/plugins/cloud/tasks.py:41
msgid "Period clean sync instance task execution"
msgstr "同期インスタンス タスクの実行記録を定期的にクリアする"
#: xpack/plugins/cloud/utils.py:69 #: xpack/plugins/cloud/utils.py:69
msgid "Account unavailable" msgid "Account unavailable"
msgstr "利用できないアカウント" msgstr "利用できないアカウント"
@ -7364,3 +7353,18 @@ msgstr "究極のエディション"
#: xpack/plugins/license/models.py:85 #: xpack/plugins/license/models.py:85
msgid "Community edition" msgid "Community edition"
msgstr "コミュニティ版" msgstr "コミュニティ版"
#~ msgid "Add asset to node"
#~ msgstr "ノードにアセットを追加する"
#~ msgid "Move asset to node"
#~ msgstr "アセットをノードに移動する"
#~ msgid "Remove asset from node"
#~ msgstr "ノードからアセットを削除"
#~ msgid "Run sync instance task"
#~ msgstr "同期インスタンス タスクを実行する"
#~ msgid "Period clean sync instance task execution"
#~ msgstr "同期インスタンス タスクの実行記録を定期的にクリアする"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:e078689bb42c8b769f77944c3498f367562da35346fcd0c6c2766c85e5107d1b oid sha256:c18587f19a5d5723a65592162020f8e43b1f69572ec437a83ba914d636f0f32b
size 111727 size 111452

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n" "Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-20 15:19+0800\n" "POT-Creation-Date: 2023-02-21 13:00+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n" "Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n" "Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -157,8 +157,9 @@ msgstr "创建并推送"
msgid "Only create" msgid "Only create"
msgstr "仅创建" msgstr "仅创建"
#: accounts/models/account.py:47 accounts/models/gathered_account.py:14 #: accounts/models/account.py:47
#: accounts/serializers/account/account.py:97 #: accounts/models/automations/gather_account.py:16
#: accounts/serializers/account/account.py:95
#: accounts/serializers/account/gathered_account.py:10 #: accounts/serializers/account/gathered_account.py:10
#: accounts/serializers/automations/change_secret.py:107 #: accounts/serializers/automations/change_secret.py:107
#: accounts/serializers/automations/change_secret.py:127 #: accounts/serializers/automations/change_secret.py:127
@ -174,7 +175,7 @@ msgstr "仅创建"
msgid "Asset" msgid "Asset"
msgstr "资产" msgstr "资产"
#: accounts/models/account.py:51 accounts/serializers/account/account.py:101 #: accounts/models/account.py:51 accounts/serializers/account/account.py:99
#: authentication/serializers/connect_token_secret.py:50 #: authentication/serializers/connect_token_secret.py:50
msgid "Su from" msgid "Su from"
msgstr "切换自" msgstr "切换自"
@ -184,7 +185,7 @@ msgstr "切换自"
msgid "Version" msgid "Version"
msgstr "版本" msgstr "版本"
#: accounts/models/account.py:55 accounts/serializers/account/account.py:98 #: accounts/models/account.py:55 accounts/serializers/account/account.py:96
#: users/models/user.py:768 #: users/models/user.py:768
msgid "Source" msgid "Source"
msgstr "来源" msgstr "来源"
@ -227,7 +228,7 @@ msgstr "可以更改资产账号模版密码"
#: accounts/models/automations/backup_account.py:27 #: accounts/models/automations/backup_account.py:27
#: accounts/models/automations/change_secret.py:47 #: accounts/models/automations/change_secret.py:47
#: accounts/serializers/account/backup.py:32 #: accounts/serializers/account/backup.py:34
#: accounts/serializers/automations/change_secret.py:56 #: accounts/serializers/automations/change_secret.py:56
msgid "Recipient" msgid "Recipient"
msgstr "收件人" msgstr "收件人"
@ -239,7 +240,7 @@ msgstr "账号备份计划"
#: accounts/models/automations/backup_account.py:83 #: accounts/models/automations/backup_account.py:83
#: assets/models/automations/base.py:114 audits/models.py:55 #: assets/models/automations/base.py:114 audits/models.py:55
#: ops/models/base.py:55 ops/models/celery.py:63 ops/models/job.py:119 #: ops/models/base.py:55 ops/models/celery.py:63 ops/models/job.py:122
#: perms/models/asset_permission.py:72 terminal/models/applet/host.py:108 #: perms/models/asset_permission.py:72 terminal/models/applet/host.py:108
#: terminal/models/session/session.py:45 #: terminal/models/session/session.py:45
#: tickets/models/ticket/apply_application.py:30 #: tickets/models/ticket/apply_application.py:30
@ -258,7 +259,7 @@ msgid "Account backup snapshot"
msgstr "账号备份快照" msgstr "账号备份快照"
#: accounts/models/automations/backup_account.py:94 #: accounts/models/automations/backup_account.py:94
#: accounts/serializers/account/backup.py:40 #: accounts/serializers/account/backup.py:42
#: accounts/serializers/automations/base.py:44 #: accounts/serializers/automations/base.py:44
#: assets/models/automations/base.py:121 #: assets/models/automations/base.py:121
#: assets/serializers/automations/base.py:40 #: assets/serializers/automations/base.py:40
@ -318,7 +319,7 @@ msgid "Can add push account execution"
msgstr "创建推送账号执行" msgstr "创建推送账号执行"
#: accounts/models/automations/change_secret.py:17 accounts/models/base.py:36 #: accounts/models/automations/change_secret.py:17 accounts/models/base.py:36
#: accounts/serializers/account/account.py:134 #: accounts/serializers/account/account.py:132
#: accounts/serializers/account/base.py:16 #: accounts/serializers/account/base.py:16
#: accounts/serializers/automations/change_secret.py:46 #: accounts/serializers/automations/change_secret.py:46
#: authentication/serializers/connect_token_secret.py:41 #: authentication/serializers/connect_token_secret.py:41
@ -326,12 +327,7 @@ msgstr "创建推送账号执行"
msgid "Secret type" msgid "Secret type"
msgstr "密文类型" msgstr "密文类型"
#: accounts/models/automations/change_secret.py:21 #: accounts/models/automations/change_secret.py:19
#: accounts/serializers/automations/change_secret.py:40
msgid "Secret strategy"
msgstr "密文策略"
#: accounts/models/automations/change_secret.py:23
#: accounts/models/automations/change_secret.py:72 accounts/models/base.py:38 #: accounts/models/automations/change_secret.py:72 accounts/models/base.py:38
#: authentication/models/temp_token.py:10 #: authentication/models/temp_token.py:10
#: authentication/templates/authentication/_access_key_modal.html:31 #: authentication/templates/authentication/_access_key_modal.html:31
@ -339,6 +335,11 @@ msgstr "密文策略"
msgid "Secret" msgid "Secret"
msgstr "密钥" msgstr "密钥"
#: accounts/models/automations/change_secret.py:22
#: accounts/serializers/automations/change_secret.py:40
msgid "Secret strategy"
msgstr "密文策略"
#: accounts/models/automations/change_secret.py:24 #: accounts/models/automations/change_secret.py:24
msgid "Password rules" msgid "Password rules"
msgstr "密码规则" msgstr "密码规则"
@ -361,7 +362,7 @@ msgstr "开始日期"
#: accounts/models/automations/change_secret.py:74 #: accounts/models/automations/change_secret.py:74
#: assets/models/automations/base.py:115 ops/models/base.py:56 #: assets/models/automations/base.py:115 ops/models/base.py:56
#: ops/models/celery.py:64 ops/models/job.py:120 #: ops/models/celery.py:64 ops/models/job.py:123
#: terminal/models/applet/host.py:109 #: terminal/models/applet/host.py:109
msgid "Date finished" msgid "Date finished"
msgstr "结束日期" msgstr "结束日期"
@ -375,20 +376,19 @@ msgstr "错误"
msgid "Change secret record" msgid "Change secret record"
msgstr "改密记录" msgstr "改密记录"
#: accounts/models/automations/gather_account.py:14
msgid "Present"
msgstr "存在"
#: accounts/models/automations/gather_account.py:15 #: accounts/models/automations/gather_account.py:15
#: accounts/tasks/gather_accounts.py:29 msgid "Date last login"
msgid "Gather asset accounts" msgstr "最后登录日期"
msgstr "收集账号"
#: accounts/models/automations/push_account.py:13 #: accounts/models/automations/gather_account.py:17
msgid "Triggers" #: accounts/models/automations/push_account.py:13 accounts/models/base.py:34
msgstr "触发方式" #: acls/serializers/base.py:18 acls/serializers/base.py:49
#: assets/models/_user.py:23 audits/models.py:157 authentication/forms.py:25
#: accounts/models/automations/push_account.py:14 accounts/models/base.py:34 #: authentication/forms.py:27 authentication/models/temp_token.py:9
#: accounts/models/gathered_account.py:15 acls/serializers/base.py:18
#: acls/serializers/base.py:49 assets/models/_user.py:23 audits/models.py:157
#: authentication/forms.py:25 authentication/forms.py:27
#: authentication/models/temp_token.py:9
#: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_different_city.html:9
#: authentication/templates/authentication/_msg_oauth_bind.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9
#: users/forms/profile.py:32 users/forms/profile.py:112 #: users/forms/profile.py:32 users/forms/profile.py:112
@ -397,7 +397,24 @@ msgstr "触发方式"
msgid "Username" msgid "Username"
msgstr "用户名" msgstr "用户名"
#: accounts/models/automations/push_account.py:15 acls/models/base.py:81 #: accounts/models/automations/gather_account.py:18
msgid "Address last login"
msgstr "最后登录地址"
#: accounts/models/automations/gather_account.py:25 rbac/tree.py:50
msgid "Gather account"
msgstr "收集账号"
#: accounts/models/automations/gather_account.py:41
#: accounts/tasks/gather_accounts.py:29
msgid "Gather asset accounts"
msgstr "收集账号"
#: accounts/models/automations/push_account.py:12
msgid "Triggers"
msgstr "触发方式"
#: accounts/models/automations/push_account.py:14 acls/models/base.py:81
#: acls/serializers/base.py:81 acls/serializers/login_acl.py:25 #: acls/serializers/base.py:81 acls/serializers/login_acl.py:25
#: assets/models/cmd_filter.py:81 audits/models.py:65 audits/serializers.py:82 #: assets/models/cmd_filter.py:81 audits/models.py:65 audits/serializers.py:82
#: authentication/serializers/connect_token_secret.py:109 #: authentication/serializers/connect_token_secret.py:109
@ -405,7 +422,7 @@ msgstr "用户名"
msgid "Action" msgid "Action"
msgstr "动作" msgstr "动作"
#: accounts/models/automations/push_account.py:41 #: accounts/models/automations/push_account.py:40
msgid "Push asset account" msgid "Push asset account"
msgstr "账号推送" msgstr "账号推送"
@ -419,14 +436,13 @@ msgstr "账号验证"
#: assets/models/asset/common.py:90 assets/models/asset/common.py:102 #: assets/models/asset/common.py:90 assets/models/asset/common.py:102
#: assets/models/cmd_filter.py:21 assets/models/domain.py:18 #: assets/models/cmd_filter.py:21 assets/models/domain.py:18
#: assets/models/group.py:20 assets/models/label.py:18 #: assets/models/group.py:20 assets/models/label.py:18
#: assets/models/platform.py:20 assets/models/platform.py:74 #: assets/models/platform.py:21 assets/models/platform.py:76
#: assets/serializers/asset/common.py:68 assets/serializers/asset/common.py:142 #: assets/serializers/asset/common.py:68 assets/serializers/asset/common.py:142
#: assets/serializers/platform.py:131 #: assets/serializers/platform.py:132
#: authentication/serializers/connect_token_secret.py:103 ops/mixin.py:21 #: authentication/serializers/connect_token_secret.py:103 ops/mixin.py:21
#: ops/models/adhoc.py:21 ops/models/celery.py:15 ops/models/celery.py:57 #: ops/models/adhoc.py:21 ops/models/celery.py:15 ops/models/celery.py:57
#: ops/models/job.py:26 ops/models/playbook.py:23 ops/serializers/job.py:19 #: ops/models/job.py:26 ops/models/playbook.py:23 ops/serializers/job.py:19
#: ops/serializers/playbook.py:19 orgs/models.py:69 #: orgs/models.py:69 perms/models/asset_permission.py:56 rbac/models/role.py:29
#: perms/models/asset_permission.py:56 rbac/models/role.py:29
#: settings/models.py:33 settings/serializers/sms.py:6 #: settings/models.py:33 settings/serializers/sms.py:6
#: terminal/models/applet/applet.py:26 terminal/models/component/endpoint.py:12 #: terminal/models/applet/applet.py:26 terminal/models/component/endpoint.py:12
#: terminal/models/component/endpoint.py:90 #: terminal/models/component/endpoint.py:90
@ -449,22 +465,6 @@ msgstr "特权账号"
msgid "Is active" msgid "Is active"
msgstr "激活" msgstr "激活"
#: accounts/models/gathered_account.py:12
msgid "Present"
msgstr "存在"
#: accounts/models/gathered_account.py:13
msgid "Date last login"
msgstr "最后登录日期"
#: accounts/models/gathered_account.py:16
msgid "Address last login"
msgstr "最后登录地址"
#: accounts/models/gathered_account.py:23 rbac/tree.py:50
msgid "Gather account"
msgstr "收集账号"
#: accounts/notifications.py:8 #: accounts/notifications.py:8
msgid "Notification of account backup route task results" msgid "Notification of account backup route task results"
msgstr "账号备份任务结果通知" msgstr "账号备份任务结果通知"
@ -503,35 +503,35 @@ msgstr ""
"{} - 改密任务已完成: 未设置加密密码 - 请前往个人信息 -> 文件加密密码中设置加" "{} - 改密任务已完成: 未设置加密密码 - 请前往个人信息 -> 文件加密密码中设置加"
"密密码" "密密码"
#: accounts/serializers/account/account.py:67 #: accounts/serializers/account/account.py:65
#: assets/serializers/asset/common.py:66 settings/serializers/auth/sms.py:75 #: assets/serializers/asset/common.py:66 settings/serializers/auth/sms.py:75
msgid "Template" msgid "Template"
msgstr "模板" msgstr "模板"
#: accounts/serializers/account/account.py:70 #: accounts/serializers/account/account.py:68
#: assets/serializers/asset/common.py:63 #: assets/serializers/asset/common.py:63
msgid "Push now" msgid "Push now"
msgstr "立即推送" msgstr "立即推送"
#: accounts/serializers/account/account.py:72 #: accounts/serializers/account/account.py:70
#: accounts/serializers/account/base.py:62 #: accounts/serializers/account/base.py:62
msgid "Has secret" msgid "Has secret"
msgstr "已托管密码" msgstr "已托管密码"
#: accounts/serializers/account/account.py:77 applications/models.py:11 #: accounts/serializers/account/account.py:75 applications/models.py:11
#: assets/models/label.py:21 assets/models/platform.py:75 #: assets/models/label.py:21 assets/models/platform.py:77
#: assets/serializers/asset/common.py:121 assets/serializers/cagegory.py:8 #: assets/serializers/asset/common.py:121 assets/serializers/cagegory.py:8
#: assets/serializers/platform.py:93 assets/serializers/platform.py:132 #: assets/serializers/platform.py:93 assets/serializers/platform.py:133
#: perms/serializers/user_permission.py:25 settings/models.py:35 #: perms/serializers/user_permission.py:25 settings/models.py:35
#: tickets/models/ticket/apply_application.py:13 #: tickets/models/ticket/apply_application.py:13
msgid "Category" msgid "Category"
msgstr "类别" msgstr "类别"
#: accounts/serializers/account/account.py:78 #: accounts/serializers/account/account.py:76
#: accounts/serializers/automations/base.py:43 acls/models/command_acl.py:24 #: accounts/serializers/automations/base.py:43 acls/models/command_acl.py:24
#: acls/serializers/command_acl.py:18 applications/models.py:14 #: acls/serializers/command_acl.py:18 applications/models.py:14
#: assets/models/_user.py:50 assets/models/automations/base.py:20 #: assets/models/_user.py:50 assets/models/automations/base.py:20
#: assets/models/cmd_filter.py:74 assets/models/platform.py:76 #: assets/models/cmd_filter.py:74 assets/models/platform.py:78
#: assets/serializers/asset/common.py:122 assets/serializers/platform.py:92 #: assets/serializers/asset/common.py:122 assets/serializers/platform.py:92
#: audits/serializers.py:48 #: audits/serializers.py:48
#: authentication/serializers/connect_token_secret.py:116 ops/models/job.py:37 #: authentication/serializers/connect_token_secret.py:116 ops/models/job.py:37
@ -546,28 +546,28 @@ msgstr "类别"
msgid "Type" msgid "Type"
msgstr "类型" msgstr "类型"
#: accounts/serializers/account/account.py:93 #: accounts/serializers/account/account.py:91
msgid "Asset not found" msgid "Asset not found"
msgstr "资产不存在" msgstr "资产不存在"
#: accounts/serializers/account/backup.py:30 #: accounts/serializers/account/backup.py:31
#: accounts/serializers/automations/base.py:36 #: accounts/serializers/automations/base.py:36
#: assets/serializers/automations/base.py:34 ops/mixin.py:23 ops/mixin.py:103 #: assets/serializers/automations/base.py:34 ops/mixin.py:23 ops/mixin.py:103
#: settings/serializers/auth/ldap.py:66 #: settings/serializers/auth/ldap.py:66
msgid "Periodic perform" msgid "Periodic perform"
msgstr "定时执行" msgstr "定时执行"
#: accounts/serializers/account/backup.py:31 #: accounts/serializers/account/backup.py:32
#: accounts/serializers/automations/base.py:37 #: accounts/serializers/automations/base.py:37
msgid "Executed amount" msgid "Executed amount"
msgstr "执行次数" msgstr "执行次数"
#: accounts/serializers/account/backup.py:33 #: accounts/serializers/account/backup.py:35
#: accounts/serializers/automations/change_secret.py:57 #: accounts/serializers/automations/change_secret.py:57
msgid "Currently only mail sending is supported" msgid "Currently only mail sending is supported"
msgstr "当前只支持邮件发送" msgstr "当前只支持邮件发送"
#: accounts/serializers/account/backup.py:35 #: accounts/serializers/account/backup.py:37
msgid "Asset type" msgid "Asset type"
msgstr "资产类型" msgstr "资产类型"
@ -640,7 +640,7 @@ msgstr "失败"
msgid "Account execute automation" msgid "Account execute automation"
msgstr "账号执行自动化" msgstr "账号执行自动化"
#: accounts/tasks/backup_account.py:24 #: accounts/tasks/backup_account.py:25
msgid "Execute account backup plan" msgid "Execute account backup plan"
msgstr "执行账号备份计划" msgstr "执行账号备份计划"
@ -648,15 +648,15 @@ msgstr "执行账号备份计划"
msgid "Gather assets accounts" msgid "Gather assets accounts"
msgstr "收集资产上的账号" msgstr "收集资产上的账号"
#: accounts/tasks/push_account.py:30 accounts/tasks/push_account.py:37 #: accounts/tasks/push_account.py:15 accounts/tasks/push_account.py:23
msgid "Push accounts to assets" msgid "Push accounts to assets"
msgstr "推送账号到资产" msgstr "推送账号到资产"
#: accounts/tasks/verify_account.py:42 #: accounts/tasks/verify_account.py:49
msgid "Verify asset account availability" msgid "Verify asset account availability"
msgstr "验证资产账号可用性" msgstr "验证资产账号可用性"
#: accounts/tasks/verify_account.py:50 #: accounts/tasks/verify_account.py:55
msgid "Verify accounts connectivity" msgid "Verify accounts connectivity"
msgstr "测试账号可连接性" msgstr "测试账号可连接性"
@ -890,11 +890,11 @@ msgstr "应用程序"
msgid "Can match application" msgid "Can match application"
msgstr "匹配应用" msgstr "匹配应用"
#: assets/api/asset/asset.py:145 #: assets/api/asset/asset.py:144
msgid "Cannot create asset directly, you should create a host or other" msgid "Cannot create asset directly, you should create a host or other"
msgstr "不能直接创建资产, 你应该创建主机或其他资产" msgstr "不能直接创建资产, 你应该创建主机或其他资产"
#: assets/api/domain.py:61 #: assets/api/domain.py:60
msgid "Number required" msgid "Number required"
msgstr "需要为数字" msgstr "需要为数字"
@ -914,7 +914,7 @@ msgstr "删除失败,节点包含资产"
msgid "App assets" msgid "App assets"
msgstr "资产管理" msgstr "资产管理"
#: assets/automations/base/manager.py:104 #: assets/automations/base/manager.py:106
msgid "{} disabled" msgid "{} disabled"
msgstr "{} 已禁用" msgstr "{} 已禁用"
@ -923,6 +923,12 @@ msgstr "{} 已禁用"
msgid "No account" msgid "No account"
msgstr "没有账号" msgstr "没有账号"
#: assets/automations/ping_gateway/manager.py:36
#, fuzzy
#| msgid "Assets amount"
msgid "Asset, {}, using account {}"
msgstr "资产数量"
#: assets/automations/ping_gateway/manager.py:55 #: assets/automations/ping_gateway/manager.py:55
#, python-brace-format #, python-brace-format
msgid "Unable to connect to port {port} on {address}" msgid "Unable to connect to port {port} on {address}"
@ -1035,11 +1041,10 @@ msgstr "SSH公钥"
#: assets/models/_user.py:27 assets/models/cmd_filter.py:40 #: assets/models/_user.py:27 assets/models/cmd_filter.py:40
#: assets/models/cmd_filter.py:88 assets/models/group.py:23 #: assets/models/cmd_filter.py:88 assets/models/group.py:23
#: assets/models/platform.py:79 common/db/models.py:37 ops/models/adhoc.py:27 #: common/db/models.py:37 ops/models/adhoc.py:27 ops/models/job.py:45
#: ops/models/job.py:45 ops/models/playbook.py:26 rbac/models/role.py:37 #: ops/models/playbook.py:26 rbac/models/role.py:37 settings/models.py:38
#: settings/models.py:38 terminal/models/applet/applet.py:35 #: terminal/models/applet/applet.py:35 terminal/models/applet/applet.py:151
#: terminal/models/applet/applet.py:151 terminal/models/applet/host.py:110 #: terminal/models/applet/host.py:110 terminal/models/component/endpoint.py:24
#: terminal/models/component/endpoint.py:24
#: terminal/models/component/endpoint.py:100 #: terminal/models/component/endpoint.py:100
#: terminal/models/session/session.py:47 tickets/models/comment.py:32 #: terminal/models/session/session.py:47 tickets/models/comment.py:32
#: tickets/models/ticket/general.py:297 users/models/user.py:756 #: tickets/models/ticket/general.py:297 users/models/user.py:756
@ -1049,7 +1054,7 @@ msgstr "备注"
#: assets/models/_user.py:28 assets/models/automations/base.py:113 #: assets/models/_user.py:28 assets/models/automations/base.py:113
#: assets/models/cmd_filter.py:41 assets/models/group.py:22 #: assets/models/cmd_filter.py:41 assets/models/group.py:22
#: common/db/models.py:35 ops/models/base.py:54 ops/models/job.py:118 #: common/db/models.py:35 ops/models/base.py:54 ops/models/job.py:121
#: users/models/user.py:943 #: users/models/user.py:943
msgid "Date created" msgid "Date created"
msgstr "创建日期" msgstr "创建日期"
@ -1141,7 +1146,7 @@ msgstr "可以匹配系统用户"
msgid "Cloud" msgid "Cloud"
msgstr "云服务" msgstr "云服务"
#: assets/models/asset/common.py:91 assets/models/platform.py:21 #: assets/models/asset/common.py:91 assets/models/platform.py:22
#: settings/serializers/auth/radius.py:17 settings/serializers/auth/sms.py:68 #: settings/serializers/auth/radius.py:17 settings/serializers/auth/sms.py:68
#: xpack/plugins/cloud/serializers/account_attrs.py:73 #: xpack/plugins/cloud/serializers/account_attrs.py:73
msgid "Port" msgid "Port"
@ -1151,7 +1156,7 @@ msgstr "端口"
msgid "Address" msgid "Address"
msgstr "地址" msgstr "地址"
#: assets/models/asset/common.py:104 assets/models/platform.py:111 #: assets/models/asset/common.py:104 assets/models/platform.py:112
#: authentication/serializers/connect_token_secret.py:108 #: authentication/serializers/connect_token_secret.py:108
#: perms/serializers/user_permission.py:23 #: perms/serializers/user_permission.py:23
#: xpack/plugins/cloud/serializers/account_attrs.py:187 #: xpack/plugins/cloud/serializers/account_attrs.py:187
@ -1189,16 +1194,8 @@ msgid "Can match asset"
msgstr "可以匹配资产" msgstr "可以匹配资产"
#: assets/models/asset/common.py:287 #: assets/models/asset/common.py:287
msgid "Add asset to node" msgid "Can change asset nodes"
msgstr "添加资产到节点" msgstr "可以修改资产节点"
#: assets/models/asset/common.py:288
msgid "Move asset to node"
msgstr "移动资产到节点"
#: assets/models/asset/common.py:289
msgid "Remove asset from node"
msgstr "从节点移除资产"
#: assets/models/asset/database.py:10 assets/serializers/asset/common.py:110 #: assets/models/asset/database.py:10 assets/serializers/asset/common.py:110
#: settings/serializers/email.py:37 #: settings/serializers/email.py:37
@ -1254,7 +1251,7 @@ msgid "Asset automation task"
msgstr "资产自动化任务" msgstr "资产自动化任务"
#: assets/models/automations/base.py:112 audits/models.py:177 #: assets/models/automations/base.py:112 audits/models.py:177
#: audits/serializers.py:49 ops/models/base.py:49 ops/models/job.py:111 #: audits/serializers.py:49 ops/models/base.py:49 ops/models/job.py:114
#: terminal/models/applet/applet.py:150 terminal/models/applet/host.py:107 #: terminal/models/applet/applet.py:150 terminal/models/applet/host.py:107
#: terminal/models/component/status.py:27 terminal/serializers/applet.py:17 #: terminal/models/component/status.py:27 terminal/serializers/applet.py:17
#: terminal/serializers/applet_host.py:93 tickets/models/ticket/general.py:283 #: terminal/serializers/applet_host.py:93 tickets/models/ticket/general.py:283
@ -1322,7 +1319,7 @@ msgstr "网关"
msgid "Asset group" msgid "Asset group"
msgstr "资产组" msgstr "资产组"
#: assets/models/group.py:34 assets/models/platform.py:18 #: assets/models/group.py:34 assets/models/platform.py:19
#: xpack/plugins/cloud/providers/nutanix.py:30 #: xpack/plugins/cloud/providers/nutanix.py:30
msgid "Default" msgid "Default"
msgstr "默认" msgstr "默认"
@ -1379,91 +1376,91 @@ msgstr "节点"
msgid "Can match node" msgid "Can match node"
msgstr "可以匹配节点" msgstr "可以匹配节点"
#: assets/models/platform.py:19 #: assets/models/platform.py:20
msgid "Required" msgid "Required"
msgstr "必须的" msgstr "必须的"
#: assets/models/platform.py:22 settings/serializers/settings.py:61 #: assets/models/platform.py:23 settings/serializers/settings.py:61
#: users/templates/users/reset_password.html:29 #: users/templates/users/reset_password.html:29
msgid "Setting" msgid "Setting"
msgstr "设置" msgstr "设置"
#: assets/models/platform.py:41 audits/const.py:47 settings/models.py:37 #: assets/models/platform.py:42 audits/const.py:47 settings/models.py:37
#: terminal/serializers/applet_host.py:29 #: terminal/serializers/applet_host.py:29
msgid "Enabled" msgid "Enabled"
msgstr "启用" msgstr "启用"
#: assets/models/platform.py:42 #: assets/models/platform.py:43
msgid "Ansible config" msgid "Ansible config"
msgstr "Ansible 配置" msgstr "Ansible 配置"
#: assets/models/platform.py:43 assets/serializers/platform.py:60 #: assets/models/platform.py:44 assets/serializers/platform.py:60
msgid "Ping enabled" msgid "Ping enabled"
msgstr "启用资产探活" msgstr "启用资产探活"
#: assets/models/platform.py:44 assets/serializers/platform.py:61 #: assets/models/platform.py:45 assets/serializers/platform.py:61
msgid "Ping method" msgid "Ping method"
msgstr "资产探活方式" msgstr "资产探活方式"
#: assets/models/platform.py:45 assets/models/platform.py:58 #: assets/models/platform.py:46 assets/models/platform.py:59
#: assets/serializers/platform.py:62 #: assets/serializers/platform.py:62
msgid "Gather facts enabled" msgid "Gather facts enabled"
msgstr "启用收集资产信息" msgstr "启用收集资产信息"
#: assets/models/platform.py:46 assets/models/platform.py:60 #: assets/models/platform.py:47 assets/models/platform.py:61
#: assets/serializers/platform.py:63 #: assets/serializers/platform.py:63
msgid "Gather facts method" msgid "Gather facts method"
msgstr "收集信息方式" msgstr "收集信息方式"
#: assets/models/platform.py:47 assets/serializers/platform.py:66 #: assets/models/platform.py:48 assets/serializers/platform.py:66
msgid "Change secret enabled" msgid "Change secret enabled"
msgstr "启用改密" msgstr "启用改密"
#: assets/models/platform.py:49 assets/serializers/platform.py:67 #: assets/models/platform.py:50 assets/serializers/platform.py:67
msgid "Change secret method" msgid "Change secret method"
msgstr "改密方式" msgstr "改密方式"
#: assets/models/platform.py:51 assets/serializers/platform.py:68 #: assets/models/platform.py:52 assets/serializers/platform.py:68
msgid "Push account enabled" msgid "Push account enabled"
msgstr "启用账号推送" msgstr "启用账号推送"
#: assets/models/platform.py:53 assets/serializers/platform.py:69 #: assets/models/platform.py:54 assets/serializers/platform.py:69
msgid "Push account method" msgid "Push account method"
msgstr "账号推送方式" msgstr "账号推送方式"
#: assets/models/platform.py:55 assets/serializers/platform.py:64 #: assets/models/platform.py:56 assets/serializers/platform.py:64
msgid "Verify account enabled" msgid "Verify account enabled"
msgstr "开启账号验证" msgstr "开启账号验证"
#: assets/models/platform.py:57 assets/serializers/platform.py:65 #: assets/models/platform.py:58 assets/serializers/platform.py:65
msgid "Verify account method" msgid "Verify account method"
msgstr "账号验证方式" msgstr "账号验证方式"
#: assets/models/platform.py:77 tickets/models/ticket/general.py:300 #: assets/models/platform.py:79 tickets/models/ticket/general.py:300
msgid "Meta" msgid "Meta"
msgstr "元数据" msgstr "元数据"
#: assets/models/platform.py:78 #: assets/models/platform.py:80
msgid "Internal" msgid "Internal"
msgstr "内置" msgstr "内置"
#: assets/models/platform.py:82 assets/serializers/platform.py:90 #: assets/models/platform.py:83 assets/serializers/platform.py:90
msgid "Charset" msgid "Charset"
msgstr "编码" msgstr "编码"
#: assets/models/platform.py:84 assets/serializers/platform.py:117 #: assets/models/platform.py:85 assets/serializers/platform.py:118
msgid "Domain enabled" msgid "Domain enabled"
msgstr "启用网域" msgstr "启用网域"
#: assets/models/platform.py:86 assets/serializers/platform.py:116 #: assets/models/platform.py:87 assets/serializers/platform.py:117
msgid "Su enabled" msgid "Su enabled"
msgstr "启用账号切换" msgstr "启用账号切换"
#: assets/models/platform.py:87 assets/serializers/platform.py:100 #: assets/models/platform.py:88 assets/serializers/platform.py:100
msgid "Su method" msgid "Su method"
msgstr "账号切换方式" msgstr "账号切换方式"
#: assets/models/platform.py:89 assets/serializers/platform.py:97 #: assets/models/platform.py:90 assets/serializers/platform.py:97
msgid "Automation" msgid "Automation"
msgstr "自动化" msgstr "自动化"
@ -1612,7 +1609,7 @@ msgstr "收集账号方式"
msgid "Primary" msgid "Primary"
msgstr "主要的" msgstr "主要的"
#: assets/serializers/platform.py:118 #: assets/serializers/platform.py:119
msgid "Default Domain" msgid "Default Domain"
msgstr "默认网域" msgstr "默认网域"
@ -1620,7 +1617,7 @@ msgstr "默认网域"
msgid "Test assets connectivity " msgid "Test assets connectivity "
msgstr "测试资产可连接性" msgstr "测试资产可连接性"
#: assets/signal_handlers/asset.py:35 #: assets/signal_handlers/asset.py:36
msgid "Gather asset hardware info" msgid "Gather asset hardware info"
msgstr "收集资产硬件信息" msgstr "收集资产硬件信息"
@ -1771,8 +1768,8 @@ msgstr "会话日志"
msgid "Login log" msgid "Login log"
msgstr "登录日志" msgstr "登录日志"
#: audits/const.py:42 ops/signal_handlers.py:86 #: audits/const.py:42 terminal/models/applet/host.py:111
#: terminal/models/applet/host.py:111 terminal/models/component/task.py:24 #: terminal/models/component/task.py:24
msgid "Task" msgid "Task"
msgstr "任务" msgstr "任务"
@ -1971,7 +1968,7 @@ msgstr "ACL 动作是复核"
msgid "Current user not support mfa type: {}" msgid "Current user not support mfa type: {}"
msgstr "当前用户不支持 MFA 类型: {}" msgstr "当前用户不支持 MFA 类型: {}"
#: authentication/api/password.py:31 terminal/api/session/session.py:244 #: authentication/api/password.py:31 terminal/api/session/session.py:247
#: users/views/profile/reset.py:44 #: users/views/profile/reset.py:44
msgid "User does not exist: {}" msgid "User does not exist: {}"
msgstr "用户不存在: {}" msgstr "用户不存在: {}"
@ -3306,7 +3303,7 @@ msgid "Args"
msgstr "参数" msgstr "参数"
#: ops/models/adhoc.py:26 ops/models/base.py:16 ops/models/base.py:53 #: ops/models/adhoc.py:26 ops/models/base.py:16 ops/models/base.py:53
#: ops/models/job.py:38 ops/models/job.py:117 ops/models/playbook.py:25 #: ops/models/job.py:38 ops/models/job.py:120 ops/models/playbook.py:25
#: terminal/models/session/sharing.py:23 #: terminal/models/session/sharing.py:23
msgid "Creator" msgid "Creator"
msgstr "创建者" msgstr "创建者"
@ -3323,12 +3320,12 @@ msgstr "最后执行"
msgid "Date last run" msgid "Date last run"
msgstr "最后运行日期" msgstr "最后运行日期"
#: ops/models/base.py:51 ops/models/job.py:115 #: ops/models/base.py:51 ops/models/job.py:118
#: xpack/plugins/cloud/models.py:162 #: xpack/plugins/cloud/models.py:162
msgid "Result" msgid "Result"
msgstr "结果" msgstr "结果"
#: ops/models/base.py:52 ops/models/job.py:116 #: ops/models/base.py:52 ops/models/job.py:119
msgid "Summary" msgid "Summary"
msgstr "汇总" msgstr "汇总"
@ -3392,23 +3389,23 @@ msgstr "运行用户"
msgid "Runas policy" msgid "Runas policy"
msgstr "用户策略" msgstr "用户策略"
#: ops/models/job.py:103 #: ops/models/job.py:106
msgid "Job" msgid "Job"
msgstr "作业" msgstr "作业"
#: ops/models/job.py:114 #: ops/models/job.py:117
msgid "Parameters" msgid "Parameters"
msgstr "参数" msgstr "参数"
#: ops/models/job.py:122 #: ops/models/job.py:125
msgid "Material" msgid "Material"
msgstr "" msgstr ""
#: ops/models/job.py:124 #: ops/models/job.py:127
msgid "Material Type" msgid "Material Type"
msgstr "" msgstr ""
#: ops/models/job.py:361 #: ops/models/job.py:364
msgid "Job Execution" msgid "Job Execution"
msgstr "作业执行" msgstr "作业执行"
@ -3524,17 +3521,17 @@ msgstr "Job ID"
msgid "Name of the job" msgid "Name of the job"
msgstr "Job 名称" msgstr "Job 名称"
#: orgs/api.py:63 #: orgs/api.py:62
msgid "The current organization ({}) cannot be deleted" msgid "The current organization ({}) cannot be deleted"
msgstr "当前组织 ({}) 不能被删除" msgstr "当前组织 ({}) 不能被删除"
#: orgs/api.py:68 #: orgs/api.py:67
msgid "" msgid ""
"LDAP synchronization is set to the current organization. Please switch to " "LDAP synchronization is set to the current organization. Please switch to "
"another organization before deleting" "another organization before deleting"
msgstr "LDAP 同步设置组织为当前组织,请切换其他组织后再进行删除操作" msgstr "LDAP 同步设置组织为当前组织,请切换其他组织后再进行删除操作"
#: orgs/api.py:78 #: orgs/api.py:77
msgid "The organization have resource ({}) cannot be deleted" msgid "The organization have resource ({}) cannot be deleted"
msgstr "组织存在资源 ({}) 不能被删除" msgstr "组织存在资源 ({}) 不能被删除"
@ -5265,15 +5262,15 @@ msgstr "测试失败: 账号无效"
msgid "Have online sessions" msgid "Have online sessions"
msgstr "有在线会话" msgstr "有在线会话"
#: terminal/api/session/session.py:236 #: terminal/api/session/session.py:239
msgid "Session does not exist: {}" msgid "Session does not exist: {}"
msgstr "会话不存在: {}" msgstr "会话不存在: {}"
#: terminal/api/session/session.py:239 #: terminal/api/session/session.py:242
msgid "Session is finished or the protocol not supported" msgid "Session is finished or the protocol not supported"
msgstr "会话已经完成或协议不支持" msgstr "会话已经完成或协议不支持"
#: terminal/api/session/session.py:252 #: terminal/api/session/session.py:255
msgid "User does not have permission" msgid "User does not have permission"
msgstr "用户没有权限" msgstr "用户没有权限"
@ -6165,7 +6162,7 @@ msgstr "无效的审批动作"
msgid "This user is not authorized to approve this ticket" msgid "This user is not authorized to approve this ticket"
msgstr "此用户无权审批此工单" msgstr "此用户无权审批此工单"
#: users/api/user.py:179 #: users/api/user.py:178
msgid "Could not reset self otp, use profile reset instead" msgid "Could not reset self otp, use profile reset instead"
msgstr "不能在该页面重置 MFA 多因子认证, 请去个人信息页面重置" msgstr "不能在该页面重置 MFA 多因子认证, 请去个人信息页面重置"
@ -7194,14 +7191,6 @@ msgstr "执行次数"
msgid "Instance count" msgid "Instance count"
msgstr "实例个数" msgstr "实例个数"
#: xpack/plugins/cloud/tasks.py:27
msgid "Run sync instance task"
msgstr "执行同步实例任务"
#: xpack/plugins/cloud/tasks.py:41
msgid "Period clean sync instance task execution"
msgstr "定期清除同步实例任务执行记录"
#: xpack/plugins/cloud/utils.py:69 #: xpack/plugins/cloud/utils.py:69
msgid "Account unavailable" msgid "Account unavailable"
msgstr "账号无效" msgstr "账号无效"
@ -7270,6 +7259,21 @@ msgstr "旗舰版"
msgid "Community edition" msgid "Community edition"
msgstr "社区版" msgstr "社区版"
#~ msgid "Add asset to node"
#~ msgstr "添加资产到节点"
#~ msgid "Move asset to node"
#~ msgstr "移动资产到节点"
#~ msgid "Remove asset from node"
#~ msgstr "从节点移除资产"
#~ msgid "Run sync instance task"
#~ msgstr "执行同步实例任务"
#~ msgid "Period clean sync instance task execution"
#~ msgstr "定期清除同步实例任务执行记录"
#~ msgid "Clean audits log" #~ msgid "Clean audits log"
#~ msgstr "清理审计日志" #~ msgstr "清理审计日志"

View File

@ -49,6 +49,8 @@ exclude_permissions = (
('assets', 'gatherfactsautomation', '*', '*'), ('assets', 'gatherfactsautomation', '*', '*'),
('assets', 'commandfilter', '*', '*'), ('assets', 'commandfilter', '*', '*'),
('assets', 'commandfilterrule', '*', '*'), ('assets', 'commandfilterrule', '*', '*'),
('assets', 'asset', 'add,move', 'assettonode'),
('assets', 'asset', 'remove', 'assetfromnode'),
('accounts', 'historicalaccount', '*', '*'), ('accounts', 'historicalaccount', '*', '*'),
('accounts', 'accountbaseautomation', '*', '*'), ('accounts', 'accountbaseautomation', '*', '*'),