Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译api能否增加一个直接 返回内容数组json 而不是直接启动窗口 #674

Open
kihlh opened this issue Jan 19, 2024 · 2 comments

Comments

@kihlh
Copy link

kihlh commented Jan 19, 2024

Description

本地api是真的非常好用 但是基本都是直接激活翻译窗口以后会把当前正在执行中的工作打断 比如重命名,
我现在使用c++编写了一个实现 ctrl+c+c 时候响应划词翻译
但是我希望能够在重命名的时候能够将指定文本立即转换为译文并且替换掉当前的重名名称,还可以不打断当前任务
654638545

所以希望能够调用本地api可以实现翻译内容的直接返回 而不是直接启动窗口进行翻译

Application Scenario

能够通过特殊按键格式 例如Quicker ,AHK 这些工具都可以实现响应
比如 ctrl+c+c (500ms内2次C)响应划词翻译 ctrl+d+d 实现当前文本替换为api静默返回的译文

654638546

References

No response

@Pylogmon
Copy link
Member

无此计划,不过替换文本后续会做的

@H1DDENADM1N
Copy link

好想法,需求+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants