89

GitHub - zgs225/alfred-youdao: 有道词典 for Alfred

 6 years ago
source link: https://github.com/zgs225/alfred-youdao
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Alfred-Youdao

Youdao Dict for Alfred.

预览

设置有道API演示

预览

Features

  • 使用方法 yd {query}
  • 支持屏幕取词功能, 需要先在Alfred Workflow中设置热键
  • 使用Shift+Enter在有道词典网页中打开
  • 使用Cmd+Enter发音
  • Enter键复制翻译结果
  • 支持设置源语言和目标语言,支持中文、日语、英语等相互翻译。语法是yd zh=>ja 我爱你

支持相互翻译的语言列表如下:

  • zh - 中文
  • ja - 日文
  • en - 英文
  • ko - 韩文
  • fr - 法文
  • ru - 俄文
  • pt - 葡萄牙文
  • es - 西班牙文
  • auto - 自动

Dependencies

  • Go 1.6
  • 一个好的自动更新机制
  • 自定义有道API Key 和 Secret
  • 拼写提示功能

CHANGELOG

1.5.2

  • 自定义有道API Key 和 Secret

1.5.1

  • 发音添加了对日语、法语等语言的支持
  • 修改中文语言选项

1.5.0

  • 添加发音功能,调用Mac自带的发音软件
  • 优化了打开词典的网页
  • 其他小修改

1.4.0

  • 添加手动设置翻译语言
  • 修改结果展示,让展示的结果更全面

1.3.2

  • 修复缓存失效问题
  • 移除没有什么用处的自动更新

1.3.0

  • 添加在后台自动更新的机制

1.2.4

  • 修改Alfred执行队列行为,让查询更平滑

1.2.3

  • 添加按Shift+Enter键在有道网站打开功能

1.2.2

  • 添加按Enter键复制功能
  • 可以在Workflows里面设置快捷键实现屏幕取词功能

1.2.1

  • 延长缓存时间
  • 延长查询超时时间

1.2.0

  • 添加快捷键可以选词查询

1.1.0

  • 添加了缓存功能

1.0.0

  • 完成查询和翻译功能

非常感谢以下捐赠者对本项目慷慨解囊。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK