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

148 Commits

Author SHA1 Message Date
eeeXun
89257856aa chore: Run format actions only on *.go changes 2023-02-10 14:47:46 +08:00
eeeXun
7d44f74bb2 docs: update Install in README 2023-02-09 19:33:36 +08:00
eeeXun
b0e3d6f764 chore: add aur actions 2023-02-09 16:51:51 +08:00
eeeXun
d833495ab2 chore: add docker_build actions 2023-02-09 16:29:58 +08:00
Xun
fdde709a01
Create LICENSE 2023-02-09 12:36:51 +08:00
eeeXun
06fa80ef1b style(ui): language dropdown should focus prior to translator dropdown 2023-02-08 18:02:42 +08:00
eeeXun
f9bf291d0c docs: add translate web page in README 2023-02-06 13:39:45 +08:00
eeeXun
8a141e641e refactor(argostranslate): use PostForm instead of Post
The newline of message in url.Values in PostForm doesn't need to be
replaced by `\n`
2023-02-04 13:31:56 +08:00
eeeXun
513ad36470 refactor: NewTranslator in for-loop
NewTranslator by name, so no need to create functions for each Translate
2023-02-03 13:30:55 +08:00
muvment
f43dba6263
docs: Updated README Wayland dependencies (#12) 2023-02-03 13:12:48 +08:00
eeeXun
161af85fb2 style(format): run gofmt 2023-02-03 05:08:08 +00:00
muvment
8f2b3167d6
feat: Added X11/Wayland detection for copy command (#10) 2023-02-03 13:07:51 +08:00
eeeXun
25b20b9f14 style: add comment 2023-02-01 14:56:59 +08:00
eeeXun
c640c1bc08 chore: format with gofmt instead of go fmt 2023-02-01 14:18:13 +08:00
muvment
4c0faab899
feat: Added auto translate for Argos translate (#11)
Seems like Argos also supports auto translate as an experimental feature.
2023-02-01 13:53:49 +08:00
eeeXun
f6b7d6a330 style(format): run goimports 2023-02-01 05:52:22 +00:00
muvment
3f8aa5bcdd
feat: Added Google translate auto option (#9) 2023-02-01 13:52:00 +08:00
eeeXun
6b930d27f8 fix: newline of message in argostranslate need to be replaced with \n 2023-01-31 22:30:33 +08:00
eeeXun
898ac53b97 style: rename NewLibreTranslate to NewArgosTranslate 2023-01-29 15:17:41 +08:00
eeeXun
f9775ba89e refactor: replace AddItem with attachItems
attachItems implements adding multi items & centering items
v2
2023-01-29 11:45:01 +08:00
eeeXun
a44d329cc7 style: rename {lang,style,keyMap}Window to {lang,style,keyMap}PopOut 2023-01-29 11:28:53 +08:00
Xun
db58fa7912
Merge pull request #8 from eeeXun/libretranslate
feat: add ArgosTranslate
2023-01-29 11:18:40 +08:00
eeeXun
fe25bd4e2b style: use EngineName for error message 2023-01-29 11:03:39 +08:00
eeeXun
45b9c13c06 style: rename viper to config
viper already previde the variable. No need to New one.
2023-01-27 20:30:24 +08:00
eeeXun
d816d1f4f1 docs: add ArgosTranslate in README 2023-01-27 16:50:02 +08:00
eeeXun
3c33708f33 style: rename LibreTranslate to ArgosTranslate
LibreTranslate is an API and web-app built on top of Argos Translate
2023-01-27 16:49:33 +08:00
eeeXun
6244a00630 style: default language & restructure config
change default language to English
change the structure of language in config
2023-01-27 14:44:45 +08:00
eeeXun
1115d19b7a feat: add translatorDropDown 2023-01-27 12:24:42 +08:00
eeeXun
0faaa757e3 feat: add libretranslate 2023-01-26 23:45:59 +08:00
eeeXun
4a15946142 style: rename google to googletranslate 2023-01-26 11:56:38 +08:00
eeeXun
72f75e070e style: make defaultConfig to local variable 2023-01-26 01:18:00 +08:00
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
Shalmon Anandas
9c7056ed8b
feat: windows clipboard(#6) 2023-01-19 12:06:20 +08:00
Xun
717630e3b7
docs: change screenshot 2023-01-18 16:43:11 +08:00
eeeXun
0be8a3fd71 chore: not use --remove-files option in tar
It cause some problem in macos
v1
2023-01-18 15:01:18 +08:00
eeeXun
4c3a412b5a chore: add github workflows for release 2023-01-18 14:56:09 +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
e49639fcbe style: replace duplicated code with for-loop 2023-01-11 22:09:43 +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
94ec8498ac style(format): run goimports 2023-01-09 19:17:01 +00:00
eeeXun
7d498399e1 chore: add github workflows for auto format 2023-01-10 03:12:07 +08:00
eeeXun
ddce44395d fix: change keyMapMenu text HighLightColor
Should change HighLightColor when switching colorscheme.
2022-11-04 23:34:22 +08:00
eeeXun
da5fc22258 feat: allow language to be passed in argument 2022-10-29 19:57:48 +08:00
Xun
7523cec0ce
feat: copy text (#1)
* copy key with `<C-y>` `<C-g>` `<C-r>`
2022-10-26 08:18:23 +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