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

Prevent translation for elements with attribute translate="no" #500

Open
vitonsky opened this issue Jul 4, 2024 · 1 comment
Open

Prevent translation for elements with attribute translate="no" #500

vitonsky opened this issue Jul 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vitonsky
Copy link
Collaborator

vitonsky commented Jul 4, 2024

Consider attribute translate="no" to prevent translation

Original report

image

请严格遵守translate="no"属性!!!!!
因为不遵守此属性会破坏网页!尤其是技术向网页往往有许多特定名词,比如事件名、变量名、函数名这些(但不是整段代码,所以不会用code括起来)。而HTML游戏则有许多是不能翻译的!翻译后会出现诸如链接点击无反应、链接消失、甚至直接报错的情况,为此我写了一个脚本去保留不翻译的原始链接,但是因为不遵守translate="no",你把原始链接也给强行翻译了,这是非常糟糕的行为!!!

@vitonsky vitonsky added the enhancement New feature or request label Jul 4, 2024
@vitonsky
Copy link
Collaborator Author

vitonsky commented Aug 3, 2024

It would be nice to implement #113 first and then just add selector [translate="no"]

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

1 participant