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

refactor: rename config key name

This commit is contained in:
eeeXun 2023-06-23 22:02:00 +08:00
parent 14e8d58696
commit f425ec196d
2 changed files with 8 additions and 8 deletions

View File

@ -21,10 +21,10 @@ func configInit() {
"swap_language": "s", "swap_language": "s",
"clear": "q", "clear": "q",
"copy_selected": "y", "copy_selected": "y",
"copy_src": "g", "copy_source": "g",
"copy_dst": "r", "copy_destination": "r",
"tts_src": "o", "tts_source": "o",
"tts_dst": "p", "tts_destination": "p",
"stop_tts": "x", "stop_tts": "x",
"toggle_transparent": "t", "toggle_transparent": "t",
"toggle_below": "\\", "toggle_below": "\\",

View File

@ -12,13 +12,13 @@ clear: "q"
# Copy selected text, <C-y> # Copy selected text, <C-y>
copy_selected: "y" copy_selected: "y"
# Copy all text in source of translation window, <C-g> # Copy all text in source of translation window, <C-g>
copy_src: "g" copy_source: "g"
# Copy all text in destination of translation window, <C-r> # Copy all text in destination of translation window, <C-r>
copy_dst: "r" copy_destination: "r"
# Play text to speech on source of translation window, <C-o> # Play text to speech on source of translation window, <C-o>
tts_src: "o" tts_source: "o"
# Play text to speech on destination of translation window, <C-p> # Play text to speech on destination of translation window, <C-p>
tts_dst: "p" tts_destination: "p"
# Stop playing text to speech, <C-x> # Stop playing text to speech, <C-x>
stop_tts: "x" stop_tts: "x"
# Toggle transparent, <C-t> # Toggle transparent, <C-t>