perf: i18n

This commit is contained in:
wangruidong
2024-05-17 18:24:13 +08:00
committed by w940853815
parent bce55421ce
commit f33cf07859
6 changed files with 8 additions and 8 deletions

View File

@@ -76,7 +76,7 @@ class CommandFilterRule(OrgModelMixin):
default=50, verbose_name=_("Priority"), help_text=_("1-100, the lower the value will be match first"),
validators=[MinValueValidator(1), MaxValueValidator(100)]
)
content = models.TextField(verbose_name=_("Content"), help_text=_("One line one command"))
content = models.TextField(verbose_name=_("Content"), help_text=_("One command per line"))
ignore_case = models.BooleanField(default=True, verbose_name=_('Ignore case'))
action = models.IntegerField(default=ActionChoices.deny, choices=ActionChoices.choices, verbose_name=_("Action"))
# 动作: 附加字段