Skip to content

Commit

Permalink
modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wizyoung committed Jan 24, 2018
1 parent 0642f07 commit 1b5d109
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ An unofficial free Google translate PopClip Extension based on [Googletrans Pyth
- `Google Translate Site`: Choosing from `translate.google.cn` (default) or `translate.google.com`. The `.cn` server is for users in mainland China where the `.com` server is blocked by the government.
- `Destination Language` and `Mother Language`: If the selected text is not the `Mother Language`, the words will be translated to the `Mother Language`. Else, the words will be translated to the `Destination Language`.
- `Output Window Location`: Where the result window will be. Choosing from `topright `(default) or `center`.
- `Copy the results`: Wether to copy the results to clipboard after the translation.
- `Copy the results`: Whether to copy the results to clipboard after the translation.

![](https://github.com/wizyoung/googletranslate.popclipext/blob/master/screenshots/settings.png?raw=true)

You can change all these settings after clicking the pencil shaped icon at the bottom of the popclip drop-down list.
You can change all these settings by clicking the pencil shaped icon at the bottom of the popclip drop-down list.

## Install

Unzip the file from [Releases](https://github.com/wizyoung/googletranslate.popclipext/releases) and double click the .popclipext file to install it.
Download the file from [Releases](https://github.com/wizyoung/googletranslate.popclipext/releases) and double click to install the extension.

## TODO

- [ ] Result Bubble beside the selected words.
- [ ] Autoupdate.
- [ ] Auto Update.

## Thank You

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

## 3. 安装

解压从 [Releases](https://github.com/wizyoung/googletranslate.popclipext/releases) 下载的文件,双击.popclipext点后缀文件即可完成安装
[Releases](https://github.com/wizyoung/googletranslate.popclipext/releases) 下载的文件,双击即可完成安装

## 4. TODO

Expand Down
2 changes: 1 addition & 1 deletion src/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def shelloutput(result, toclipboard, location):
--text "Translation Result" \
--icon-file gt.png \
--informative-text "$result" \
--button1 "OK" --button3 "复制结果"` '
--button1 "OK" --button3 "Copy results"` '
shell = shell + '\n if [ "$rv" == "3" ]; then echo "$result" | /usr/bin/pbcopy ;fi'
os.system(shell)
if toclipboard == '1':
Expand Down

0 comments on commit 1b5d109

Please sign in to comment.