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

[Beta] docs(cn): translate learn/passing-data-deep-with-context into Chinese #675

Merged
merged 5 commits into from
Oct 13, 2022

Conversation

KeanuoLeung
Copy link
Contributor

No description provided.

beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
@@ -799,60 +802,60 @@ export const LevelContext = createContext(0);

</Sandpack>

You didn't do anything special for this to work. A `Section` specifies the context for the tree inside it, so you can insert a `<Heading>` anywhere, and it will have the correct size. Try it in the sandbox above!
你没有做任何特别的事情来让它运行。`Section` 为它内部的树指定一个 context,所以你可以在任何地方插入一个 `<Heading>`,而且它会有正确的尺寸。在上边的沙箱中尝试一下!
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
你没有做任何特别的事情来让它运行`Section` 为它内部的树指定一个 context,所以你可以在任何地方插入一个 `<Heading>`,而且它会有正确的尺寸。在上边的沙箱中尝试一下!
在你你不需要做任何特殊的操作`Section` 为它内部的树指定一个 context,所以你可以在任何地方插入一个 `<Heading>`,而且它会有正确的尺寸。在上边的沙箱中尝试一下!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

这句话翻译成
「你不需要做任何特殊的操作」

beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
beta/src/pages/learn/passing-data-deeply-with-context.md Outdated Show resolved Hide resolved
@rottenpen
Copy link
Contributor

@KeanuoLeung review 完了 你看看

@KeanuoLeung
Copy link
Contributor Author

@KeanuoLeung review 完了 你看看

好滴

Co-authored-by: 滑威 <rottenpen@outlook.com>
@KeanuoLeung
Copy link
Contributor Author

@KeanuoLeung review 完了 你看看

把你的修改建议 commit 进来了,康康

@rottenpen
Copy link
Contributor

@QC-L 我没什么问题了

@github-actions
Copy link

Size Changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

This PR introduced no changes to the javascript bundle 🙌

@QC-L QC-L changed the title [Beta]: docs(cn): translate learn/passing-data-deep-with-context into Chinese [Beta] docs(cn): translate learn/passing-data-deep-with-context into Chinese Oct 13, 2022
@QC-L QC-L merged commit 6f39e7f into reactjs:main Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants