Skip to content

Commit 7801052

Browse files
Msquittto陈潇文
andauthored
修复code节点说明错误问题 (#253)
* [fit-elsa-react] 修复code节点说明错误问题 * [fit-elsa-react] 修复code节点说明错误问题 --------- Co-authored-by: 陈潇文 <[email protected]>
1 parent 5a1e250 commit 7801052

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

framework/elsa/fit-elsa-react/src/i18n/en_US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
"codeCannotEmpty": "待翻译",
357357
"code": "待翻译",
358358
"editInIde": "待翻译",
359-
"codePopover": "待翻译",
359+
"codePopover": "<p><strong>1. Function editing description: </strong>Compile the structure of a function by referring to the code example. </p>\n<p>You can directly use the variables in the input parameters and return an object, array, or other basic types of data as the output result. </p>\n<p>The method name must be main. Additionally, multiple functions cannot be compiled. </p>\n<p>By default, the system introduces dependencies including <strong>asyncio</strong>, <strong>json</strong>, <strong>numpy</strong>, and <strong>typing</strong>.",
360360
"codeOutputPopover": "待翻译",
361361
"otherQuestion": "待翻译",
362362
"classification": "待翻译",

framework/elsa/fit-elsa-react/src/i18n/zh_CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
"codeCannotEmpty": "代码不能为空!",
611611
"code": "代码",
612612
"editInIde": "在IDE中编辑",
613-
"codePopover": "<p><strong>1.函数编辑说明: </strong>参考代码示例。编写一个函数的结构,</p>\n<p>您可以直接使用输入参数中的变量,并通过return一个</p>\n<p>对象、数组或者其他基本类型的数据作为输出结果。</p>\n<p>方法名称必须是main,方法不能是异步方法,并且不</p>\n<p>支持编写多个函数。</p>\n<p>系统默认引入依赖包含asyncio, json, numpy, typing。</p>\n<p><strong>2.快捷键说明:</strong> 按键盘上的F1键打开快捷键说明弹窗。</p>",
613+
"codePopover": "<p><strong>1.函数编辑说明: </strong>参考代码示例。编写一个函数的结构,</p>\n<p>您可以直接使用输入参数中的变量,并通过return一个</p>\n<p>对象、数组或者其他基本类型的数据作为输出结果。</p>\n<p>方法名称必须是main,并且不</p>\n<p>支持编写多个函数。</p>\n<p>系统默认引入依赖包含asyncio, json, numpy, typing。",
614614
"codeOutputPopover": "<p>代码运行完成后输出的变量,必须保证此处定义的变量名、</p>\n<p>变量类型与代码的return对象中完全一致</p>",
615615
"skill": "技能",
616616
"classificationInputPopover": "输入需要添加到提示词模板中的信息,可被提示词模板引用。",

0 commit comments

Comments
 (0)