fix: 修改命令过滤器翻译

pull/7522/head
Michael Bai 2022-01-18 14:21:27 +08:00 committed by Jiangjie.Bai
parent c9f63a3f4a
commit b8aaa7d249
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
'trim_whitespace': False, 'trim_whitespace': False,
"validators": [validate_password_contains_left_double_curly_bracket] "validators": [validate_password_contains_left_double_curly_bracket]
}, },
'cmd_filters': {"required": False}, 'cmd_filters': {"required": False, 'label': _('Command filter')},
'public_key': {"write_only": True}, 'public_key': {"write_only": True},
'private_key': {"write_only": True}, 'private_key': {"write_only": True},
'token': {"write_only": True}, 'token': {"write_only": True},

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n" "Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-18 12:23+0800\n" "POT-Creation-Date: 2022-01-18 14:20+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n" "Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n" "Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -781,7 +781,7 @@ msgstr "默认Cluster"
msgid "User group" msgid "User group"
msgstr "用户组" msgstr "用户组"
#: assets/models/cmd_filter.py:56 #: assets/models/cmd_filter.py:56 assets/serializers/system_user.py:54
msgid "Command filter" msgid "Command filter"
msgstr "命令过滤器" msgstr "命令过滤器"