v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-17 00:00:16 -07:00

docs: located under -> located at

This commit is contained in:
eeeXun 2023-05-16 13:49:35 +08:00
parent 242523cdd7
commit e08e563b1a
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ Supported Translator:
[`Argos`](https://translate.argosopentech.com/), [`Argos`](https://translate.argosopentech.com/),
[`Bing`](https://www.bing.com/translator), [`Bing`](https://www.bing.com/translator),
[`ChatGPT`](https://chat.openai.com/), [`ChatGPT`](https://chat.openai.com/),
[`DeepL`](https://deepl.com/translator) (only free API), [`DeepL`](https://deepl.com/translator)(only free API),
[`Google`](https://translate.google.com/)(default), [`Google`](https://translate.google.com/)(default),
[`Reverso`](https://www.reverso.net/text-translation) [`Reverso`](https://www.reverso.net/text-translation)
@ -18,7 +18,7 @@ ChatGPT and DeepL translations require API keys, which can be obtained from
[DeepL API signup](https://www.deepl.com/pro-api) pages, respectively. Note [DeepL API signup](https://www.deepl.com/pro-api) pages, respectively. Note
that only the free API is supported for DeepL currently. Once you have your that only the free API is supported for DeepL currently. Once you have your
API key add it to `$XDG_CONFIG_HOME/gtt/gtt.yaml` or API key add it to `$XDG_CONFIG_HOME/gtt/gtt.yaml` or
`$HOME/.config/gtt/gtt.yaml`: `$HOME/.config/gtt/gtt.yaml`
```yaml ```yaml
api_key: api_key:
@ -90,7 +90,7 @@ And note that:
- `yellow` is for label color - `yellow` is for label color
- `orange` is for KeyMap menu color - `orange` is for KeyMap menu color
See the example in [theme.yaml](example/theme.yaml) file. This file should located under `$XDG_CONFIG_HOME/gtt/theme.yaml` or `$HOME/.config/gtt/theme.yaml` See the example in [theme.yaml](example/theme.yaml) file. This file should located at `$XDG_CONFIG_HOME/gtt/theme.yaml` or `$HOME/.config/gtt/theme.yaml`
## Language in argument ## Language in argument

View File

@ -1,4 +1,4 @@
# This file should located under $XDG_CONFIG_HOME/gtt/theme.yaml or $HOME/.config/gtt/theme.yaml # This file should located at $XDG_CONFIG_HOME/gtt/theme.yaml or $HOME/.config/gtt/theme.yaml
# You have to provide theme name. e.g. tokyonight # You have to provide theme name. e.g. tokyonight
# And colors: bg, fg, gray, red, green, yellow, blue, purple, cyan, orange # And colors: bg, fg, gray, red, green, yellow, blue, purple, cyan, orange
# bg is for background color # bg is for background color