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

5 Commits

Author SHA1 Message Date
eeeXun
6c8bbac7d8 refactor(translation): use type assertion if Sprintf is not needed 2023-05-12 14:04:46 +08:00
Xun
aa957d195c
feat(translator): add ChatGPT (#18)
* feat(translator): add ChatGPT

* feat: check chatgpt error

* refactor: change chatgpt apiKey not set text

* refactor: change language to google

* docs: yaml indent with 4

* refactor: APIKey in struct
2023-05-12 13:53:23 +08:00
eeeXun
24cadc4072 refactor: check Apertium translate with responseData instead of StatusCode 2023-04-29 21:18:09 +08:00
eeeXun
d0072abecc refactor: new a core.Language instead of return by function
Nothing needs to be initialized in core.Language. Just new one.
2023-04-29 01:41:31 +08:00
eeeXun
4f30ce9df6 refactor: rename Translator name without Translate 2023-04-29 00:17:09 +08:00