Skip to content

Commit

Permalink
新增及时翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
wmhn1872265132 committed Apr 7, 2024
1 parent ecd2db3 commit d20d313
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
- addonId: goldenCursor
- addonId: ime_expressive
- addonId: inputLock
- addonId: instantTranslate
# - addonId: MSEdgeDiscardAnnouncements
- addonId: NVDACNMirror
- addonId: QQEnhancement
Expand Down
8 changes: 5 additions & 3 deletions documentation/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
6. 高级设置:将“Windows 控制台支持”更改为“UIA 如果可用”、启用“在所有的增强终端读出密码”、将“Diff 算法”更改为“允许 Diff Match Patch”,以解决 CMD 等命令行程序在某些情况下的字符重复朗读等问题;
7. WorldVoice 插件:启用“检测语言时忽略数字和常见的标点符号”、将小数点的‘.’(点)朗读方式更改为“点”,“语音”更改为“Ting-Ting”,“音量”更改为“80”,“数字语言”更改为“中文(简体,中国)”,“数字模式”更改为“数值”,使此插件更加易用,特别感谢 Eureka 提供数据;
8. 插件更新器:将“插件更新源”更改为“NVDA 中文站”,以便于中文插件的更新;
9. IBMTTS 插件:禁用“自动检查 IBMTTS 更新”、将“速度”更改为“30”,“音量”更改为“100”,“采样率”更改为“22 kHz”,同时尝试将 IBMTTS 库设置为安装版 VVTTS 的相应动态链接库,使此插件更加易用。
9. IBMTTS 插件:禁用“自动检查 IBMTTS 更新”、将“速度”更改为“30”,“音量”更改为“100”,“采样率”更改为“22 kHz”,同时尝试将 IBMTTS 库设置为安装版 VVTTS 的相应动态链接库,使此插件更加易用;
10. 及时翻译插件:启用“使用镜像(主要针对中国用户)”,使此插件更加易用

上述设置在安装程序的“选择组件”页面,选择“默认安装”、“完整安装”或“最小安装”时均会自动应用,如选择自定义安装,需选中“修改部分 NVDA 设置”复选框方可成功应用。
为了避免误操作,造成您原有设置的丢失,故如检测到您的 NVDA 用户配置文件夹存在“NVDA.ini”文件,程序将不会自动选择上述选项,如仍要应用这些配置,需在“选择组件”页面选择“自定义安装”并选中“修改部分 NVDA 设置”复选框才可。
Expand All @@ -37,13 +38,14 @@
- 插件管理工具箱
- 插件更新器(默认安装)
- 音频管理器(仅 Windows 10 及以上版本的系统可见,默认安装)
- 百度翻译(默认安装)
- 百度翻译
- 剪贴板朗读增强(默认安装)
- DragAndDrop (对象拖放)(默认安装)
- DragAndDrop (对象拖放)
- 触摸手势增强
- 金色光标(默认安装)
- 中文输入法支持(默认安装)
- 输入锁
- 及时翻译(默认安装)
- 禁止 Microsoft Edge UIA 通知
- 数字处理
- NVDA 中文社区更新镜像源(默认安装)
Expand Down
5 changes: 4 additions & 1 deletion documentation/changes.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# NVDA 懒人版更新日志

### 2024.4.
### 2024.4.7

- #### 安装程序

- 新增:附加任务页面的“修复音频闪避等功能无法使用”选项;
- 完善说明文档;
- 调整部分插件的默认安装状态;
- 新增插件:及时翻译;
- 更新插件。

- **注意:Access8Math插件因与 NVDA 2024.1 存在热键冲突,故在此版本被设置为手动安装,即在安装程序的“选择组件”页面,选择任意安装模式均不会自动安装,但在“自定义安装”类别可手动选择该插件的复选框进行安装。如 NVDA 2024.2 发布后该插件仍为更新,其将会被从本程序中删除。**

### 2024.4.2

- #### 全局
Expand Down
2 changes: 2 additions & 0 deletions userConfig/nvda.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@
diffAlgo = dmp
[ibmeci]
autoUpdate = False
[instanttranslate]
useMirror = True
5 changes: 5 additions & 0 deletions 懒人版安装脚本.iss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Name: "Addons\enhancedTouchGestures"; Types: Full custom; Flags: disablenouninst
Name: "Addons\goldenCursor"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "金色光标"
Name: "Addons\imeExpressive"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "中文输入法支持"
Name: "Addons\inputLock"; Types: Full custom; Flags: disablenouninstallwarning; Description: "输入锁"
Name: "Addons\instantTranslate"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "及时翻译"
Name: "Addons\MSEdgeDiscardAnnouncements"; Types: Full custom; Flags: disablenouninstallwarning; Description: "禁止 Microsoft Edge UIA 通知"
Name: "Addons\NumberProcessing"; Types: Full custom; Flags: disablenouninstallwarning; Description: "数字处理"
Name: "Addons\NVDACNMirror"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "NVDA 中文社区更新镜像源"
Expand Down Expand Up @@ -220,6 +221,7 @@ Type: files; Name: "{app}\Addons\goldenCursor\installTasks.py"; Tasks: "not Dele
Type: files; Name: "{app}\Addons\goldenCursor\manifest.ini"; Tasks: "not DeleteProfile"; Components: "Addons\goldenCursor"
Type: filesandordirs; Name: "{app}\Addons\ime_expressive"; Tasks: "not DeleteProfile"; Components: "Addons\imeExpressive"
Type: filesandordirs; Name: "{app}\Addons\inputLock"; Tasks: "not DeleteProfile"; Components: "Addons\inputLock"
Type: filesandordirs; Name: "{app}\Addons\instantTranslate"; Tasks: "not DeleteProfile"; Components: "Addons\instantTranslate"
Type: filesandordirs; Name: "{app}\Addons\MSEdgeDiscardAnnouncements"; Tasks: "not DeleteProfile"; Components: "Addons\MSEdgeDiscardAnnouncements"
Type: filesandordirs; Name: "{app}\Addons\numberProcessing"; Tasks: "not DeleteProfile"; Components: "Addons\numberProcessing"
Type: filesandordirs; Name: "{app}\Addons\QQEnhancement"; Tasks: "not DeleteProfile"; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -248,6 +250,7 @@ Type: files; Name: "{app}\Addons\enhancedTouchGestures.json"; Tasks: "not Delete
Type: files; Name: "{app}\Addons\goldenCursor.json"; Tasks: "not DeleteProfile"; Components: "Addons\goldenCursor"
Type: files; Name: "{app}\Addons\ime_expressive.json"; Tasks: "not DeleteProfile"; Components: "Addons\imeExpressive"
Type: files; Name: "{app}\Addons\inputLock.json"; Tasks: "not DeleteProfile"; Components: "Addons\inputLock"
Type: files; Name: "{app}\Addons\instantTranslate.json"; Tasks: "not DeleteProfile"; Components: "Addons\instantTranslate"
Type: files; Name: "{app}\Addons\MSEdgeDiscardAnnouncements.json"; Tasks: "not DeleteProfile"; Components: "Addons\MSEdgeDiscardAnnouncements"
Type: files; Name: "{app}\Addons\numberProcessing.json"; Tasks: "not DeleteProfile"; Components: "Addons\numberProcessing"
Type: files; Name: "{app}\Addons\QQEnhancement.json"; Tasks: "not DeleteProfile"; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -286,6 +289,7 @@ Filename: "{tmp}\7z"; Parameters: "x ""Addons\enhancedTouchGestures*"" -aoa -o""
Filename: "{tmp}\7z"; Parameters: "x ""Addons\goldenCursor*"" -aoa -o""{app}\Addons\goldenCursor"""; Components: "Addons\goldenCursor"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\ime_expressive*"" -aoa -o""{app}\Addons\ime_expressive"""; Components: "Addons\imeExpressive"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\inputLock*"" -aoa -o""{app}\Addons\inputLock"""; Components: "Addons\inputLock"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\instantTranslate*"" -aoa -o""{app}\Addons\instantTranslate"""; Components: "Addons\instantTranslate"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\MSEdgeDiscardAnnouncements*"" -aoa -o""{app}\Addons\MSEdgeDiscardAnnouncements"""; Components: "Addons\MSEdgeDiscardAnnouncements"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\numberProcessing*"" -aoa -o""{app}\Addons\numberProcessing"""; Components: "Addons\numberProcessing"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\QQEnhancement*"" -aoa -o""{app}\Addons\QQEnhancement"""; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -325,6 +329,7 @@ Source: "Resource\Addons\enhancedTouchGestures*"; DestDir: "{tmp}\Addons"; Flags
Source: "Resource\Addons\goldenCursor*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\goldenCursor"
Source: "Resource\Addons\ime_expressive*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\imeExpressive"
Source: "Resource\Addons\inputLock*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\inputLock"
Source: "Resource\Addons\instantTranslate*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\instantTranslate"
Source: "Resource\Addons\MSEdgeDiscardAnnouncements*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\MSEdgeDiscardAnnouncements"
Source: "Resource\Addons\numberProcessing*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\numberProcessing"
Source: "Resource\Addons\QQEnhancement*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\QQEnhancement"
Expand Down

0 comments on commit d20d313

Please sign in to comment.