From dd84d176f9781514576e2bb8d9d6d885ea9c9cad Mon Sep 17 00:00:00 2001 From: "DESKTOP-3BO4HSG\\ksat" Date: Wed, 4 Jan 2023 11:29:55 +0800 Subject: [PATCH] feat(speech): Add text-to-speech function --- README.md | 1 + STranslate/Images/iconfont.ttf | Bin 3456 -> 4152 bytes STranslate/MainWindow.xaml | 6 +++++ STranslate/Properties/AssemblyInfo.cs | 4 +-- STranslate/Properties/Resources.Designer.cs | 2 +- STranslate/STranslate.csproj | 1 + .../Style/Dark/DictionaryButtonDark.xaml | 23 ++++++++++++++++++ .../Default/DictionaryButtonDefault.xaml | 23 ++++++++++++++++++ STranslate/ViewModel/MainVM.cs | 20 +++++++++++++++ 9 files changed, 77 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21a6ff9..202aadf 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ - [x] 添加开机自启 - [x] 添加亮/暗主题 - [x] 添加 UI 设置缓存(用户目录下 `AppData\Local\STranslate`) +- [x] 添加文本转语音 - [ ] 添加 OCR 翻译 - [ ] 添加翻译记录缓存功能 diff --git a/STranslate/Images/iconfont.ttf b/STranslate/Images/iconfont.ttf index 5bcdb905fd9833aafcd037a5e52a124e80144a89..839570f599cc09785e5bce4b96c42facf7cf007d 100644 GIT binary patch delta 1195 zcmY*XU1%It6h7zPnL9H(JF}aeo!MQonWUR!6Wi==^Ru%tDVv`f6(SS`F={d0wrSQT zG0}!l17#}_)D(Z(ZSe;!l)eb&p;d~d6v0=0@kIoEXrBfHDk%71X%o-vBE`A$oqO(g z?m6e)Z{}?4&5jTD*B(oizXV`OLUw-f^%FDKH=hEKW&qS*t8R2o6uEVT0PxI4gmf}rf+fiSjBK7CnAa z;%t6p`INDmJM``^0FlpW!~5rNcaG_R&Iq)~=5)lA*e!lYk!+EzRA%BC` zDzJd1C&<(5F8+0asr4wcrY<)qfRBJTygr&kwC^%Vut=L@5G98B%#ZqQe#zhPFKl1j zzO}mx;KP4h{Rp!Q&GIpD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