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

cn-Introducing-JSX #15

Merged
merged 23 commits into from Mar 2, 2019
Merged

cn-Introducing-JSX #15

merged 23 commits into from Mar 2, 2019

Conversation

haimengzhang
Copy link
Member

No description provided.

@haimengzhang haimengzhang changed the title cn-Introducing-Jsx cn-Introducing-JSX Feb 2, 2019

It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript.
它被称为 JSX, 是基于JavaScript 语法的一种扩展。 我们推荐大家用它来描述用户界面。JSX 可能乍一看像模版语言,但它具有JavaScript 的全部功能。
Copy link
Member

Choose a reason for hiding this comment

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

「基于JavaScript 语法的一种扩展」 ->「基于 JavaScript 语法的一种扩展」


JSX produces React "elements". We will explore rendering them to the DOM in the [next section](/docs/rendering-elements.html). Below, you can find the basics of JSX necessary to get you started.
JSX 生成 React "元素"。我们将在 [下一章节](/ docs / rendering-elements.html)中探索如何将这些元素渲染到 DOM 里。 下面,我们来看一看 JSX 的基本使用方法,以帮助您入门。
Copy link
Member

Choose a reason for hiding this comment

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

建议你看看 https://github.com/sparanoid/chinese-copywriting-guidelines ,你的排版有问题。
你重新排版之后我在看吧。

Copy link
Member Author

Choose a reason for hiding this comment

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

@QC-L
Ok, thanks for the link. I will check it out.
你说的排版问题,是指字符间的空格不对 还是其他的?

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

@QC-L QC-L Feb 2, 2019

Choose a reason for hiding this comment

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

你看,[下一章节](/docs/rendering-elements.html) 这是 md 文件的链接写法,他们是一体的。
你这样弄完,页面显示都会有问题。
而且下一章节左右两边没必要加空格,不是英文。

Copy link
Member

Choose a reason for hiding this comment

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

@haimengzhang 你可以加下微信群,我详细跟你说

@QC-L QC-L removed the request for review from chloewlin February 4, 2019 01:49
Copy link
Member

@dear-lizhihua dear-lizhihua left a comment

Choose a reason for hiding this comment

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

这篇用谷歌翻译回炉重造吧

content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
@QC-L QC-L added the Pending Review 已翻译,待校对阶段 label Feb 12, 2019
@QC-L QC-L mentioned this pull request Feb 14, 2019
@lcxfs1991
Copy link
Collaborator

@haimengzhang 这里进度如何啦

@haimengzhang
Copy link
Member Author

@lcxfs1991 having a few things to change with alignment, gonna push again after some edits

content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
content/docs/introducing-jsx.md Outdated Show resolved Hide resolved
@QC-L QC-L added Pending Modify 已校对,待修改阶段 and removed Pending Review 已翻译,待校对阶段 labels Feb 22, 2019
QC-L and others added 10 commits March 1, 2019 16:37
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript.
它被称为 JSX, 是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。
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
它被称为 JSX, 是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。
它被称为 JSX,是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。

@QC-L QC-L merged commit 2b5bdd5 into reactjs:cn Mar 2, 2019
QC-L pushed a commit that referenced this pull request Mar 2, 2019
* translate up to embedding-expressions-in-jsx

* translate up until jsx-injection-attack

* translate rest of intro jsx page

* modify some word translations

* Reformatting sentences

* fix errors on translation and delete spaces

* 修复错误格式

* modifying translations

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* 修复格式

* 修复 markdown 和其他

* Update introducing-jsx.md

* Update introducing-jsx.md

* Update introducing-jsx.md
dear-lizhihua added a commit that referenced this pull request Mar 2, 2019
dear-lizhihua added a commit that referenced this pull request Mar 3, 2019
OhIAmFine pushed a commit to OhIAmFine/zh-hans.reactjs.org that referenced this pull request May 6, 2019
* translate up to embedding-expressions-in-jsx

* translate up until jsx-injection-attack

* translate rest of intro jsx page

* modify some word translations

* Reformatting sentences

* fix errors on translation and delete spaces

* 修复错误格式

* modifying translations

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* Update content/docs/introducing-jsx.md

Co-Authored-By: haimengzhang <hzhang1@macalester.edu>

* 修复格式

* 修复 markdown 和其他

* Update introducing-jsx.md

* Update introducing-jsx.md

* Update introducing-jsx.md
OhIAmFine pushed a commit to OhIAmFine/zh-hans.reactjs.org that referenced this pull request May 6, 2019
OhIAmFine pushed a commit to OhIAmFine/zh-hans.reactjs.org that referenced this pull request May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Modify 已校对,待修改阶段
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants