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

[Feature]: 剪切板监听模式下复制翻译结果会导致原文被替换,会重新翻译 #589

Open
ZhenhongDu opened this issue Nov 11, 2023 · 3 comments

Comments

@ZhenhongDu
Copy link

ZhenhongDu commented Nov 11, 2023

Description

剪切板监听模式下,复制翻译结果,会有新的翻译响应:

image
点击‘复制’按钮后
image
该模式下能否支持复制翻译结果不自动翻译

Application Scenario

有的时候只是想复制翻译结果,没有必要再次翻译造成API浪费;

另外剪切板监听模式下,译文自动复制似乎不起效果;

References

No response

@Pylogmon
Copy link
Member

就是因为这个你所说的原因,所以才在剪切板监听模式下禁用了自动复制。

@ZhenhongDu
Copy link
Author

复制翻译结果,会有新的翻译响应:

但是手动复制翻译结果,仍然会有新的翻译响应:

@Hzbeta
Copy link

Hzbeta commented Jan 15, 2024

就是因为这个你所说的原因,所以才在剪切板监听模式下禁用了自动复制。

不知道能否考虑增加一个判断?当剪切板内容变动时,如果新的剪切板数据与翻译结果中的一个完全相同,就不触发新的翻译

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