mirror of https://github.com/jumpserver/jumpserver
parent
a313753757
commit
510dc1eaf2
|
@ -54,10 +54,13 @@ class ChangeSecretAutomationSerializer(AuthValidateMixin, BaseAutomationSerializ
|
||||||
'ssh_key_change_strategy', 'passphrase', 'recipients', 'params'
|
'ssh_key_change_strategy', 'passphrase', 'recipients', 'params'
|
||||||
]
|
]
|
||||||
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
|
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
|
||||||
'accounts': {'required': True},
|
'accounts': {'required': True, 'help_text': _('Please enter your account username')},
|
||||||
'recipients': {'label': _('Recipient'), 'help_text': _(
|
'recipients': {'label': _('Recipient'), 'help_text': _(
|
||||||
"Currently only mail sending is supported"
|
"Currently only mail sending is supported"
|
||||||
)},
|
)},
|
||||||
|
'params': {'help_text': _(
|
||||||
|
"Secret parameter settings, currently only effective for assets of the host type."
|
||||||
|
)},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -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: 2024-05-31 11:28+0800\n"
|
"POT-Creation-Date: 2024-06-03 10:21+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"
|
||||||
|
@ -112,7 +112,7 @@ msgid "Update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/const/account.py:34 accounts/const/automation.py:109
|
#: accounts/const/account.py:34 accounts/const/automation.py:109
|
||||||
#: accounts/serializers/automations/change_secret.py:164 audits/const.py:62
|
#: accounts/serializers/automations/change_secret.py:167 audits/const.py:62
|
||||||
#: audits/signal_handlers/activity_log.py:33 common/const/choices.py:19
|
#: audits/signal_handlers/activity_log.py:33 common/const/choices.py:19
|
||||||
#: ops/const.py:76 terminal/const.py:79 xpack/plugins/cloud/const.py:47
|
#: ops/const.py:76 terminal/const.py:79 xpack/plugins/cloud/const.py:47
|
||||||
msgid "Failed"
|
msgid "Failed"
|
||||||
|
@ -227,7 +227,7 @@ msgid "SFTP"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/const/automation.py:110
|
#: accounts/const/automation.py:110
|
||||||
#: accounts/serializers/automations/change_secret.py:163 audits/const.py:61
|
#: accounts/serializers/automations/change_secret.py:166 audits/const.py:61
|
||||||
#: audits/models.py:64 audits/signal_handlers/activity_log.py:33
|
#: audits/models.py:64 audits/signal_handlers/activity_log.py:33
|
||||||
#: common/const/choices.py:18 ops/const.py:74 ops/serializers/celery.py:48
|
#: common/const/choices.py:18 ops/const.py:74 ops/serializers/celery.py:48
|
||||||
#: terminal/const.py:78 terminal/models/session/sharing.py:121
|
#: terminal/const.py:78 terminal/models/session/sharing.py:121
|
||||||
|
@ -272,8 +272,8 @@ msgstr ""
|
||||||
#: accounts/serializers/account/account.py:215
|
#: accounts/serializers/account/account.py:215
|
||||||
#: accounts/serializers/account/account.py:260
|
#: accounts/serializers/account/account.py:260
|
||||||
#: accounts/serializers/account/gathered_account.py:10
|
#: accounts/serializers/account/gathered_account.py:10
|
||||||
#: accounts/serializers/automations/change_secret.py:108
|
#: accounts/serializers/automations/change_secret.py:111
|
||||||
#: accounts/serializers/automations/change_secret.py:140
|
#: accounts/serializers/automations/change_secret.py:143
|
||||||
#: accounts/templates/accounts/asset_account_change_info.html:7
|
#: accounts/templates/accounts/asset_account_change_info.html:7
|
||||||
#: accounts/templates/accounts/change_secret_failed_info.html:11
|
#: accounts/templates/accounts/change_secret_failed_info.html:11
|
||||||
#: acls/serializers/base.py:123 assets/models/asset/common.py:95
|
#: acls/serializers/base.py:123 assets/models/asset/common.py:95
|
||||||
|
@ -312,8 +312,8 @@ msgid "Source ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/models/account.py:61
|
#: accounts/models/account.py:61
|
||||||
#: accounts/serializers/automations/change_secret.py:110
|
#: accounts/serializers/automations/change_secret.py:113
|
||||||
#: accounts/serializers/automations/change_secret.py:141
|
#: accounts/serializers/automations/change_secret.py:144
|
||||||
#: accounts/templates/accounts/change_secret_failed_info.html:12
|
#: accounts/templates/accounts/change_secret_failed_info.html:12
|
||||||
#: acls/serializers/base.py:124
|
#: acls/serializers/base.py:124
|
||||||
#: acls/templates/acls/asset_login_reminder.html:10
|
#: acls/templates/acls/asset_login_reminder.html:10
|
||||||
|
@ -424,8 +424,8 @@ msgid "Reason"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/models/automations/backup_account.py:136
|
#: accounts/models/automations/backup_account.py:136
|
||||||
#: accounts/serializers/automations/change_secret.py:107
|
#: accounts/serializers/automations/change_secret.py:110
|
||||||
#: accounts/serializers/automations/change_secret.py:142
|
#: accounts/serializers/automations/change_secret.py:145
|
||||||
#: ops/serializers/job.py:74 terminal/serializers/session.py:52
|
#: ops/serializers/job.py:74 terminal/serializers/session.py:52
|
||||||
msgid "Is success"
|
msgid "Is success"
|
||||||
msgstr "Is success"
|
msgstr "Is success"
|
||||||
|
@ -480,7 +480,7 @@ msgstr ""
|
||||||
#: accounts/serializers/automations/change_secret.py:58
|
#: accounts/serializers/automations/change_secret.py:58
|
||||||
#: settings/serializers/auth/ldap.py:100 settings/serializers/msg.py:45
|
#: settings/serializers/auth/ldap.py:100 settings/serializers/msg.py:45
|
||||||
msgid "Recipient"
|
msgid "Recipient"
|
||||||
msgstr ""
|
msgstr "Recipients"
|
||||||
|
|
||||||
#: accounts/models/automations/change_secret.py:22
|
#: accounts/models/automations/change_secret.py:22
|
||||||
msgid "Change secret automation"
|
msgid "Change secret automation"
|
||||||
|
@ -582,6 +582,7 @@ msgstr ""
|
||||||
#: audits/models.py:92 audits/serializers.py:84
|
#: audits/models.py:92 audits/serializers.py:84
|
||||||
#: authentication/serializers/connect_token_secret.py:119
|
#: authentication/serializers/connect_token_secret.py:119
|
||||||
#: authentication/templates/authentication/_access_key_modal.html:34
|
#: authentication/templates/authentication/_access_key_modal.html:34
|
||||||
|
#: perms/serializers/permission.py:42 perms/serializers/permission.py:64
|
||||||
#: tickets/serializers/ticket/ticket.py:21
|
#: tickets/serializers/ticket/ticket.py:21
|
||||||
msgid "Action"
|
msgid "Action"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -993,15 +994,25 @@ msgstr ""
|
||||||
msgid "SSH Key strategy"
|
msgid "SSH Key strategy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/serializers/automations/change_secret.py:81
|
#: accounts/serializers/automations/change_secret.py:57
|
||||||
|
msgid "Please enter your account username"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: accounts/serializers/automations/change_secret.py:62
|
||||||
|
msgid ""
|
||||||
|
"Secret parameter settings, currently only effective for assets of the host "
|
||||||
|
"type."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: accounts/serializers/automations/change_secret.py:84
|
||||||
msgid "* Please enter the correct password length"
|
msgid "* Please enter the correct password length"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/serializers/automations/change_secret.py:85
|
#: accounts/serializers/automations/change_secret.py:88
|
||||||
msgid "* Password length range 6-30 bits"
|
msgid "* Password length range 6-30 bits"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: accounts/serializers/automations/change_secret.py:114
|
#: accounts/serializers/automations/change_secret.py:117
|
||||||
#: assets/models/automations/base.py:127
|
#: assets/models/automations/base.py:127
|
||||||
msgid "Automation task execution"
|
msgid "Automation task execution"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3239,8 +3250,7 @@ msgid "Ticket info"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: authentication/serializers/connection_token.py:21
|
#: authentication/serializers/connection_token.py:21
|
||||||
#: perms/models/asset_permission.py:77 perms/serializers/permission.py:42
|
#: perms/models/asset_permission.py:77
|
||||||
#: perms/serializers/permission.py:64
|
|
||||||
#: tickets/models/ticket/apply_application.py:28
|
#: tickets/models/ticket/apply_application.py:28
|
||||||
#: tickets/models/ticket/apply_asset.py:18
|
#: tickets/models/ticket/apply_asset.py:18
|
||||||
msgid "Actions"
|
msgid "Actions"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ACLs": "ACLs",
|
"ACLs": "ACLs",
|
||||||
"APIKey": "Api key",
|
"APIKey": "API key",
|
||||||
"AWS_China": "AWS(China)",
|
"AWS_China": "AWS(China)",
|
||||||
"AWS_Int": "AWS(International)",
|
"AWS_Int": "AWS(International)",
|
||||||
"About": "About",
|
"About": "About",
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
"Announcement": "Announcement",
|
"Announcement": "Announcement",
|
||||||
"AnonymousAccount": "Anonymous account",
|
"AnonymousAccount": "Anonymous account",
|
||||||
"AnonymousAccountTip": "Connect to assets without using username and password, only support web type and custom type assets",
|
"AnonymousAccountTip": "Connect to assets without using username and password, only support web type and custom type assets",
|
||||||
"ApiKey": "Api key",
|
"ApiKey": "API key",
|
||||||
"ApiKeyList": "Authenticate via api key in the header of each request, which differs from one request to another, offering greater security than token method. please consult the documentation for usage.<br>to minimize the risk of leaks, the secret can only be viewed upon creation, and each user can create up to 10",
|
"ApiKeyList": "Authenticate via api key in the header of each request, which differs from one request to another, offering greater security than token method. please consult the documentation for usage.<br>to minimize the risk of leaks, the secret can only be viewed upon creation, and each user can create up to 10",
|
||||||
"ApiKeyWarning": "To reduce the risk of accesskey leakage, the secret is only provided at creation and cannot be queried later, please keep it safe.",
|
"ApiKeyWarning": "To reduce the risk of accesskey leakage, the secret is only provided at creation and cannot be queried later, please keep it safe.",
|
||||||
"AppEndpoint": "App access address",
|
"AppEndpoint": "App access address",
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
"AssetProtocolHelpText": "! The protocols supported by the assets are restricted by the platform. Click the settings button to view the protocol settings. If updates are required, please update the platform",
|
"AssetProtocolHelpText": "! The protocols supported by the assets are restricted by the platform. Click the settings button to view the protocol settings. If updates are required, please update the platform",
|
||||||
"AssetTree": "Asset tree",
|
"AssetTree": "Asset tree",
|
||||||
"Assets": "Assets",
|
"Assets": "Assets",
|
||||||
"AssetsAmount": "Asset amount",
|
"AssetsOfNumber": "Number of asset",
|
||||||
"AssetsTotal": "Total assets",
|
"AssetsTotal": "Total assets",
|
||||||
"AssignedInfo": "Approval information",
|
"AssignedInfo": "Approval information",
|
||||||
"Assignee": "Handler",
|
"Assignee": "Handler",
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
"ChangeOrganization": "Change organization",
|
"ChangeOrganization": "Change organization",
|
||||||
"ChangePassword": "Change password",
|
"ChangePassword": "Change password",
|
||||||
"EditRecipient": "Edit recipient",
|
"EditRecipient": "Edit recipient",
|
||||||
"ChangeSecretParams": "Change password parameters",
|
"ChangeSecretParams": "Change secret parameters",
|
||||||
"ChangeViewHelpText": "Click to switch different views",
|
"ChangeViewHelpText": "Click to switch different views",
|
||||||
"Chat": "Chat",
|
"Chat": "Chat",
|
||||||
"ChatHello": "Hello! Can i help you?",
|
"ChatHello": "Hello! Can i help you?",
|
||||||
|
@ -655,7 +655,7 @@
|
||||||
"LoginNum": "Total login logs",
|
"LoginNum": "Total login logs",
|
||||||
"LoginPasswordSetting": "Login password",
|
"LoginPasswordSetting": "Login password",
|
||||||
"LoginRequiredMsg": "The account has logged out, please login again.",
|
"LoginRequiredMsg": "The account has logged out, please login again.",
|
||||||
"LoginSSHKeySetting": "Login SSH Key",
|
"LoginSSHKeySetting": "Login SSH key",
|
||||||
"LoginSucceeded": "Login successful",
|
"LoginSucceeded": "Login successful",
|
||||||
"LoginTitleTip": "Note: it will be displayed on the enterprise edition user ssh login koko login page (e.g.: welcome to use jumpserver open source bastion)",
|
"LoginTitleTip": "Note: it will be displayed on the enterprise edition user ssh login koko login page (e.g.: welcome to use jumpserver open source bastion)",
|
||||||
"LoginUserRanking": "Login account ranking",
|
"LoginUserRanking": "Login account ranking",
|
||||||
|
@ -714,7 +714,7 @@
|
||||||
"NewFile": "Create new file",
|
"NewFile": "Create new file",
|
||||||
"NewPassword": "New password",
|
"NewPassword": "New password",
|
||||||
"NewPublicKey": "New Public Key",
|
"NewPublicKey": "New Public Key",
|
||||||
"NewSSHKey": "New SSH Key",
|
"NewSSHKey": "New SSH key",
|
||||||
"NewSyncCount": "New sync",
|
"NewSyncCount": "New sync",
|
||||||
"Next": "Next",
|
"Next": "Next",
|
||||||
"No": "No",
|
"No": "No",
|
||||||
|
@ -726,7 +726,7 @@
|
||||||
"NoPermissionVew": "No permission to view the current page",
|
"NoPermissionVew": "No permission to view the current page",
|
||||||
"NoUnreadMsg": "You have unread notifications",
|
"NoUnreadMsg": "You have unread notifications",
|
||||||
"Node": "Node",
|
"Node": "Node",
|
||||||
"NodeAmount": "Nodes",
|
"NodeOfNumber": "Number of node",
|
||||||
"NodeInformation": "Node information",
|
"NodeInformation": "Node information",
|
||||||
"NodeSearchStrategy": "Node search strategy",
|
"NodeSearchStrategy": "Node search strategy",
|
||||||
"NormalLoad": "Normal",
|
"NormalLoad": "Normal",
|
||||||
|
@ -791,7 +791,7 @@
|
||||||
"PasskeyAddDisableInfo": "Your authentication source is {source}, and adding a passkey is not supported",
|
"PasskeyAddDisableInfo": "Your authentication source is {source}, and adding a passkey is not supported",
|
||||||
"Passphrase": "Key password",
|
"Passphrase": "Key password",
|
||||||
"Password": "Password",
|
"Password": "Password",
|
||||||
"PasswordAndSSHKey": "Password & SSH Key",
|
"PasswordAndSSHKey": "Password & SSH key",
|
||||||
"PasswordChangeLog": "Password change",
|
"PasswordChangeLog": "Password change",
|
||||||
"PasswordExpired": "Password expired",
|
"PasswordExpired": "Password expired",
|
||||||
"PasswordPlaceholder": "Please enter password",
|
"PasswordPlaceholder": "Please enter password",
|
||||||
|
@ -971,10 +971,10 @@
|
||||||
"SMS": "Message",
|
"SMS": "Message",
|
||||||
"SMSProvider": "SMS service provider",
|
"SMSProvider": "SMS service provider",
|
||||||
"SMTP": "Server",
|
"SMTP": "Server",
|
||||||
"SSHKey": "SSH Key",
|
"SSHKey": "SSH key",
|
||||||
"SSHKeyOfProfileSSHUpdatePage": "You can reset and download the SSH public key by clicking the button below, or copy your SSH public key and submit it.",
|
"SSHKeyOfProfileSSHUpdatePage": "You can reset and download the SSH public key by clicking the button below, or copy your SSH public key and submit it.",
|
||||||
"SSHPort": "SSH Port",
|
"SSHPort": "SSH Port",
|
||||||
"SSHSecretKey": "SSH Key",
|
"SSHSecretKey": "SSH secret key",
|
||||||
"SafeCommand": "Secure command",
|
"SafeCommand": "Secure command",
|
||||||
"SameAccount": "Same",
|
"SameAccount": "Same",
|
||||||
"SameAccountTip": "Accounts with the same username as authorized users",
|
"SameAccountTip": "Accounts with the same username as authorized users",
|
||||||
|
|
Loading…
Reference in New Issue