fix: 修改命令过滤器翻译

pull/7522/head
Michael Bai 3 years ago committed by Jiangjie.Bai
parent c9f63a3f4a
commit b8aaa7d249

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

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\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"
"Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -781,7 +781,7 @@ msgstr "默认Cluster"
msgid "User group"
msgstr "用户组"
#: assets/models/cmd_filter.py:56
#: assets/models/cmd_filter.py:56 assets/serializers/system_user.py:54
msgid "Command filter"
msgstr "命令过滤器"
@ -6343,4 +6343,4 @@ msgstr "旗舰版"
#: xpack/plugins/license/models.py:77
msgid "Community edition"
msgstr "社区版"
msgstr "社区版"

Loading…
Cancel
Save