mirror of https://github.com/jumpserver/jumpserver
perf: 修改翻译
parent
19b196eb1f
commit
255817f5c6
|
@ -30,35 +30,42 @@ class PlatformAutomationSerializer(serializers.ModelSerializer):
|
||||||
]
|
]
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
# 启用资产探测
|
# 启用资产探测
|
||||||
"ping_enabled": {"label": _("Ping enabled"), },
|
"ping_enabled": {"label": _("Ping enabled"), "help_text": _("Enable asset detection")},
|
||||||
"ping_method": {"label": _("Ping method"), "help_text": _("Enable asset detection")},
|
"ping_method": {"label": _("Ping method")},
|
||||||
"gather_facts_enabled": {"label": _("Gather facts enabled"), },
|
"gather_facts_enabled": {
|
||||||
|
"label": _("Gather facts enabled"),
|
||||||
|
"help_text": _("Enable asset information collection")
|
||||||
|
},
|
||||||
"gather_facts_method": {
|
"gather_facts_method": {
|
||||||
"label": _("Gather facts method"),
|
"label": _("Gather facts method"),
|
||||||
"help_text": _("Enable asset information collection")
|
},
|
||||||
|
"verify_account_enabled": {
|
||||||
|
"label": _("Verify account enabled"),
|
||||||
|
"help_text": _("Enable account verification")
|
||||||
},
|
},
|
||||||
"verify_account_method": {
|
"verify_account_method": {
|
||||||
"label": _("Verify account method"),
|
"label": _("Verify account method"),
|
||||||
"help_text": _("Enable account verification")
|
|
||||||
},
|
},
|
||||||
"change_secret_enabled": {
|
"change_secret_enabled": {
|
||||||
"label": _("Change secret enabled"),
|
"label": _("Change secret enabled"),
|
||||||
|
"help_text": _("Enable account secret auto change")
|
||||||
},
|
},
|
||||||
"change_secret_method": {
|
"change_secret_method": {
|
||||||
"label": _("Change secret method"),
|
"label": _("Change secret method"),
|
||||||
"help_text": _("Enable account secret auto change")
|
|
||||||
},
|
},
|
||||||
"push_account_enabled": {"label": _("Push account enabled"), },
|
"push_account_enabled": {
|
||||||
|
"label": _("Push account enabled"),
|
||||||
|
"help_text": _("Enable account auto push")
|
||||||
|
},
|
||||||
"push_account_method": {
|
"push_account_method": {
|
||||||
"label": _("Push account method"),
|
"label": _("Push account method"),
|
||||||
"help_text": _("Enable account auto push")
|
|
||||||
},
|
},
|
||||||
"gather_accounts_enabled": {
|
"gather_accounts_enabled": {
|
||||||
"label": _("Gather accounts enabled"),
|
"label": _("Gather accounts enabled"),
|
||||||
|
"help_text": _("Enable account collection")
|
||||||
},
|
},
|
||||||
"gather_accounts_method": {
|
"gather_accounts_method": {
|
||||||
"label": _("Gather accounts method"),
|
"label": _("Gather accounts method"),
|
||||||
"help_text": _("Enable account collection")
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -314,7 +314,9 @@
|
||||||
"CreatedBy": "Creator",
|
"CreatedBy": "Creator",
|
||||||
"CriticalLoad": "Serious",
|
"CriticalLoad": "Serious",
|
||||||
"CronExpression": "Complete crontab expression",
|
"CronExpression": "Complete crontab expression",
|
||||||
"CrontabOfCreateUpdatePage": "For example: Perform every Sunday at 03:05 <5 3 * * 0> <br/> Use 5-digit Linux crontab expressions <Min Hour Day Month Weekday> (<a href=\"https://tool.lu/crontab/\" target=\"_blank\">Online Tool</a>) <br/> If both regular execution and cycle execution are set, regular execution is prioritized",
|
"CrontabOfCreateUpdatePage": "",
|
||||||
|
"CrontabHelpText": "If both interval and crontab are set, crontab is prioritized",
|
||||||
|
"CrontabHelpTip": "For example: Perform every Sunday at 03:05 <5 3 * * 0> <br/> Use 5-digit Linux crontab expressions <Min Hour Day Month Weekday> (<a href=\"https://tool.lu/crontab/\" target=\"_blank\">Online Tool</a>) <br/> ",
|
||||||
"CurrentConnectionUsers": "Online Users",
|
"CurrentConnectionUsers": "Online Users",
|
||||||
"CurrentConnections": "Current Connections",
|
"CurrentConnections": "Current Connections",
|
||||||
"CurrentUserVerify": "Verify Current User",
|
"CurrentUserVerify": "Verify Current User",
|
||||||
|
|
Loading…
Reference in New Issue