update readme
This commit is contained in:
parent
b9de47d5a3
commit
ed3bbecb95
|
@ -1,8 +1,14 @@
|
|||
# Translate Widget
|
||||
|
||||
This widget allows quickly translate words or phrases without opening a browser - just using Awesome. To provide direction of the translation add the 2 letters code of the source and target languages at the end of the phrase, for example _hello enfr_ will translate _hello_ from English to French. This widget is based on [Yandex.Translate API](https://tech.yandex.com/translate/).
|
||||
|
||||
![demo](./demo.gif)
|
||||
|
||||
This widget is based on the [Yandex.Translate API](https://tech.yandex.com/translate/).
|
||||
## Controls
|
||||
|
||||
- <kbd>Mod4</kbd> + <kbd>c</kbd> - opens a translate prompt;
|
||||
- left click on the popup widget - copies the translation to the clipboard and closes widget;
|
||||
- right click on the popup widget - copies text to translate to the clipboard and closes widget.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -48,9 +54,3 @@ This widget is based on the [Yandex.Translate API](https://tech.yandex.com/trans
|
|||
end
|
||||
}
|
||||
```
|
||||
|
||||
## Controls
|
||||
|
||||
- <kbd>Mod4</kbd> + <kbd>c</kbd> - opens a translate prompt;
|
||||
- left click on the popup widget - copies the translation to the clipboard and closes widget;
|
||||
- right click on the popup widget - copies text to translate to the clipboard and closes widget.
|
||||
|
|
Loading…
Reference in New Issue