perf: update i18n

pull/15010/head
ibuler 2025-03-12 15:16:26 +08:00 committed by 老广
parent e03d983020
commit 6e83420e67
2 changed files with 5 additions and 4 deletions

View File

@ -695,8 +695,8 @@
"JobCreate": "Create job", "JobCreate": "Create job",
"JobDetail": "Job details", "JobDetail": "Job details",
"JobExecutionLog": "Executions", "JobExecutionLog": "Executions",
"JobList": "Job List", "JobList": "Jobs",
"JobManagement": "Job List", "JobManagement": "Jobs",
"JobUpdate": "Update the job", "JobUpdate": "Update the job",
"JobsAudit": "Job audits", "JobsAudit": "Job audits",
"KingSoftCloud": "KingSoft cloud", "KingSoftCloud": "KingSoft cloud",

View File

@ -187,9 +187,10 @@ class OpsSettingSerializer(serializers.Serializer):
help_text=_('Allow users to execute batch commands in the Workbench - Job Center - Adhoc') help_text=_('Allow users to execute batch commands in the Workbench - Job Center - Adhoc')
) )
SECURITY_COMMAND_BLACKLIST = serializers.ListField( SECURITY_COMMAND_BLACKLIST = serializers.ListField(
child=serializers.CharField(max_length=1024, ), child=serializers.CharField(max_length=1024),
label=_('Command blacklist'), label=_('Command blacklist'),
help_text=_("Command blacklist in Adhoc") help_text=_("Command blacklist in Adhoc"),
default=list,
) )