Skip to content

Commit f243128

Browse files
authored
[Beta] docs(cn): translate learn section menu (#842)
1 parent 6d6f34e commit f243128

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

beta/src/sidebarLearn.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
"path": "",
99
"routes": [
1010
{
11-
"title": "Installation",
11+
"title": "安装",
1212
"path": "/learn/installation",
1313
"routes": [
1414
{
15-
"title": "Start a New React Project",
15+
"title": "开始一个新的 React 项目",
1616
"path": "/learn/start-a-new-react-project"
1717
},
1818
{
19-
"title": "Add React to a Website",
19+
"title": " React 添加到网站中",
2020
"path": "/learn/add-react-to-a-website"
2121
},
2222
{
23-
"title": "Editor Setup",
23+
"title": "编辑器配置",
2424
"path": "/learn/editor-setup"
2525
},
2626
{
@@ -30,137 +30,137 @@
3030
]
3131
},
3232
{
33-
"title": "Quick Start",
33+
"title": "快速入门",
3434
"path": "/learn",
3535
"routes": [{
36-
"title": "Thinking in React",
36+
"title": "React 哲学",
3737
"path": "/learn/thinking-in-react"
3838
}]
3939
},
4040
{
41-
"title": "Describing the UI",
41+
"title": "描述 UI",
4242
"tags": [],
4343
"path": "/learn/describing-the-ui",
4444
"routes": [
4545
{
46-
"title": "Your First Component",
46+
"title": "第一个组件",
4747
"path": "/learn/your-first-component"
4848
},
4949
{
50-
"title": "Importing and Exporting Components",
50+
"title": "组件的导入与导出",
5151
"path": "/learn/importing-and-exporting-components"
5252
},
5353
{
54-
"title": "Writing Markup with JSX",
54+
"title": "使用 JSX 编写标记",
5555
"path": "/learn/writing-markup-with-jsx"
5656
},
5757
{
58-
"title": "JavaScript in JSX with Curly Braces",
58+
"title": "JSX 中通过大括号使用 JavaScript",
5959
"path": "/learn/javascript-in-jsx-with-curly-braces"
6060
},
6161
{
62-
"title": "Passing Props to a Component",
62+
"title": "将 prop 传递给组件",
6363
"path": "/learn/passing-props-to-a-component"
6464
},
6565
{
66-
"title": "Conditional Rendering",
66+
"title": "条件渲染",
6767
"path": "/learn/conditional-rendering"
6868
},
6969
{
70-
"title": "Rendering Lists",
70+
"title": "列表渲染",
7171
"path": "/learn/rendering-lists"
7272
},
7373
{
74-
"title": "Keeping Components Pure",
74+
"title": "保持组件纯粹",
7575
"path": "/learn/keeping-components-pure"
7676
}
7777
]
7878
},
7979
{
80-
"title": "Adding Interactivity",
80+
"title": "增加互动性",
8181
"path": "/learn/adding-interactivity",
8282
"tags": [],
8383
"routes": [
8484
{
85-
"title": "Responding to Events",
85+
"title": "响应事件",
8686
"path": "/learn/responding-to-events"
8787
},
8888
{
89-
"title": "State: A Component's Memory",
89+
"title": "state:组件的缓存",
9090
"path": "/learn/state-a-components-memory"
9191
},
9292
{
93-
"title": "Render and Commit",
93+
"title": "render 和 commit",
9494
"path": "/learn/render-and-commit"
9595
},
9696
{
97-
"title": "State as a Snapshot",
97+
"title": "state 作为快照",
9898
"path": "/learn/state-as-a-snapshot"
9999
},
100100
{
101-
"title": "Queueing a Series of State Updates",
101+
"title": "state 的更新队列",
102102
"path": "/learn/queueing-a-series-of-state-updates"
103103
},
104104
{
105-
"title": "Updating Objects in State",
105+
"title": "更新 state 中的对象",
106106
"path": "/learn/updating-objects-in-state"
107107
},
108108
{
109-
"title": "Updating Arrays in State",
109+
"title": "更新 state 中的数组",
110110
"path": "/learn/updating-arrays-in-state"
111111
}
112112
]
113113
},
114114
{
115-
"title": "Managing State",
115+
"title": "管理 state",
116116
"path": "/learn/managing-state",
117117
"tags": [
118118
"intermediate"
119119
],
120120
"routes": [
121121
{
122-
"title": "Reacting to Input with State",
122+
"title": "用 state 响应输入",
123123
"path": "/learn/reacting-to-input-with-state"
124124
},
125125
{
126-
"title": "Choosing the State Structure",
126+
"title": "选择 state 的结构",
127127
"path": "/learn/choosing-the-state-structure"
128128
},
129129
{
130-
"title": "Sharing State Between Components",
130+
"title": "组件间共享状态",
131131
"path": "/learn/sharing-state-between-components"
132132
},
133133
{
134-
"title": "Preserving and Resetting State",
134+
"title": "state 的保存和重置",
135135
"path": "/learn/preserving-and-resetting-state"
136136
},
137137
{
138-
"title": "Extracting State Logic into a Reducer",
138+
"title": "将 state 逻辑提取到 reducer 中",
139139
"path": "/learn/extracting-state-logic-into-a-reducer"
140140
},
141141
{
142-
"title": "Passing Data Deeply with Context",
142+
"title": "使用 context 深度传递数据",
143143
"path": "/learn/passing-data-deeply-with-context"
144144
},
145145
{
146-
"title": "Scaling Up with Reducer and Context",
146+
"title": "利用 reducer 和 context 扩展应用",
147147
"path": "/learn/scaling-up-with-reducer-and-context"
148148
}
149149
]
150150
},
151151
{
152-
"title": "Escape Hatches",
152+
"title": "备选方案",
153153
"path": "/learn/escape-hatches",
154154
"tags": [
155155
"advanced"
156156
],
157157
"routes": [
158158
{
159-
"title": "Referencing Values with Refs",
159+
"title": "用 ref 引用数值",
160160
"path": "/learn/referencing-values-with-refs"
161161
},
162162
{
163-
"title": "Manipulating the DOM with Refs",
163+
"title": "用 ref 操作 DOM",
164164
"path": "/learn/manipulating-the-dom-with-refs"
165165
}
166166
]

0 commit comments

Comments
 (0)