mirror of https://github.com/jumpserver/jumpserver
perf: i18n
parent
bce55421ce
commit
f33cf07859
|
@ -23,7 +23,7 @@ class CommandGroup(JMSOrgBaseModel):
|
||||||
max_length=16, default=TypeChoices.command, choices=TypeChoices.choices,
|
max_length=16, default=TypeChoices.command, choices=TypeChoices.choices,
|
||||||
verbose_name=_("Type")
|
verbose_name=_("Type")
|
||||||
)
|
)
|
||||||
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'))
|
ignore_case = models.BooleanField(default=True, verbose_name=_('Ignore case'))
|
||||||
|
|
||||||
TypeChoices = TypeChoices
|
TypeChoices = TypeChoices
|
||||||
|
|
|
@ -76,7 +76,7 @@ class CommandFilterRule(OrgModelMixin):
|
||||||
default=50, verbose_name=_("Priority"), help_text=_("1-100, the lower the value will be match first"),
|
default=50, verbose_name=_("Priority"), help_text=_("1-100, the lower the value will be match first"),
|
||||||
validators=[MinValueValidator(1), MaxValueValidator(100)]
|
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'))
|
ignore_case = models.BooleanField(default=True, verbose_name=_('Ignore case'))
|
||||||
action = models.IntegerField(default=ActionChoices.deny, choices=ActionChoices.choices, verbose_name=_("Action"))
|
action = models.IntegerField(default=ActionChoices.deny, choices=ActionChoices.choices, verbose_name=_("Action"))
|
||||||
# 动作: 附加字段
|
# 动作: 附加字段
|
||||||
|
|
|
@ -1186,7 +1186,7 @@ msgid "Content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
||||||
msgid "One line one command"
|
msgid "One command per line"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
||||||
|
|
|
@ -1223,7 +1223,7 @@ msgid "Content"
|
||||||
msgstr "コンテンツ"
|
msgstr "コンテンツ"
|
||||||
|
|
||||||
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
||||||
msgid "One line one command"
|
msgid "One command per line"
|
||||||
msgstr "1行1コマンド"
|
msgstr "1行1コマンド"
|
||||||
|
|
||||||
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
||||||
|
|
|
@ -1207,7 +1207,7 @@ msgid "Content"
|
||||||
msgstr "内容"
|
msgstr "内容"
|
||||||
|
|
||||||
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
#: acls/models/command_acl.py:26 assets/models/cmd_filter.py:79
|
||||||
msgid "One line one command"
|
msgid "One command per line"
|
||||||
msgstr "每行一个命令"
|
msgstr "每行一个命令"
|
||||||
|
|
||||||
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
#: acls/models/command_acl.py:27 assets/models/cmd_filter.py:80
|
||||||
|
|
|
@ -500,7 +500,7 @@
|
||||||
"GenerateSuccessMsg": "Account creation successful",
|
"GenerateSuccessMsg": "Account creation successful",
|
||||||
"GenericSetting": "Generic",
|
"GenericSetting": "Generic",
|
||||||
"GoHomePage": "Go to homepage",
|
"GoHomePage": "Go to homepage",
|
||||||
"Goto": "Go to",
|
"Goto": "Goto",
|
||||||
"GrantedAssets": "Authorized assets",
|
"GrantedAssets": "Authorized assets",
|
||||||
"GreatEqualThan": "Greater than or equal to",
|
"GreatEqualThan": "Greater than or equal to",
|
||||||
"GroupsAmount": "User group",
|
"GroupsAmount": "User group",
|
||||||
|
@ -685,7 +685,7 @@
|
||||||
"Modify": "Edit",
|
"Modify": "Edit",
|
||||||
"Module": "Module",
|
"Module": "Module",
|
||||||
"Monday": "Mon",
|
"Monday": "Mon",
|
||||||
"Monitor": "Monitoring",
|
"Monitor": "Monitor",
|
||||||
"Month": "Month",
|
"Month": "Month",
|
||||||
"More": "More",
|
"More": "More",
|
||||||
"MoreActions": "Actions",
|
"MoreActions": "Actions",
|
||||||
|
@ -1135,7 +1135,7 @@
|
||||||
"TerminalDetail": "Terminal details",
|
"TerminalDetail": "Terminal details",
|
||||||
"TerminalUpdate": "Update the terminal",
|
"TerminalUpdate": "Update the terminal",
|
||||||
"TerminalUpdateStorage": "Update the terminal storage",
|
"TerminalUpdateStorage": "Update the terminal storage",
|
||||||
"Terminate": "Termination",
|
"Terminate": "Terminate",
|
||||||
"TerminateTaskSendSuccessMsg": "Task termination has been issued, please refresh and check later",
|
"TerminateTaskSendSuccessMsg": "Task termination has been issued, please refresh and check later",
|
||||||
"TermsAndConditions": "Terms and conditions",
|
"TermsAndConditions": "Terms and conditions",
|
||||||
"Test": "Test",
|
"Test": "Test",
|
||||||
|
|
Loading…
Reference in New Issue