Skip to content

Commit be9a7f7

Browse files
authored
docs: translate documentation sidebar at src/sidebar*.json (#585)
1 parent a4329c3 commit be9a7f7

File tree

3 files changed

+54
-54
lines changed

3 files changed

+54
-54
lines changed

src/sidebarHome.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"title": "React Docs",
2+
"title": "Dokumentasi React",
33
"path": "/",
44
"routes": [
55
{
66
"hasSectionHeader": true,
7-
"sectionHeader": "GET STARTED"
7+
"sectionHeader": "MEMULAI"
88
},
99
{
10-
"title": "Quick Start",
10+
"title": "Mulai Cepat",
1111
"path": "/learn"
1212
},
1313
{
14-
"title": "Installation",
14+
"title": "Pemasangan",
1515
"path": "/learn/installation"
1616
},
1717
{
1818
"hasSectionHeader": true,
19-
"sectionHeader": "LEARN REACT"
19+
"sectionHeader": "BELAJAR REACT"
2020
},
2121
{
22-
"title": "Describing the UI",
22+
"title": "Menggambarkan Antarmuka Pengguna (UI)",
2323
"path": "/learn/describing-the-ui"
2424
},
2525
{
26-
"title": "Adding Interactivity",
26+
"title": "Menambahkan Interaktivitas",
2727
"path": "/learn/adding-interactivity"
2828
},
2929
{
@@ -36,42 +36,42 @@
3636
},
3737
{
3838
"hasSectionHeader": true,
39-
"sectionHeader": "REACT API"
39+
"sectionHeader": "API REACT"
4040
},
4141
{
4242
"title": "Hooks",
4343
"path": "/reference/react"
4444
},
4545
{
46-
"title": "Components",
46+
"title": "Komponen",
4747
"path": "/reference/react/components"
4848
},
4949
{
5050
"title": "APIs",
5151
"path": "/reference/react/apis"
5252
},
5353
{
54-
"title": "Legacy APIs",
54+
"title": "API React Lama",
5555
"path": "/reference/react/legacy"
5656
},
5757
{
5858
"hasSectionHeader": true,
59-
"sectionHeader": "REACT DOM API"
59+
"sectionHeader": "API REACT DOM"
6060
},
6161
{
62-
"title": "Components",
62+
"title": "Komponen",
6363
"path": "/reference/react-dom/components"
6464
},
6565
{
6666
"title": "APIs",
6767
"path": "/reference/react-dom"
6868
},
6969
{
70-
"title": "Client APIs",
70+
"title": "API Klien",
7171
"path": "/reference/react-dom/client"
7272
},
7373
{
74-
"title": "Server APIs",
74+
"title": "API Server",
7575
"path": "/reference/react-dom/server"
7676
},
7777
{

src/sidebarLearn.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"title": "Learn React",
2+
"title": "Belajar React",
33
"path": "/learn",
44
"routes": [
55
{
66
"hasSectionHeader": true,
7-
"sectionHeader": "GET STARTED"
7+
"sectionHeader": "MEMULAI"
88
},
99
{
10-
"title": "Quick Start",
10+
"title": "Mulai Cepat",
1111
"path": "/learn",
1212
"routes": [
1313
{
1414
"title": "Tutorial: Tic-Tac-Toe",
1515
"path": "/learn/tutorial-tic-tac-toe"
1616
},
1717
{
18-
"title": "Thinking in React",
18+
"title": "Cara Berpikir dengan React",
1919
"path": "/learn/thinking-in-react"
2020
}
2121
]
2222
},
2323
{
24-
"title": "Installation",
24+
"title": "Pemasangan",
2525
"path": "/learn/installation",
2626
"routes": [
2727
{
28-
"title": "Start a New React Project",
28+
"title": "Memulai Proyek Baru dengan React",
2929
"path": "/learn/start-a-new-react-project"
3030
},
3131
{
32-
"title": "Add React to an Existing Project",
32+
"title": "Tambahkan React ke Proyek yang sudah Ada",
3333
"path": "/learn/add-react-to-an-existing-project"
3434
},
3535
{
36-
"title": "Editor Setup",
36+
"title": "Persiapan Editor",
3737
"path": "/learn/editor-setup"
3838
},
3939
{
@@ -44,49 +44,49 @@
4444
},
4545
{
4646
"hasSectionHeader": true,
47-
"sectionHeader": "LEARN REACT"
47+
"sectionHeader": "BELAJAR REACT"
4848
},
4949
{
50-
"title": "Describing the UI",
50+
"title": "Menggambarkan Antarmuka Pengguna (UI)",
5151
"tags": [],
5252
"path": "/learn/describing-the-ui",
5353
"routes": [
5454
{
55-
"title": "Your First Component",
55+
"title": "Komponen Pertama Anda",
5656
"path": "/learn/your-first-component"
5757
},
5858
{
59-
"title": "Importing and Exporting Components",
59+
"title": "Mengimpor dan Mengekspor Komponen",
6060
"path": "/learn/importing-and-exporting-components"
6161
},
6262
{
63-
"title": "Writing Markup with JSX",
63+
"title": "Menulis Markup dengan JSX",
6464
"path": "/learn/writing-markup-with-jsx"
6565
},
6666
{
67-
"title": "JavaScript in JSX with Curly Braces",
67+
"title": "JavaScript di JSX Menggunakan Kurung Kurawal",
6868
"path": "/learn/javascript-in-jsx-with-curly-braces"
6969
},
7070
{
71-
"title": "Passing Props to a Component",
71+
"title": "Mengoper Props ke Komponen",
7272
"path": "/learn/passing-props-to-a-component"
7373
},
7474
{
75-
"title": "Conditional Rendering",
75+
"title": "Perenderan Kondisional",
7676
"path": "/learn/conditional-rendering"
7777
},
7878
{
79-
"title": "Rendering Lists",
79+
"title": "Me-render List",
8080
"path": "/learn/rendering-lists"
8181
},
8282
{
83-
"title": "Keeping Components Pure",
83+
"title": "Menjaga Kemurnian Komponen",
8484
"path": "/learn/keeping-components-pure"
8585
}
8686
]
8787
},
8888
{
89-
"title": "Adding Interactivity",
89+
"title": "Menambahkan Interaktivitas",
9090
"path": "/learn/adding-interactivity",
9191
"tags": [],
9292
"routes": [
@@ -95,27 +95,27 @@
9595
"path": "/learn/responding-to-events"
9696
},
9797
{
98-
"title": "State: A Component's Memory",
98+
"title": "State: Memori dari Sebuah Komponen",
9999
"path": "/learn/state-a-components-memory"
100100
},
101101
{
102-
"title": "Render and Commit",
102+
"title": "Render dan Commit",
103103
"path": "/learn/render-and-commit"
104104
},
105105
{
106-
"title": "State as a Snapshot",
106+
"title": "State Sebagai Sebuah Snapshot",
107107
"path": "/learn/state-as-a-snapshot"
108108
},
109109
{
110-
"title": "Queueing a Series of State Updates",
110+
"title": "Mengantre Serangkaian Pembaruan State",
111111
"path": "/learn/queueing-a-series-of-state-updates"
112112
},
113113
{
114-
"title": "Updating Objects in State",
114+
"title": "Memperbarui Objek dalam State",
115115
"path": "/learn/updating-objects-in-state"
116116
},
117117
{
118-
"title": "Updating Arrays in State",
118+
"title": "Memperbarui Senarai pada State",
119119
"path": "/learn/updating-arrays-in-state"
120120
}
121121
]
@@ -130,11 +130,11 @@
130130
"path": "/learn/reacting-to-input-with-state"
131131
},
132132
{
133-
"title": "Choosing the State Structure",
133+
"title": "Memilih Struktur State",
134134
"path": "/learn/choosing-the-state-structure"
135135
},
136136
{
137-
"title": "Sharing State Between Components",
137+
"title": "Berbagi State Antar Komponen",
138138
"path": "/learn/sharing-state-between-components"
139139
},
140140
{
@@ -150,7 +150,7 @@
150150
"path": "/learn/passing-data-deeply-with-context"
151151
},
152152
{
153-
"title": "Scaling Up with Reducer and Context",
153+
"title": "Peningkatan Skala dengan Reducer dan Context",
154154
"path": "/learn/scaling-up-with-reducer-and-context"
155155
}
156156
]
@@ -161,11 +161,11 @@
161161
"tags": ["advanced"],
162162
"routes": [
163163
{
164-
"title": "Referencing Values with Refs",
164+
"title": "Mereferensikan Nilai menggunakan Refs",
165165
"path": "/learn/referencing-values-with-refs"
166166
},
167167
{
168-
"title": "Manipulating the DOM with Refs",
168+
"title": "Memanipulasi DOM dengan Refs",
169169
"path": "/learn/manipulating-the-dom-with-refs"
170170
},
171171
{
@@ -185,11 +185,11 @@
185185
"path": "/learn/separating-events-from-effects"
186186
},
187187
{
188-
"title": "Removing Effect Dependencies",
188+
"title": "Menghilangkan Efek dependensi",
189189
"path": "/learn/removing-effect-dependencies"
190190
},
191191
{
192-
"title": "Reusing Logic with Custom Hooks",
192+
"title": "Menggunakan ulang logika dengan Custom Hooks",
193193
"path": "/learn/reusing-logic-with-custom-hooks"
194194
}
195195
]

src/sidebarReference.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "API Reference",
2+
"title": "Referensi API",
33
"path": "/reference/react",
44
"routes": [
55
{
@@ -73,7 +73,7 @@
7373
]
7474
},
7575
{
76-
"title": "Components",
76+
"title": "Komponen",
7777
"path": "/reference/react/components",
7878
"routes": [
7979
{
@@ -125,11 +125,11 @@
125125
"sectionHeader": "react-dom@18.2.0"
126126
},
127127
{
128-
"title": "Components",
128+
"title": "Komponen",
129129
"path": "/reference/react-dom/components",
130130
"routes": [
131131
{
132-
"title": "Common (e.g. <div>)",
132+
"title": "Umum (e.g. <div>)",
133133
"path": "/reference/react-dom/components/common"
134134
},
135135
{
@@ -185,7 +185,7 @@
185185
]
186186
},
187187
{
188-
"title": "Client APIs",
188+
"title": "API Klien",
189189
"path": "/reference/react-dom/client",
190190
"routes": [
191191
{
@@ -199,7 +199,7 @@
199199
]
200200
},
201201
{
202-
"title": "Server APIs",
202+
"title": "API Server",
203203
"path": "/reference/react-dom/server",
204204
"routes": [
205205
{
@@ -230,10 +230,10 @@
230230
},
231231
{
232232
"hasSectionHeader": true,
233-
"sectionHeader": "Legacy APIs"
233+
"sectionHeader": "API Lama"
234234
},
235235
{
236-
"title": "Legacy React APIs",
236+
"title": "API React Lama",
237237
"path": "/reference/react/legacy",
238238
"routes": [
239239
{

0 commit comments

Comments
 (0)