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

8 Commits

Author SHA1 Message Date
eeeXun
ed2bd312a3 refactor: make translator to an interface 2023-01-26 01:15:53 +08:00
eeeXun
b27a7dc11b fix: check if config value is missing
If config value is missing, set it with default value
2023-01-23 16:36:24 +08:00
eeeXun
8f48d9be1f feat: add version 2023-01-18 14:48:43 +08:00
Xun
d99585b386
feat: add definition & part of speech (#5) 2023-01-18 14:30:44 +08:00
eeeXun
10c6877230 style: rename function & reorder function call
- rename function `translatePageHandler` to `translateWindow`
- reorder function call in `ui.go`, let function call jointed
- change the position of comment
2023-01-11 10:49:12 +08:00
eeeXun
da5fc22258 feat: allow language to be passed in argument 2022-10-29 19:57:48 +08:00
eeeXun
98ff16df38 fix: Getenv XDG_CONFIG_HOME
Getenv don't need `$` sign
2022-10-25 01:01:50 +08:00
eeeXun
98d1cb3392 Initial commit 2022-10-24 23:43:20 +08:00