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

技术类文档中存在代码如何避免翻译 #18

Closed
kingnight opened this issue Apr 19, 2023 · 2 comments
Closed

技术类文档中存在代码如何避免翻译 #18

kingnight opened this issue Apr 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kingnight
Copy link

如题,技术类文档中,很多存在代码片段,如何避免被翻译;正则无法匹配

@bookfere bookfere added the enhancement New feature or request label Apr 19, 2023
@bookfere
Copy link
Owner

感觉这不太容易用程序自动处理,因为不同电子书的代码片段格式差异很大。插件今后打算添加一个翻译监控面板,到时可以在上面提供一些功能,可以通过一些特征(比如有些代码片段所在的元素共用同一个 class 属性)来排除不需要翻译的段落。

@kingnight
Copy link
Author

确实是,期待新功能

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

2 participants