-
Notifications
You must be signed in to change notification settings - Fork 17
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
docs(cn): integrations/svelte translation #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HerbertHe,辛苦啦~ 本文翻译难度确实蛮高的,但译文质量确实有些问题,给出如下建议:
- 放慢翻译的速度,提升翻译的质量;
- 译文中多次出现译文与原文表达含义完全不同的情况,这是大忌,容易误导别人。请尽量避免这种情况。
- 译文许多句子,从中文的角度来说,存在语病。
- 译文比较口语化,但是对于文档来说,太过口语化并不是一件好事儿。口语表达方式相近的读者可能比较喜欢,但是对口语表达方式完全不同的读者,阅读体验就会大幅下降。
- 非常建议你在翻译完成之后,通读一遍译文,看看自己能否读懂译文所要表达的内容。
以上建议仅从本文中得出,仅对事,不对人,建议仅供参考。
|
||
With v4 we introduced a new feature set of custom attributes for svelte style tags, to make integration regardless the setup easy and straight forward. | ||
Non scoped styles will be handled in svelte according to their docs with `:global()` for classes and `-global-` for keyframes. | ||
在 v4 我们介绍了一个为 svelte 样式标签设置自定义属性的新特性,无需设置即可轻松进行集成。非作用域限制的样式在 svelte 中处理, 根据 svelte 的文档 `:globals()` 标记 classes,`-global-` 标记 keyframes。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scoped styles 不建议翻译
参考此 Review
@KimYangOfCat 这个翻译做的比较早了,之前确实有口语化过多了🤧这个的话我打算重新做修改了 |
在svelte中,scoped style 并不是一个属性标记,我感觉是可以翻译的。根据svelte的机制,所有的样式全部都是默认为作用域限制的样式~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class 的翻译尚在讨论中,参考 #8 (comment)
其他 OK 啦 ~
No description provided.