Skip to content

Commit e8c410a

Browse files
committed
doc(cn):fix some errors & finish translating tutorial
1 parent d3ec159 commit e8c410a

File tree

2 files changed

+95
-95
lines changed

2 files changed

+95
-95
lines changed

content/tutorial/nav.yml

+53-53
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
5-
href: /tutorial/tutorial.html#before-we-start-the-tutorial
4+
title: 课前准备
5+
href: /tutorial/tutorial.html#课前准备
66
forceInternal: true
77
subitems:
88
- id: what-are-we-building
9-
title: What Are We Building?
10-
href: /tutorial/tutorial.html#what-are-we-building
9+
title: 我们会做出什么东西?
10+
href: /tutorial/tutorial.html#我们会做出什么东西?
1111
forceInternal: true
1212
- id: prerequisites
13-
title: Prerequisites
14-
href: /tutorial/tutorial.html#prerequisites
13+
title: 前置知识
14+
href: /tutorial/tutorial.html#前置知识
1515
forceInternal: true
1616
- id: setup-for-the-tutorial
17-
title: Setup for the Tutorial
18-
href: /tutorial/tutorial.html#setup-for-the-tutorial
17+
title: 环境准备
18+
href: /tutorial/tutorial.html#环境准备
1919
forceInternal: true
2020
subitems:
2121
- id: setup-option-1-write-code-in-the-browser
22-
title: "Option 1: Write Code in the Browser"
23-
href: /tutorial/tutorial.html#setup-option-1-write-code-in-the-browser
22+
title: "方式一:在浏览器中编写代码"
23+
href: /tutorial/tutorial.html#方式一:在浏览器中编写代码
2424
forceInternal: true
2525
- id: setup-option-2-local-development-environment
26-
title: "Option 2: Local Development Environment"
27-
href: /tutorial/tutorial.html#setup-option-2-local-development-environment
26+
title: "方式二:搭建本地开发环境"
27+
href: /tutorial/tutorial.html#方式二:搭建本地开发环境
2828
forceInternal: true
2929
- id: help-im-stuck
30-
title: Help, I'm Stuck!
31-
href: /tutorial/tutorial.html#help-im-stuck
30+
title: 我遇到困难了,谁能帮帮我!
31+
href: /tutorial/tutorial.html#我遇到困难了,谁能帮帮我!
3232
forceInternal: true
3333
- id: overview
34-
title: Overview
35-
href: /tutorial/tutorial.html#overview
34+
title: 概览
35+
href: /tutorial/tutorial.html#概览
3636
forceInternal: true
3737
subitems:
3838
- id: what-is-react
39-
title: What Is React?
40-
href: /tutorial/tutorial.html#what-is-react
39+
title: React 是什么?
40+
href: /tutorial/tutorial.html#react-是什么?
4141
forceInternal: true
4242
- id: inspecting-the-starter-code
43-
title: Inspecting the Starter Code
44-
href: /tutorial/tutorial.html#inspecting-the-starter-code
43+
title: 阅读初始代码
44+
href: /tutorial/tutorial.html#阅读初始代码
4545
forceInternal: true
4646
- id: passing-data-through-props
47-
title: Passing Data Through Props
48-
href: /tutorial/tutorial.html#passing-data-through-props
47+
title: 通过 Props 传递数据
48+
href: /tutorial/tutorial.html#通过-props-传递数据
4949
forceInternal: true
5050
- id: making-an-interactive-component
51-
title: Making an Interactive Component
52-
href: /tutorial/tutorial.html#making-an-interactive-component
51+
title: 给组件添加交互功能
52+
href: /tutorial/tutorial.html#给组件添加交互功能
5353
forceInternal: true
5454
- id: developer-tools
55-
title: Developer Tools
56-
href: /tutorial/tutorial.html#developer-tools
55+
title: 开发者工具
56+
href: /tutorial/tutorial.html#开发者工具
5757
forceInternal: true
5858
- id: completing-the-game
59-
title: Completing the Game
60-
href: /tutorial/tutorial.html#completing-the-game
59+
title: 完成小游戏
60+
href: /tutorial/tutorial.html#完成小游戏
6161
forceInternal: true
6262
subitems:
6363
- id: lifting-state-up
64-
title: Lifting State Up
65-
href: /tutorial/tutorial.html#lifting-state-up
64+
title: 提升 State
65+
href: /tutorial/tutorial.html#提升-state
6666
forceInternal: true
6767
- id: why-immutability-is-important
68-
title: Why Immutability Is Important
69-
href: /tutorial/tutorial.html#why-immutability-is-important
68+
title: 为什么不可变性在 React 中非常重要
69+
href: /tutorial/tutorial.html#为什么不可变性在-react-中非常重要
7070
forceInternal: true
7171
- id: function-components
72-
title: Function Components
73-
href: /tutorial/tutorial.html#function-components
72+
title: 函数定义组件
73+
href: /tutorial/tutorial.html#函数定义组件
7474
forceInternal: true
7575
- id: taking-turns
76-
title: Taking Turns
77-
href: /tutorial/tutorial.html#taking-turns
76+
title: 轮流落子
77+
href: /tutorial/tutorial.html#轮流落子
7878
forceInternal: true
7979
- id: declaring-a-winner
80-
title: Declaring a Winner
81-
href: /tutorial/tutorial.html#declaring-a-winner
80+
title: 判断出胜者
81+
href: /tutorial/tutorial.html#判断出胜者
8282
forceInternal: true
8383
- id: adding-time-travel
84-
title: Adding Time Travel
85-
href: /tutorial/tutorial.html#adding-time-travel
84+
title: 时间旅行
85+
href: /tutorial/tutorial.html#时间旅行
8686
forceInternal: true
8787
subitems:
8888
- id: storing-a-history-of-moves
89-
title: Storing a History of Moves
90-
href: /tutorial/tutorial.html#storing-a-history-of-moves
89+
title: 保存历史记录
90+
href: /tutorial/tutorial.html#保存历史记录
9191
forceInternal: true
9292
- id: lifting-state-up-again
93-
title: Lifting State Up, Again
94-
href: /tutorial/tutorial.html#lifting-state-up-again
93+
title: 再次提升 State
94+
href: /tutorial/tutorial.html#再次提升-state
9595
forceInternal: true
9696
- id: showing-the-past-moves
97-
title: Showing the Past Moves
98-
href: /tutorial/tutorial.html#showing-the-past-moves
97+
title: 展示历史步骤记录
98+
href: /tutorial/tutorial.html#展示历史步骤记录
9999
forceInternal: true
100100
- id: picking-a-key
101-
title: Picking a Key
102-
href: /tutorial/tutorial.html#picking-a-key
101+
title: 选择一个 key
102+
href: /tutorial/tutorial.html#选择一个-key
103103
forceInternal: true
104104
- id: implementing-time-travel
105-
title: Implementing Time Travel
106-
href: /tutorial/tutorial.html#implementing-time-travel
105+
title: 实现时间旅行
106+
href: /tutorial/tutorial.html#实现时间旅行
107107
forceInternal: true
108108
- id: wrapping-up
109-
title: Wrapping Up
110-
href: /tutorial/tutorial.html#wrapping-up
109+
title: 总结
110+
href: /tutorial/tutorial.html#总结
111111
forceInternal: true

0 commit comments

Comments
 (0)