-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs(cn): translate learn/setup into Chinese #1669
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ac53b39
docs(cn): translate learn/setup into Chinese
BlakeNeko a63a77e
fix: add missing translations
BlakeNeko 73aad32
Update src/content/learn/setup.md
BlakeNeko 22f61b6
Update src/content/learn/setup.md
BlakeNeko b482abe
Update src/content/learn/setup.md
BlakeNeko bd088da
fix: remove duplicated paragraph
BlakeNeko 87fcea0
fix: change personal pronouns
BlakeNeko 01df5f3
Merge branch 'main' into translate
BlakeNeko 0ae10fc
Update src/content/learn/setup.md
awxiaoxian2020 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
--- | ||
title: Setup | ||
title: 配置 | ||
--- | ||
<Intro> | ||
|
||
React integrates with tools like editors, TypeScript, browser extensions, and compilers. This section will help you get your environment set up. | ||
React 与编辑器、TypeScript、浏览器扩展和编译器等多种工具集成。本节将帮助你完成环境的配置。 | ||
|
||
</Intro> | ||
|
||
## Editor Setup {/*editor-setup*/} | ||
## 编辑器配置 {/*editor-setup*/} | ||
|
||
See our [recommended editors](/learn/editor-setup) and learn how to set them up to work with React. | ||
请参阅我们的 [推荐编辑器](/learn/editor-setup),了解如何配置它们以与 React 协同工作。 | ||
|
||
## Using TypeScript {/*using-typescript*/} | ||
## 使用 TypeScript {/*using-typescript*/} | ||
|
||
TypeScript is a popular way to add type definitions to JavaScript codebases. [Learn how to integrate TypeScript into your React projects](/learn/typescript). | ||
TypeScript 是一种为 JavaScript 代码库添加类型定义的流行方式。[了解如何将 TypeScript 集成到你的 React 项目中](/learn/typescript)。 | ||
|
||
## React Developer Tools {/*react-developer-tools*/} | ||
## React 开发者工具 {/*react-developer-tools*/} | ||
|
||
React Developer Tools is a browser extension that can inspect React components, edit props and state, and identify performance problems. Learn how to install it [here](learn/react-developer-tools). | ||
React 开发者工具是一款浏览器扩展,它能够检查 React 组件、编辑 props 和 state,并识别性能问题。在 [这里](learn/react-developer-tools) 了解如何安装它。 | ||
|
||
## React Compiler {/*react-compiler*/} | ||
|
||
React Compiler is a tool that automatically optimizes your React app. [Learn more](/learn/react-compiler). | ||
React Compiler 是一款自动优化 React 应用程序的工具。[了解更多](/learn/react-compiler)。 | ||
|
||
## Next steps {/*next-steps*/} | ||
## 下一步 {/*next-steps*/} | ||
|
||
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day. | ||
前往 [快速入门](/learn) 指南,了解你每天都会遇到的最重要的 React 概念。 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.