Skip to content

Commit 457bd32

Browse files
cosmetic bug fixes before closure
1 parent 6c893f0 commit 457bd32

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Project/Sources/Methods/AI Call.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//%attributes = {"invisible":true,"shared":true}
1+
//%attributes = {"invisible":true}
22

33

44
#DECLARE($aiParameters : Object)

Project/Sources/Methods/AI Dialog.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//%attributes = {"invisible":true,"shared":true}
1+
//%attributes = {"invisible":true}
22

33

44
#DECLARE($apikey)

Project/Sources/Methods/UI_AI_Prompt.4dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Case of
3434
End case
3535

3636
OBJECT SET VISIBLE:C603(*; "btn_launch"; (Form:C1466._extra.state#1))
37+
OBJECT SET ENABLED:C1123(*; "btnClear"; (Form:C1466._extra.state#1)) // do NOT enable "clear history" while running
3738
OBJECT SET FORMAT:C236(*; "btn_launch"; $format)
3839

3940
OBJECT SET HELP TIP:C1181(*; "btn_launch"; $helpTip)

Resources/4DWP_AI/Prompts/en/prompts.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
},
1515
{
1616
"title": "Translate the selection",
17-
"prompt": "Can you translate the selected text into french?",
17+
"prompt": "Can you translate the selected text into French?",
1818
"source": "selection"
1919
},
2020
{
2121
"title": "Translate the document",
22-
"prompt": "Can you translate the whole document into french?",
22+
"prompt": "Can you translate the whole document into French?",
2323
"source": "document"
2424
},
2525
{

0 commit comments

Comments
 (0)