码迷,mamicode.com
首页 > 系统相关 > 详细

命令行翻译工具translate-shell

时间:2017-11-03 20:30:34      阅读:280      评论:0      收藏:0      [点我收藏+]

标签:install   mac   tps   code   splay   git   completed   quit   english   

translate-shell

mac安装

$ mkdir tools
$ cd tools
$ git clone https://github.com/soimort/translate-shell
$ cd translate-shell/
$ make
[OK] Task build completed.
$ sudo make install
[OK] Task build completed.
[OK] translate-shell installed.
如果有gawk报错:
$ brew install gawk

进入命令行翻译

$ trans :zh -b -shell
Translate Shell
(:q to quit)
> english
英语
> trans
反式
> hello world
你好,世界
> :q
退出

命令行翻译工具translate-shell

标签:install   mac   tps   code   splay   git   completed   quit   english   

原文地址:http://www.cnblogs.com/wtli/p/7779685.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!