File tree Expand file tree Collapse file tree 5 files changed +15
-4
lines changed
Expand file tree Collapse file tree 5 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -653,6 +653,7 @@ class PermissionConstants(Enum):
653653 role_list = [RoleConstants .ADMIN , RoleConstants .USER ],
654654 parent_group = [WorkspaceGroup .APPLICATION , UserGroup .APPLICATION ],
655655 resource_permission_group_list = [ResourcePermissionGroup .MANAGE ],
656+ label = _ ('Chat' )
656657 )
657658 APPLICATION_DEBUG = Permission (group = Group .APPLICATION , operate = Operate .DEBUG ,
658659 role_list = [RoleConstants .ADMIN , RoleConstants .USER ],
@@ -664,6 +665,7 @@ class PermissionConstants(Enum):
664665 role_list = [RoleConstants .ADMIN , RoleConstants .USER ],
665666 parent_group = [WorkspaceGroup .APPLICATION , UserGroup .APPLICATION ],
666667 resource_permission_group_list = [ResourcePermissionGroup .MANAGE ],
668+ label = _ ('Setting' )
667669 )
668670
669671 APPLICATION_CREATE = Permission (group = Group .APPLICATION , operate = Operate .CREATE ,
Original file line number Diff line number Diff line change @@ -8363,4 +8363,7 @@ msgid "LDAP"
83638363msgstr "LDAP"
83648364
83658365msgid "Get tool list"
8366+ msgstr ""
8367+
8368+ msgid "Setting"
83668369msgstr ""
Original file line number Diff line number Diff line change @@ -1629,7 +1629,7 @@ msgstr "应用匿名认证"
16291629#: apps/chat/views/chat.py:120 apps/chat/views/chat_embed.py:27
16301630#: apps/xpack/views/chat_user_auth.py:419
16311631msgid "Chat"
1632- msgstr "聊天 "
1632+ msgstr "对话 "
16331633
16341634#: apps/chat/views/chat.py:59 apps/chat/views/chat.py:60
16351635#: apps/chat/views/chat.py:61
@@ -8489,4 +8489,7 @@ msgid "LDAP"
84898489msgstr "LDAP"
84908490
84918491msgid "Get tool list"
8492- msgstr "获取工具列表"
8492+ msgstr "获取工具列表"
8493+
8494+ msgid "Setting"
8495+ msgstr "设置"
Original file line number Diff line number Diff line change @@ -8489,4 +8489,7 @@ msgid "LDAP"
84898489msgstr "LDAP"
84908490
84918491msgid "Get tool list"
8492- msgstr "獲取工具列表"
8492+ msgstr "獲取工具列表"
8493+
8494+ msgid "Setting"
8495+ msgstr "設置"
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ class UserEditInstance(serializers.Serializer):
282282 )]
283283 )
284284 nick_name = serializers .CharField (
285- required = True ,
285+ required = False ,
286286 label = _ ("Name" ),
287287 max_length = 20 ,
288288 )
You can’t perform that action at this time.
0 commit comments