Skip to content

Commit 2a85ffd

Browse files
Yuqing ChenQC-L
Yuqing Chen
authored andcommitted
docs(cn): translate tutorial to zh-cn (reactjs#12)
1 parent e64e1c2 commit 2a85ffd

File tree

2 files changed

+281
-281
lines changed

2 files changed

+281
-281
lines changed

content/tutorial/nav.yml

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,111 @@
1-
- title: Tutorial
1+
- title: 入门教程
22
items:
33
- id: before-we-start-the-tutorial
4-
title: Before We Start the Tutorial
4+
title: 课前准备
55
href: /tutorial/tutorial.html#before-we-start-the-tutorial
66
forceInternal: true
77
subitems:
88
- id: what-are-we-building
9-
title: What Are We Building?
9+
title: 我们会做出什么东西?
1010
href: /tutorial/tutorial.html#what-are-we-building
1111
forceInternal: true
1212
- id: prerequisites
13-
title: Prerequisites
13+
title: 前置知识
1414
href: /tutorial/tutorial.html#prerequisites
1515
forceInternal: true
1616
- id: setup-for-the-tutorial
17-
title: Setup for the Tutorial
17+
title: 环境准备
1818
href: /tutorial/tutorial.html#setup-for-the-tutorial
1919
forceInternal: true
2020
subitems:
2121
- id: setup-option-1-write-code-in-the-browser
22-
title: "Option 1: Write Code in the Browser"
22+
title: "方式一:在浏览器中编写代码"
2323
href: /tutorial/tutorial.html#setup-option-1-write-code-in-the-browser
2424
forceInternal: true
2525
- id: setup-option-2-local-development-environment
26-
title: "Option 2: Local Development Environment"
26+
title: "方式二:搭建本地开发环境"
2727
href: /tutorial/tutorial.html#setup-option-2-local-development-environment
2828
forceInternal: true
2929
- id: help-im-stuck
30-
title: Help, I'm Stuck!
30+
title: 寻求帮助
3131
href: /tutorial/tutorial.html#help-im-stuck
3232
forceInternal: true
3333
- id: overview
34-
title: Overview
34+
title: 概览
3535
href: /tutorial/tutorial.html#overview
3636
forceInternal: true
3737
subitems:
3838
- id: what-is-react
39-
title: What Is React?
39+
title: React 是什么?
4040
href: /tutorial/tutorial.html#what-is-react
4141
forceInternal: true
4242
- id: inspecting-the-starter-code
43-
title: Inspecting the Starter Code
43+
title: 阅读初始代码
4444
href: /tutorial/tutorial.html#inspecting-the-starter-code
4545
forceInternal: true
4646
- id: passing-data-through-props
47-
title: Passing Data Through Props
47+
title: 通过 Props 传递数据
4848
href: /tutorial/tutorial.html#passing-data-through-props
4949
forceInternal: true
5050
- id: making-an-interactive-component
51-
title: Making an Interactive Component
51+
title: 给组件添加交互功能
5252
href: /tutorial/tutorial.html#making-an-interactive-component
5353
forceInternal: true
5454
- id: developer-tools
55-
title: Developer Tools
55+
title: 开发者工具
5656
href: /tutorial/tutorial.html#developer-tools
5757
forceInternal: true
5858
- id: completing-the-game
59-
title: Completing the Game
59+
title: 游戏完善
6060
href: /tutorial/tutorial.html#completing-the-game
6161
forceInternal: true
6262
subitems:
6363
- id: lifting-state-up
64-
title: Lifting State Up
64+
title: 状态提升
6565
href: /tutorial/tutorial.html#lifting-state-up
6666
forceInternal: true
6767
- id: why-immutability-is-important
68-
title: Why Immutability Is Important
68+
title: 为什么不可变性在 React 中非常重要
6969
href: /tutorial/tutorial.html#why-immutability-is-important
7070
forceInternal: true
7171
- id: function-components
72-
title: Function Components
72+
title: 函数式组件
7373
href: /tutorial/tutorial.html#function-components
7474
forceInternal: true
7575
- id: taking-turns
76-
title: Taking Turns
76+
title: 轮流落子
7777
href: /tutorial/tutorial.html#taking-turns
7878
forceInternal: true
7979
- id: declaring-a-winner
80-
title: Declaring a Winner
80+
title: 判断出胜者
8181
href: /tutorial/tutorial.html#declaring-a-winner
8282
forceInternal: true
8383
- id: adding-time-travel
84-
title: Adding Time Travel
84+
title: 时间旅行
8585
href: /tutorial/tutorial.html#adding-time-travel
8686
forceInternal: true
8787
subitems:
8888
- id: storing-a-history-of-moves
89-
title: Storing a History of Moves
89+
title: 保存历史记录
9090
href: /tutorial/tutorial.html#storing-a-history-of-moves
9191
forceInternal: true
9292
- id: lifting-state-up-again
93-
title: Lifting State Up, Again
93+
title: 再次提升状态
9494
href: /tutorial/tutorial.html#lifting-state-up-again
9595
forceInternal: true
9696
- id: showing-the-past-moves
97-
title: Showing the Past Moves
97+
title: 展示历史步骤记录
9898
href: /tutorial/tutorial.html#showing-the-past-moves
9999
forceInternal: true
100100
- id: picking-a-key
101-
title: Picking a Key
101+
title: 选择一个 key
102102
href: /tutorial/tutorial.html#picking-a-key
103103
forceInternal: true
104104
- id: implementing-time-travel
105-
title: Implementing Time Travel
105+
title: 实现时间旅行
106106
href: /tutorial/tutorial.html#implementing-time-travel
107107
forceInternal: true
108108
- id: wrapping-up
109-
title: Wrapping Up
109+
title: 总结
110110
href: /tutorial/tutorial.html#wrapping-up
111111
forceInternal: true

0 commit comments

Comments
 (0)