Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bistutu committed May 28, 2024
1 parent cb43a67 commit 7777e22
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@

# 版本更新记录

- 2024-05-19: **0.05 版本**
- 2024-05-28: 0.07 版本
1. 接入 Coze 国际/国内版
2. 增加文心一言 ERNIE-Speed、通义千问 Qwen-Long 模型
3. 增加触屏设备翻译方式,如双指翻译、双击翻译等
4. 优化其他事项
- 2024-05-19: 0.05 版本
1. 增加“双语翻译”模式
2. 接入谷歌翻译、百度翻译、百川大模型、零一万物等引擎
3. 支持 GPT-4o 等模型
Expand Down
2 changes: 1 addition & 1 deletion components/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<span class="popup-text popup-vertical-left">Secret Key</span>
</el-col>
<el-col :span="12">
<el-input v-model="config.sk" placeholder="请输入Secret Key"/>
<el-input v-model="config.sk" type="password" placeholder="请输入Secret Key"/>
</el-col>
</el-row>

Expand Down
2 changes: 1 addition & 1 deletion entrypoints/utils/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function insertFailedTip(config: Config, node: any, errMsg: string, spinn
if (errMsg.includes("auth failed") || errMsg.includes("API key") || errMsg.includes("api key")) {
sendErrorMessage("token 令牌设置错误,请前往设置页检查")
} else if (errMsg.includes("quota") || errMsg.includes("limit")) {
sendErrorMessage("翻译次数已达上限,请稍后再试")
sendErrorMessage("api 访问频率过快,请稍后再试")
} else if (errMsg.includes("network error")) {
sendErrorMessage("网络错误,请检查网络连接")
} else if (errMsg.includes("model")) {
Expand Down
11 changes: 5 additions & 6 deletions entrypoints/utils/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,10 @@ export const options = {
value: 'DoubleClickScree',
label: "双击翻译",
},
{
value: 'TripleClickScree',
label: "三击翻译",

}
// {
// value: 'TripleClickScree',
// label: "三击翻译",
// }
],
services: [
{
Expand Down Expand Up @@ -300,7 +299,7 @@ export const options = {
display: [
{
value: 0,
label: '仅译文',
label: '仅译文模式',
},
{
value: 1,
Expand Down

0 comments on commit 7777e22

Please sign in to comment.