From fe19fa5f5769bf37fc1d642db7d4d6bddfb4c045 Mon Sep 17 00:00:00 2001 From: "DESKTOP-3BO4HSG\\ksat" Date: Tue, 27 Dec 2022 11:12:04 +0800 Subject: [PATCH] update readme --- README.md | 22 +++++++++++----------- STranslate/Properties/AssemblyInfo.cs | 4 ++-- image.png | Bin 0 -> 10196 bytes 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 image.png diff --git a/README.md b/README.md index 4a1d3fb..9b34147 100644 --- a/README.md +++ b/README.md @@ -10,19 +10,17 @@ WPF 开发的一款即开即用、即用即走的翻译工具 - [x] 添加划词翻译 - [x] 添加复制结果蛇形、大小驼峰 - [x] 优化 DeepL 服务并打包成库引入进项目 -> 自己构造的接口测试下来还是不够稳定,本来也是启发于 [ZU1k](https://github.com/zu1k) 就先用他开发的接口吧 +> 自己构造的接口测试下来还是不够稳定,本来也是启发于 [zu1k](https://github.com/zu1k) 就先用他开发的接口吧 +- [x] 软件层面识别语种(UI 提示识别语种) +- [x] 设置 UI 化 - [ ] 添加 OCR 翻译 -- [ ] 优化划词翻译(未选中则取消翻译) -- [ ] 添加软件缓存功能 - [ ] 添加翻译记录缓存功能 -- [ ] 设置 UI 化 -- [ ] 使用说明 UI 化 -- [ ] 软件层面识别语种(UI 提示识别语种) -- [ ] 翻译制作成插件方式 - [ ] 优化软件发布方式(自动升级) ## 使用 +![previews](./image.png) + 打开软件后会静默在后台,等待调用 1. 全局监听快捷键 - `Alt` + `A` 打开软件界面,输入内容按回车翻译 @@ -36,10 +34,12 @@ WPF 开发的一款即开即用、即用即走的翻译工具 点击软件外部界面任意处或点击软件则会自动隐藏到后台,即用即走。 +## 接口失效 + +若远端接口均失效,需要自己本地运行翻译服务,根据自己的系统 [下载](https://github.com/zu1k/removed-2022-07-12) 自己的版本,软件右上角选择 `local` 接口即可 + ## 参考项目 -监听全局快捷键功能参考如下项目,在此表示感谢 -- [https://github.com/NPCDW/WpfTool](https://github.com/NPCDW/WpfTool) +监听全局快捷键功能参考如下项目,在此表示感谢 [https://github.com/NPCDW/WpfTool](https://github.com/NPCDW/WpfTool) -翻译接口使用项目 [ZU1K](https://github.com/zu1k/removed-2022-07-12/releases/tag/0.1.2) -- [https://github.com/zu1k/removed-2022-07-12/releases/tag/0.1.2](https://github.com/zu1k/removed-2022-07-12/releases/tag/0.1.2) \ No newline at end of file +翻译接口使用项目 [https://github.com/zu1k/removed-2022-07-12/releases/tag/0.1.2](https://github.com/zu1k/removed-2022-07-12/releases/tag/0.1.2) \ No newline at end of file diff --git a/STranslate/Properties/AssemblyInfo.cs b/STranslate/Properties/AssemblyInfo.cs index 4a595f1..03bbab8 100644 --- a/STranslate/Properties/AssemblyInfo.cs +++ b/STranslate/Properties/AssemblyInfo.cs @@ -47,6 +47,6 @@ using System.Windows; //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //通过使用 "*",如下所示: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.0.6.0")] -[assembly: AssemblyFileVersion("0.0.6.0")] +[assembly: AssemblyVersion("0.0.7.0")] +[assembly: AssemblyFileVersion("0.0.7.0")] [assembly: Guid("CE252DD8-179F-4544-9989-453F5DEA378D")] \ No newline at end of file diff --git a/image.png b/image.png new file mode 100644 index 0000000000000000000000000000000000000000..a012c1a5f35fd3efb49ca4c602bb2d32f71a85f5 GIT binary patch literal 10196 zcmchd1yoeuyY~+bf?yyZjUXW@AVUlxNQr=ebc#brcbAAi3`%N1x|LLF9AH3xbT>## z%+Me${ce7D-8a^H?_KMz`+wiF7B$S-bIv}`^X%{U^Xzv|HI%Pjp}zt_&{b8HN7@jC zHvqm=N%6reYVjfS;0KwDilI9MQ8r(G;U(}=GJqGadng)s=r~(@ct3Zuf^?i-x;%IH zurj6XorWM*NcGXfXFjPL(}6BJOKF0?mr`?R)vA5B$?2}peRjRsKH|x?J>)2Hr8*H+{$ctH*HHc|@f71ExfQt|4;Iu_o}@Js zas7Jc#de2`E(Q6E7L(z=$)YLYpAG9O-&k&uv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