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

docs(cn): integrations/svelte translation #12

Merged
merged 5 commits into from
Jun 1, 2021

Conversation

HerbertHe
Copy link
Collaborator

No description provided.

@HerbertHe HerbertHe mentioned this pull request May 26, 2021
88 tasks
Copy link
Collaborator

@KimYangOfCat KimYangOfCat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HerbertHe,辛苦啦~ 本文翻译难度确实蛮高的,但译文质量确实有些问题,给出如下建议:

  1. 放慢翻译的速度,提升翻译的质量;
  2. 译文中多次出现译文与原文表达含义完全不同的情况,这是大忌,容易误导别人。请尽量避免这种情况。
  3. 译文许多句子,从中文的角度来说,存在语病。
  4. 译文比较口语化,但是对于文档来说,太过口语化并不是一件好事儿。口语表达方式相近的读者可能比较喜欢,但是对口语表达方式完全不同的读者,阅读体验就会大幅下降。
  5. 非常建议你在翻译完成之后,通读一遍译文,看看自己能否读懂译文所要表达的内容。

以上建议仅从本文中得出,仅对事,不对人,建议仅供参考。


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。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scoped styles 不建议翻译

参考此 Review

integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Outdated Show resolved Hide resolved
integrations/svelte.md Show resolved Hide resolved
@HerbertHe
Copy link
Collaborator Author

@KimYangOfCat 这个翻译做的比较早了,之前确实有口语化过多了🤧这个的话我打算重新做修改了

@HerbertHe
Copy link
Collaborator Author

在svelte中,scoped style 并不是一个属性标记,我感觉是可以翻译的。根据svelte的机制,所有的样式全部都是默认为作用域限制的样式~

Copy link
Collaborator

@KimYangOfCat KimYangOfCat left a 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 啦 ~

@QC-L QC-L merged commit af604ac into windicss:main Jun 1, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants