diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index a039dfab0..ef61d512d 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/ja/LC_MESSAGES/django.po @@ -5889,7 +5889,7 @@ msgstr "時" #: settings/serializers/feature.py:126 msgid "Unit" -msgstr "" +msgstr "単位" #: settings/serializers/feature.py:126 msgid "The unit of period" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 6642ed8f2..8b38396e5 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -5816,7 +5816,7 @@ msgstr "时" #: settings/serializers/feature.py:126 msgid "Unit" -msgstr "" +msgstr "单位" #: settings/serializers/feature.py:126 msgid "The unit of period" diff --git a/apps/i18n/lina/en.json b/apps/i18n/lina/en.json index 9658dd541..24b6033f7 100644 --- a/apps/i18n/lina/en.json +++ b/apps/i18n/lina/en.json @@ -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" } \ No newline at end of file diff --git a/apps/i18n/lina/zh.json b/apps/i18n/lina/zh.json index 9193ebd41..a1bd16d0d 100644 --- a/apps/i18n/lina/zh.json +++ b/apps/i18n/lina/zh.json @@ -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" } \ No newline at end of file diff --git a/apps/settings/serializers/feature.py b/apps/settings/serializers/feature.py index 55b0043b4..820403019 100644 --- a/apps/settings/serializers/feature.py +++ b/apps/settings/serializers/feature.py @@ -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(