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

[讨论解决方案] GoldenDict 吞空行导致翻译多段文本时排版拥挤 #44

Closed
Ethkuil opened this issue Oct 8, 2022 · 1 comment

Comments

@Ethkuil
Copy link

Ethkuil commented Oct 8, 2022

#6 #9

将多段文本复制到 GoldenDict 后,空行会被替换为空格以保证只有 1 行。这导致翻译时的源文本就是只有 1 行的。

如何解决这点?

我本来想到检测空格来换行,但这个似乎副作用很大。或者去修改 GoldenDict 的源码,让它把换行保留为 \n 之类的格式。

大家有没有什么更好的办法?

@Ethkuil Ethkuil closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2023
@Ethkuil
Copy link
Author

Ethkuil commented Jan 10, 2023

我已经弃用 GoldenDict + 调用外部接口 实现翻译的方案了。我现在用 ChatGPT Desktop 做翻译,我觉得很好用。

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

No branches or pull requests

1 participant