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): translate content/blog/2015-12-18-react-components-elements-and-instances.md into Chinese #379

Conversation

TabrisK
Copy link
Contributor

@TabrisK TabrisK commented Mar 9, 2020

博客 react components elements and instances 已翻译完成,劳驾审阅。:D

@netlify
Copy link

netlify bot commented Mar 9, 2020

Deploy preview for zh-hans-reactjs ready!

Built with commit a13ab49

https://deploy-preview-379--zh-hans-reactjs.netlify.com

@QC-L
Copy link
Member

QC-L commented Mar 11, 2020

最近忙,周末统一看~

@TabrisK
Copy link
Contributor Author

TabrisK commented Mar 15, 2020

已解决冲突,劳驾 review。

@yuqingc
Copy link
Member

yuqingc commented Mar 17, 2020

我这边 ok 了,等 QC-L 周末看完就可以合了。

@@ -230,18 +230,18 @@ const Form = ({ isSubmitted, buttonText }) => {
};
```

That’s it! For a React component, props are the input, and an element tree is the output.
这就是它!对于一个 React 组件,props 就是输入,元素树就是输出。
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
这就是它!对于一个 React 组件,props 就是输入,元素树就是输出
这就是它!对于一个 React 组件,props 就是输入,element tree 就是输出

Copy link
Member

Choose a reason for hiding this comment

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

这样是不是更好些?

Copy link
Member

Choose a reason for hiding this comment

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

读读看

Copy link
Contributor Author

@TabrisK TabrisK Mar 17, 2020

Choose a reason for hiding this comment

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

这样是不是更好些?

文章中的 element 已被翻译作元素,我认为同样用中文来表达元素树这个概念可以让读者更好的理解它和元素之间的关系。如果直接引用 element tree 的话,可能会割裂读者对它和元素之间的联想。我的想法是要么都用英文——element, element tree。要么都用中文——元素,元素树。保证读者对两者形成正确的联想。

Copy link
Member

@QC-L QC-L Mar 18, 2020

Choose a reason for hiding this comment

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

嗯,你对比下词汇表,那里有些名词不翻译,你瞅瞅。元素是需要翻译的。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

嗯,你对比下词汇表,那里有些名词不翻译,你瞅瞅。元素是需要翻译的。

已通篇修改。

Copy link
Member

Choose a reason for hiding this comment

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

辛苦~

@QC-L
Copy link
Member

QC-L commented Mar 18, 2020

@yuqingc 可以了,合并吧~

@yuqingc yuqingc merged commit 46ab4f8 into reactjs:master Mar 18, 2020
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.

3 participants