Skip to content

docs: translate documentation sidebar at src/sidebar*.json #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions src/sidebarHome.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"title": "React Docs",
"title": "Dokumentasi React",
"path": "/",
"routes": [
{
"hasSectionHeader": true,
"sectionHeader": "GET STARTED"
"sectionHeader": "MEMULAI"
},
{
"title": "Quick Start",
"title": "Mulai Cepat",
"path": "/learn"
},
{
"title": "Installation",
"title": "Pemasangan",
"path": "/learn/installation"
},
{
"hasSectionHeader": true,
"sectionHeader": "LEARN REACT"
"sectionHeader": "BELAJAR REACT"
},
{
"title": "Describing the UI",
"title": "Menggambarkan Antarmuka Pengguna (UI)",
"path": "/learn/describing-the-ui"
},
{
"title": "Adding Interactivity",
"title": "Menambahkan Interaktivitas",
"path": "/learn/adding-interactivity"
},
{
Expand All @@ -36,42 +36,42 @@
},
{
"hasSectionHeader": true,
"sectionHeader": "REACT API"
"sectionHeader": "API REACT"
},
{
"title": "Hooks",
"path": "/reference/react"
},
{
"title": "Components",
"title": "Komponen",
"path": "/reference/react/components"
},
{
"title": "APIs",
"path": "/reference/react/apis"
},
{
"title": "Legacy APIs",
"title": "API React Lama",
"path": "/reference/react/legacy"
},
{
"hasSectionHeader": true,
"sectionHeader": "REACT DOM API"
"sectionHeader": "API REACT DOM"
},
{
"title": "Components",
"title": "Komponen",
"path": "/reference/react-dom/components"
},
{
"title": "APIs",
"path": "/reference/react-dom"
},
{
"title": "Client APIs",
"title": "API Klien",
"path": "/reference/react-dom/client"
},
{
"title": "Server APIs",
"title": "API Server",
"path": "/reference/react-dom/server"
},
{
Expand Down
64 changes: 32 additions & 32 deletions src/sidebarLearn.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"title": "Learn React",
"title": "Belajar React",
"path": "/learn",
"routes": [
{
"hasSectionHeader": true,
"sectionHeader": "GET STARTED"
"sectionHeader": "MEMULAI"
},
{
"title": "Quick Start",
"title": "Mulai Cepat",
"path": "/learn",
"routes": [
{
"title": "Tutorial: Tic-Tac-Toe",
"path": "/learn/tutorial-tic-tac-toe"
},
{
"title": "Thinking in React",
"title": "Cara Berpikir dengan React",
"path": "/learn/thinking-in-react"
}
]
},
{
"title": "Installation",
"title": "Pemasangan",
"path": "/learn/installation",
"routes": [
{
"title": "Start a New React Project",
"title": "Memulai Proyek Baru dengan React",
"path": "/learn/start-a-new-react-project"
},
{
"title": "Add React to an Existing Project",
"title": "Tambahkan React ke Proyek yang sudah Ada",
"path": "/learn/add-react-to-an-existing-project"
},
{
"title": "Editor Setup",
"title": "Persiapan Editor",
"path": "/learn/editor-setup"
},
{
Expand All @@ -44,49 +44,49 @@
},
{
"hasSectionHeader": true,
"sectionHeader": "LEARN REACT"
"sectionHeader": "BELAJAR REACT"
},
{
"title": "Describing the UI",
"title": "Menggambarkan Antarmuka Pengguna (UI)",
"tags": [],
"path": "/learn/describing-the-ui",
"routes": [
{
"title": "Your First Component",
"title": "Komponen Pertama Anda",
"path": "/learn/your-first-component"
},
{
"title": "Importing and Exporting Components",
"title": "Mengimpor dan Mengekspor Komponen",
"path": "/learn/importing-and-exporting-components"
},
{
"title": "Writing Markup with JSX",
"title": "Menulis Markup dengan JSX",
"path": "/learn/writing-markup-with-jsx"
},
{
"title": "JavaScript in JSX with Curly Braces",
"title": "JavaScript di JSX Menggunakan Kurung Kurawal",
"path": "/learn/javascript-in-jsx-with-curly-braces"
},
{
"title": "Passing Props to a Component",
"title": "Mengoper Props ke Komponen",
"path": "/learn/passing-props-to-a-component"
},
{
"title": "Conditional Rendering",
"title": "Perenderan Kondisional",
"path": "/learn/conditional-rendering"
},
{
"title": "Rendering Lists",
"title": "Me-render List",
"path": "/learn/rendering-lists"
},
{
"title": "Keeping Components Pure",
"title": "Menjaga Kemurnian Komponen",
"path": "/learn/keeping-components-pure"
}
]
},
{
"title": "Adding Interactivity",
"title": "Menambahkan Interaktivitas",
"path": "/learn/adding-interactivity",
"tags": [],
"routes": [
Expand All @@ -95,27 +95,27 @@
"path": "/learn/responding-to-events"
},
{
"title": "State: A Component's Memory",
"title": "State: Memori dari Sebuah Komponen",
"path": "/learn/state-a-components-memory"
},
{
"title": "Render and Commit",
"title": "Render dan Commit",
"path": "/learn/render-and-commit"
},
{
"title": "State as a Snapshot",
"title": "State Sebagai Sebuah Snapshot",
"path": "/learn/state-as-a-snapshot"
},
{
"title": "Queueing a Series of State Updates",
"title": "Mengantre Serangkaian Pembaruan State",
"path": "/learn/queueing-a-series-of-state-updates"
},
{
"title": "Updating Objects in State",
"title": "Memperbarui Objek dalam State",
"path": "/learn/updating-objects-in-state"
},
{
"title": "Updating Arrays in State",
"title": "Memperbarui Senarai pada State",
"path": "/learn/updating-arrays-in-state"
}
]
Expand All @@ -130,11 +130,11 @@
"path": "/learn/reacting-to-input-with-state"
},
{
"title": "Choosing the State Structure",
"title": "Memilih Struktur State",
"path": "/learn/choosing-the-state-structure"
},
{
"title": "Sharing State Between Components",
"title": "Berbagi State Antar Komponen",
"path": "/learn/sharing-state-between-components"
},
{
Expand All @@ -150,7 +150,7 @@
"path": "/learn/passing-data-deeply-with-context"
},
{
"title": "Scaling Up with Reducer and Context",
"title": "Peningkatan Skala dengan Reducer dan Context",
"path": "/learn/scaling-up-with-reducer-and-context"
}
]
Expand All @@ -161,11 +161,11 @@
"tags": ["advanced"],
"routes": [
{
"title": "Referencing Values with Refs",
"title": "Mereferensikan Nilai menggunakan Refs",
"path": "/learn/referencing-values-with-refs"
},
{
"title": "Manipulating the DOM with Refs",
"title": "Memanipulasi DOM dengan Refs",
"path": "/learn/manipulating-the-dom-with-refs"
},
{
Expand All @@ -185,11 +185,11 @@
"path": "/learn/separating-events-from-effects"
},
{
"title": "Removing Effect Dependencies",
"title": "Menghilangkan Efek dependensi",
"path": "/learn/removing-effect-dependencies"
},
{
"title": "Reusing Logic with Custom Hooks",
"title": "Menggunakan ulang logika dengan Custom Hooks",
"path": "/learn/reusing-logic-with-custom-hooks"
}
]
Expand Down
16 changes: 8 additions & 8 deletions src/sidebarReference.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "API Reference",
"title": "Referensi API",
"path": "/reference/react",
"routes": [
{
Expand Down Expand Up @@ -73,7 +73,7 @@
]
},
{
"title": "Components",
"title": "Komponen",
"path": "/reference/react/components",
"routes": [
{
Expand Down Expand Up @@ -125,11 +125,11 @@
"sectionHeader": "react-dom@18.2.0"
},
{
"title": "Components",
"title": "Komponen",
"path": "/reference/react-dom/components",
"routes": [
{
"title": "Common (e.g. <div>)",
"title": "Umum (e.g. <div>)",
"path": "/reference/react-dom/components/common"
},
{
Expand Down Expand Up @@ -185,7 +185,7 @@
]
},
{
"title": "Client APIs",
"title": "API Klien",
"path": "/reference/react-dom/client",
"routes": [
{
Expand All @@ -199,7 +199,7 @@
]
},
{
"title": "Server APIs",
"title": "API Server",
"path": "/reference/react-dom/server",
"routes": [
{
Expand Down Expand Up @@ -230,10 +230,10 @@
},
{
"hasSectionHeader": true,
"sectionHeader": "Legacy APIs"
"sectionHeader": "API Lama"
},
{
"title": "Legacy React APIs",
"title": "API React Lama",
"path": "/reference/react/legacy",
"routes": [
{
Expand Down