project-yuki / YUKI

YUKI Galgame Translator
GNU General Public License v3.0
1.5k stars 144 forks source link

希望增加词典功能 #98

Open 123456ds opened 4 years ago

123456ds commented 4 years ago

希望增加词典功能,文本优先匹配词典中的翻译避免机器的错误/和谐翻译

[s]翻译框可以透明就好了[/s]

luojunyuan commented 4 years ago

see FAQ_CN.md

123456ds commented 4 years ago

see FAQ_CN.md

感谢

百度翻译调试信息显示StatusCodeError 401 ,是到达限制次数?

启用j北京的设置是这样? "translators": { "jBeijing": { "dictPath": "F:\\[191013]Visual Novel Reader V2\\Library\\Dictionaries\\jb", "enable": true,, "path": "F:\\[191013]Visual Novel Reader V2\\JBeijing7" }

取消不了毛玻璃,修改了gui.json重启后修改无效(有保存修改,文件像是被重置了,设置项变为默认。)

luojunyuan commented 4 years ago

抱歉回复很晚了,才看见

  1. 百度返回401应该是请求超时
  2. 设置没问题
  3. 确认translatorWindow.renderMode"transparent" 拼写无误,是有引号包裹的。先关闭yuki,再做修改保存,再启动Yuki
sy1412 commented 4 years ago

把VNR那些词典都集成过来就无敌了

123456ds commented 4 years ago

抱歉回复很晚了,才看见

  1. 百度返回401应该是请求超时
  2. 设置没问题
  3. 确认translatorWindow.renderMode"transparent" 拼写无误,是有引号包裹的。先关闭yuki,再做修改保存,再启动Yuki

谢谢,已经解决了,现在才发现回复,抱歉。

完全透明效果要2次重启才能生效(未启动时修改文件,启动软件并加载游戏,发现还是毛玻璃,看了看"renderMode": "transparent"没有错,就又重启一次,加载游戏,透明可以了)