- Notifications
You must be signed in to change notification settings - Fork 3.7k
docs: review class-and-style.md #106
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: review class-and-style.md #106
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.
试着保留 style 和 class 会比较自然吗?
我觉得没有加 codestyle 的不需要保留。“CSS 类”、“内联样式”等应该算是常见词汇? |
| @veaba 在本章节的语境中,我认为class和style这些翻译都是准确无误,也是目前中文语境中比较成熟的翻译了,所以我认为不保留可能更自然 |
| 之前的两个版本的文档,标题都保留了 class 和 style 的英文,实际句子中非代码的 style 其实都翻译了,class 有的时候翻译成类会有点怪,因为 OO 里也有类,所以保留 class 多一些 https://cn.vuejs.org/v2/guide/class-and-style.html |
Co-authored-by: wxsm <wxsms@foxmail.com>
关于 class/style 的讨论,看来大家还存在一些分歧。后续我新建立一个 issue 来讨论吧。这个 PR 我就先合并了哈。 |
| @wxsms 好的,可以 |
所做修改: