Skip to content

增加了很多功能,基本全部重写了整个程序 #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 73 additions & 1 deletion src/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "yetone <[email protected]>",
"homepage": "https://github.com/yetone/bob-plugin-openai-translator",
"appcast": "https://raw.githubusercontent.com/yetone/bob-plugin-openai-translator/main/appcast.json",
"minBobVersion": "0.5.0",
"minBobVersion": "0.6.0",
"options": [
{
"identifier": "api_url",
Expand Down Expand Up @@ -46,6 +46,78 @@
"value": "text-davinci-002"
}
]
},
{
"identifier": "purpose",
"type": "menu",
"title": "工作模式",
"defaultValue": "auto",
"menuValues": [
{
"title": "自动检测",
"value": "auto"
},
{
"title": "翻译",
"value": "translate"
},
{
"title": "润色",
"value": "polish"
},
{
"title": "字典查词",
"value": "dictionary"
},
{
"title": "模糊查词",
"value": "guessWord"
},
{
"title": "单词比较",
"value": "compareWord"
},
{
"title": "聊天",
"value": "chat"
}
]
},
{
"identifier": "polishOutputNum",
"type": "menu",
"title": "润色输出版本数",
"defaultValue": "onlyOne",
"menuValues": [
{
"title": "仅提供一个版本",
"value": "onlyOne"
},
{
"title": "提供多个版本",
"value": "multiple"
}
]
},
{
"identifier": "polishMode",
"type": "menu",
"title": "润色模式",
"defaultValue": "Simple",
"menuValues": [
{
"title": "简洁(只输出结果,不允许添加新内容)",
"value": "Simple"
},
{
"title": "详尽(解释修改原因,不允许添加新内容)",
"value": "Detailed"
},
{
"title": "丰富(解释修改原因,并允许添加新内容)",
"value": "Enrich"
}
]
}
]
}
Loading