Skip to content

🚀 功能建议:少了 deepl 的两个最重要的功能 #866

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

Open
4 of 5 tasks
imyellow opened this issue Apr 10, 2025 · 6 comments
Open
4 of 5 tasks

🚀 功能建议:少了 deepl 的两个最重要的功能 #866

imyellow opened this issue Apr 10, 2025 · 6 comments
Labels
enhancement New feature or request

Comments

@imyellow
Copy link

imyellow commented Apr 10, 2025

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过(包括已关闭的 issue),未发现类似功能建议
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

以下两个功能非常常用:

  1. 按 command+C+C,弹出软件并翻译内容
  2. 在输入时,例如发帖子、发邮件,打中文按 Shift+Command+C+C,自动将文本框的内容中译英或英译中,并把翻译结果替换文本框内选中的文字

尤其是第2个功能,非常实用。

Image

使用场景

Mac 本机,对任意输入文本框使用

实现方案(可选)

参考 DeepL Mac 版本地应用

是否愿意提交 PR 实现该功能

  • 我愿意提交 PR 实现该功能
@imyellow imyellow added the enhancement New feature or request label Apr 10, 2025
Copy link

Hello imyellow, Thank you for your first issue contribution 🎉

@tisfeng
Copy link
Owner

tisfeng commented May 1, 2025

按 command+C+C,弹出软件并翻译内容

之前有讨论过这个问题 #5

Cmd+C 会污染剪贴板,我感觉这不是一个好的选项,另外也可能和其他应用产生冲突。

如果不喜欢默认的 Opt+D 划词,也可以自定义快捷键。

@tisfeng
Copy link
Owner

tisfeng commented May 1, 2025

在输入时,例如发帖子、发邮件,打中文按 Shift+Command+C+C,自动将文本框的内容中译英或英译中,并把翻译结果替换文本框内选中的文字

这个不错,我们正在考虑类似功能 #870 (comment)

扩展当前的查询图标,提供一个快捷翻译替换按钮;或直接可通过快捷键实现翻译并替换的操作。

@imyellow
Copy link
Author

imyellow commented May 8, 2025

按 command+C+C,弹出软件并翻译内容

之前有讨论过这个问题 #5

Cmd+C 会污染剪贴板,我感觉这不是一个好的选项,另外也可能和其他应用产生冲突。

如果不喜欢默认的 Opt+D 划词,也可以自定义快捷键。

感谢回复,弹出划词虽然很方便,但建议还是提供一个选项弹出一个独立的窗口的形式,以更大的独立窗口左右分栏显示翻译和被翻译的内容,这对于长篇翻译很有效率,比起又长又窄的一条划词弹窗,看起来也更舒服。

+C+C 如果怕跟剪贴板有冲突,也可以换一个快捷键呼起这个弹窗

@tisfeng
Copy link
Owner

tisfeng commented May 11, 2025

比起又长又窄的一条划词弹窗,看起来也更舒服

如果稍后添加到查询图标控件上,也会提供显示或隐藏选项的。快捷键应该也会有。

@zhangzjjjjjj
Copy link

@tisfeng 感谢作者回复,我看过了您在两个issue中的讨论。在Windows上,copytranslator(目前已停更)和STranslate(类似bob的Windows实现)都提供了类似监控剪切板的功能。对于长时间的翻译,使用场景往往是这样:置顶easydict窗口,监控剪切板进行翻译。这种翻译方式似乎效率更高。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants