perf: translate (#13347)

Co-authored-by: feng <1304903146@qq.com>
pull/13351/head
fit2bot 2024-06-03 10:26:12 +08:00 committed by GitHub
parent a313753757
commit 510dc1eaf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 890 additions and 1075 deletions

View File

@ -54,10 +54,13 @@ class ChangeSecretAutomationSerializer(AuthValidateMixin, BaseAutomationSerializ
'ssh_key_change_strategy', 'passphrase', 'recipients', 'params'
]
extra_kwargs = {**BaseAutomationSerializer.Meta.extra_kwargs, **{
'accounts': {'required': True},
'accounts': {'required': True, 'help_text': _('Please enter your account username')},
'recipients': {'label': _('Recipient'), 'help_text': _(
"Currently only mail sending is supported"
)},
'params': {'help_text': _(
"Secret parameter settings, currently only effective for assets of the host type."
)},
}}
@property

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -112,7 +112,7 @@ msgid "Update"
msgstr ""
#: 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
#: ops/const.py:76 terminal/const.py:79 xpack/plugins/cloud/const.py:47
msgid "Failed"
@ -227,7 +227,7 @@ msgid "SFTP"
msgstr ""
#: 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
#: common/const/choices.py:18 ops/const.py:74 ops/serializers/celery.py:48
#: 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:260
#: accounts/serializers/account/gathered_account.py:10
#: accounts/serializers/automations/change_secret.py:108
#: accounts/serializers/automations/change_secret.py:140
#: accounts/serializers/automations/change_secret.py:111
#: accounts/serializers/automations/change_secret.py:143
#: accounts/templates/accounts/asset_account_change_info.html:7
#: accounts/templates/accounts/change_secret_failed_info.html:11
#: acls/serializers/base.py:123 assets/models/asset/common.py:95
@ -312,8 +312,8 @@ msgid "Source ID"
msgstr ""
#: accounts/models/account.py:61
#: accounts/serializers/automations/change_secret.py:110
#: accounts/serializers/automations/change_secret.py:141
#: accounts/serializers/automations/change_secret.py:113
#: accounts/serializers/automations/change_secret.py:144
#: accounts/templates/accounts/change_secret_failed_info.html:12
#: acls/serializers/base.py:124
#: acls/templates/acls/asset_login_reminder.html:10
@ -424,8 +424,8 @@ msgid "Reason"
msgstr ""
#: accounts/models/automations/backup_account.py:136
#: accounts/serializers/automations/change_secret.py:107
#: accounts/serializers/automations/change_secret.py:142
#: accounts/serializers/automations/change_secret.py:110
#: accounts/serializers/automations/change_secret.py:145
#: ops/serializers/job.py:74 terminal/serializers/session.py:52
msgid "Is success"
msgstr "Is success"
@ -480,7 +480,7 @@ msgstr ""
#: accounts/serializers/automations/change_secret.py:58
#: settings/serializers/auth/ldap.py:100 settings/serializers/msg.py:45
msgid "Recipient"
msgstr ""
msgstr "Recipients"
#: accounts/models/automations/change_secret.py:22
msgid "Change secret automation"
@ -582,6 +582,7 @@ msgstr ""
#: audits/models.py:92 audits/serializers.py:84
#: authentication/serializers/connect_token_secret.py:119
#: authentication/templates/authentication/_access_key_modal.html:34
#: perms/serializers/permission.py:42 perms/serializers/permission.py:64
#: tickets/serializers/ticket/ticket.py:21
msgid "Action"
msgstr ""
@ -993,15 +994,25 @@ msgstr ""
msgid "SSH Key strategy"
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"
msgstr ""
#: accounts/serializers/automations/change_secret.py:85
#: accounts/serializers/automations/change_secret.py:88
msgid "* Password length range 6-30 bits"
msgstr ""
#: accounts/serializers/automations/change_secret.py:114
#: accounts/serializers/automations/change_secret.py:117
#: assets/models/automations/base.py:127
msgid "Automation task execution"
msgstr ""
@ -3239,8 +3250,7 @@ msgid "Ticket info"
msgstr ""
#: authentication/serializers/connection_token.py:21
#: perms/models/asset_permission.py:77 perms/serializers/permission.py:42
#: perms/serializers/permission.py:64
#: perms/models/asset_permission.py:77
#: tickets/models/ticket/apply_application.py:28
#: tickets/models/ticket/apply_asset.py:18
msgid "Actions"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"ACLs": "ACLs",
"APIKey": "Api key",
"APIKey": "API key",
"AWS_China": "AWS(China)",
"AWS_Int": "AWS(International)",
"About": "About",
@ -86,7 +86,7 @@
"Announcement": "Announcement",
"AnonymousAccount": "Anonymous account",
"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",
"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",
@ -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",
"AssetTree": "Asset tree",
"Assets": "Assets",
"AssetsAmount": "Asset amount",
"AssetsOfNumber": "Number of asset",
"AssetsTotal": "Total assets",
"AssignedInfo": "Approval information",
"Assignee": "Handler",
@ -223,7 +223,7 @@
"ChangeOrganization": "Change organization",
"ChangePassword": "Change password",
"EditRecipient": "Edit recipient",
"ChangeSecretParams": "Change password parameters",
"ChangeSecretParams": "Change secret parameters",
"ChangeViewHelpText": "Click to switch different views",
"Chat": "Chat",
"ChatHello": "Hello! Can i help you?",
@ -655,7 +655,7 @@
"LoginNum": "Total login logs",
"LoginPasswordSetting": "Login password",
"LoginRequiredMsg": "The account has logged out, please login again.",
"LoginSSHKeySetting": "Login SSH Key",
"LoginSSHKeySetting": "Login SSH key",
"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)",
"LoginUserRanking": "Login account ranking",
@ -714,7 +714,7 @@
"NewFile": "Create new file",
"NewPassword": "New password",
"NewPublicKey": "New Public Key",
"NewSSHKey": "New SSH Key",
"NewSSHKey": "New SSH key",
"NewSyncCount": "New sync",
"Next": "Next",
"No": "No",
@ -726,7 +726,7 @@
"NoPermissionVew": "No permission to view the current page",
"NoUnreadMsg": "You have unread notifications",
"Node": "Node",
"NodeAmount": "Nodes",
"NodeOfNumber": "Number of node",
"NodeInformation": "Node information",
"NodeSearchStrategy": "Node search strategy",
"NormalLoad": "Normal",
@ -791,7 +791,7 @@
"PasskeyAddDisableInfo": "Your authentication source is {source}, and adding a passkey is not supported",
"Passphrase": "Key password",
"Password": "Password",
"PasswordAndSSHKey": "Password & SSH Key",
"PasswordAndSSHKey": "Password & SSH key",
"PasswordChangeLog": "Password change",
"PasswordExpired": "Password expired",
"PasswordPlaceholder": "Please enter password",
@ -971,10 +971,10 @@
"SMS": "Message",
"SMSProvider": "SMS service provider",
"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.",
"SSHPort": "SSH Port",
"SSHSecretKey": "SSH Key",
"SSHSecretKey": "SSH secret key",
"SafeCommand": "Secure command",
"SameAccount": "Same",
"SameAccountTip": "Accounts with the same username as authorized users",