Skip to content

Commit 2488ea8

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

File tree

2 files changed

+121
-121
lines changed

2 files changed

+121
-121
lines changed

content/tutorial/nav.yml

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

0 commit comments

Comments
 (0)