perf: Translate account (#13445)

Co-authored-by: feng <1304903146@qq.com>
pull/13446/head
fit2bot 2024-06-18 19:39:27 +08:00 committed by GitHub
parent cd2af0dcf7
commit afdf777386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 6 deletions

View File

@ -5889,7 +5889,7 @@ msgstr "時"
#: settings/serializers/feature.py:126
msgid "Unit"
msgstr ""
msgstr "単位"
#: settings/serializers/feature.py:126
msgid "The unit of period"

View File

@ -5816,7 +5816,7 @@ msgstr "时"
#: settings/serializers/feature.py:126
msgid "Unit"
msgstr ""
msgstr "单位"
#: settings/serializers/feature.py:126
msgid "The unit of period"

View File

@ -1100,7 +1100,7 @@
"StrategyHelpTip": "Identify the unique attributes of assets (such as platforms) based on priority of strategies; when an asset's attribute (like nodes) can be configured to multiple, all actions of the strategies will be executed.",
"StrategyList": "Policy",
"StrategyUpdate": "Update the policy",
"SuEnabled": "Enable switch",
"EnableDomain": "Gateway enabled",
"SuFrom": "Switch from",
"Submit": "Submit",
"SubscriptionID": "ID",
@ -1334,5 +1334,8 @@
"ZoneEnabled": "Enable zone",
"ZoneHelpMessage": "The zone is the location where assets are located, which can be a data center, public cloud, or VPC. Gateways can be set up within the region. When the network cannot be directly accessed, users can utilize gateways to login to the assets.",
"ZoneList": "Zones",
"ZoneUpdate": "Update the zone"
"ZoneUpdate": "Update the zone",
"IpType": "IP type",
"PublicIp": "Public Ip",
"PrivateIp": "Private Ip"
}

View File

@ -1101,6 +1101,7 @@
"StrategyList": "策略列表",
"StrategyUpdate": "更新策略",
"SuEnabled": "启用开关",
"EnableDomain": "启用网域",
"SuFrom": "切换自",
"Submit": "提交",
"SubscriptionID": "订阅授权 ID",
@ -1334,5 +1335,8 @@
"ZoneEnabled": "启用网关",
"ZoneHelpMessage": "网域是资产所在的位置,可以是机房,公有云 或者 VPC。网域中可以设置网关当网络不能直达的时候可以使用网关跳转登录到资产",
"ZoneList": "网域列表",
"ZoneUpdate": "更新网域"
"ZoneUpdate": "更新网域",
"IpType": "IP 类型",
"PublicIp": "公有 IP",
"PrivateIp": "私有 IP"
}

View File

@ -52,7 +52,9 @@ class VaultSettingSerializer(serializers.Serializer):
max_length=256, allow_blank=True, required=False, label=_('Token'), default=''
)
VAULT_HCP_MOUNT_POINT = serializers.CharField(
max_length=256, allow_blank=True, required=False, label=_('Mount Point')
max_length=256, allow_blank=True, required=False, label=_('Mount Point'),
help_text=_('The mount point of the Vault server, default is jumpserver'),
default='jumpserver'
)
HISTORY_ACCOUNT_CLEAN_LIMIT = serializers.IntegerField(