Skip to content

Commit

Permalink
Add a text conversion plugin using OpenAI API (#2258) (2)
Browse files Browse the repository at this point in the history
Prevents detection by Kaspersky and ZoneAlarm by Check Point as HEUR:Trojan.Script.Generic.
However, it is still detected by Skyhigh (SWG) as BehavesLike.HTML.Exploit.nq...

https://www.virustotal.com/gui/file/1b3351325ae3f6faaea6eacb2f7729ac8dd403ce0ada8e9988d4b88502eaf0fe
  • Loading branch information
sdottaka committed May 1, 2024
1 parent 61a2abd commit d00eee9
Show file tree
Hide file tree
Showing 43 changed files with 1,932 additions and 68 deletions.
27 changes: 26 additions & 1 deletion Plugins/Strings.rc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ BEGIN
IDS_PLUGIN_MENU_CAPTION36 "Disassemble JVM Bytecode"
IDS_PLUGIN_MENU_CAPTION37 "Disassemble IL Code"
IDS_PLUGIN_MENU_CAPTION38 "Disassemble Native Code"
IDS_PLUGIN_MENU_CAPTION38 "Convert Text with AI..."
END

STRINGTABLE
Expand Down Expand Up @@ -178,7 +179,7 @@ BEGIN
IDS_PLUGIN_DESCRIPTION47
"This plugin ignores the leading line numbers in text files (e.g. NC and BASIC files)."
IDS_PLUGIN_DESCRIPTION48 "Prediff Line Filter"
IDS_PLUGIN_DESCRIPTION49 "Basic text functions for the context menu"
IDS_PLUGIN_DESCRIPTION49 "Date and time insertion function"
IDS_PLUGIN_DESCRIPTION50
"HTTP URL Scheme Handler with curl. \r\nArguments: Command line options passed to the curl command."
END
Expand All @@ -187,6 +188,8 @@ STRINGTABLE
BEGIN
IDS_PLUGIN_DESCRIPTION51
"Windows Registry URL Scheme Handler. \r\nArguments: Command line options passed to the reg.exe command."
IDS_PLUGIN_DESCRIPTION52 "Basic text functions and AI-assisted text conversion functions"
IDS_PLUGIN_DESCRIPTION53 "Text converter using OpenAI API.\r\nUsage: AIConvertText PROMPT"
END

STRINGTABLE
Expand Down Expand Up @@ -297,6 +300,28 @@ BEGIN
"Do not specify the '-p0' command line option for the patch file which includes absolute paths"
END

STRINGTABLE
BEGIN
IDS_PLUGIN_EDITORADDIN_STR1
"editor addin.sct WinMerge Plugin Options"
IDS_PLUGIN_EDITORADDIN_STR2
"Enter prompt"
IDS_PLUGIN_EDITORADDIN_STR3
"Enter your OpenAI API key.\r\n - Use of this plugin requires registration with OpenAI and incurs fees.\r\n - The API key is stored in the environment variable %1."
IDS_PLUGIN_EDITORADDIN_STR4
"Environment variable name for OpenAI API key"
IDS_PLUGIN_EDITORADDIN_STR5
"OpenAI API key"
IDS_PLUGIN_EDITORADDIN_STR6
"Temperature"
IDS_PLUGIN_EDITORADDIN_STR7
"Maximum length"
IDS_PLUGIN_EDITORADDIN_STR8
"Model"
IDS_PLUGIN_EDITORADDIN_STR9
"OpenAI API key has changed. Please restart WinMerge to apply the changes."
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////

Expand Down
Loading

0 comments on commit d00eee9

Please sign in to comment.