mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 07:52:50 +00:00
fix: Resolve the error message
--bug=1052045 --user=王孝刚 【应用】-应用中使用的函数被删除后,演示中提示函数库被删除,提示错误 https://www.tapd.cn/57709429/s/1651371
This commit is contained in:
parent
d9e18f13ef
commit
b4d3939d95
|
|
@ -32,7 +32,7 @@ class FunctionLibNodeParamsSerializer(serializers.Serializer):
|
|||
super().is_valid(raise_exception=True)
|
||||
f_lib = QuerySet(FunctionLib).filter(id=self.data.get('function_lib_id')).first()
|
||||
if f_lib is None:
|
||||
raise Exception(_('The library has been deleted'))
|
||||
raise Exception(_('The function has been deleted'))
|
||||
|
||||
|
||||
class IFunctionLibNode(INode):
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ msgid "Library ID"
|
|||
msgstr ""
|
||||
|
||||
#: .\apps\application\flow\step_node\function_lib_node\i_function_lib_node.py:35
|
||||
msgid "The library has been deleted"
|
||||
msgid "The function has been deleted"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\application\flow\step_node\function_node\i_function_node.py:25
|
||||
|
|
|
|||
|
|
@ -492,8 +492,8 @@ msgid "Library ID"
|
|||
msgstr "函数库id"
|
||||
|
||||
#: .\apps\application\flow\step_node\function_lib_node\i_function_lib_node.py:35
|
||||
msgid "The library has been deleted"
|
||||
msgstr "函数库已被删除"
|
||||
msgid "The function has been deleted"
|
||||
msgstr "函数已被删除"
|
||||
|
||||
#: .\apps\application\flow\step_node\function_node\i_function_node.py:25
|
||||
msgid "Is this field required"
|
||||
|
|
|
|||
|
|
@ -493,8 +493,8 @@ msgid "Library ID"
|
|||
msgstr "函數庫id"
|
||||
|
||||
#: .\apps\application\flow\step_node\function_lib_node\i_function_lib_node.py:35
|
||||
msgid "The library has been deleted"
|
||||
msgstr "函數庫已被刪除"
|
||||
msgid "The function has been deleted"
|
||||
msgstr "函數已被刪除"
|
||||
|
||||
#: .\apps\application\flow\step_node\function_node\i_function_node.py:25
|
||||
msgid "Is this field required"
|
||||
|
|
|
|||
Loading…
Reference in New Issue