From f05ef928de8a594a237a16835a7c7138e4ee3120 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Mon, 26 Jun 2023 12:04:48 +0700 Subject: [PATCH 01/11] docs: translate homepage content --- src/components/Layout/HomeContent.js | 70 +++++++++++++++------------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index ba3ff6ef1..4853c359f 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -131,7 +131,7 @@ export function HomeContent() { React

- The library for web and native user interfaces + Pustaka untuk antarmuka pengguna web dan native

- Learn React + label="Belajar React"> + Belajar React - API Reference + label="Referensi API"> + Referensi API
-
Create user interfaces from components
+
Membuat antarmuka pengguna dari komponen
- React lets you build user interfaces out of individual pieces - called components. Create your own React components like{' '} - Thumbnail, LikeButton, and{' '} - Video. Then combine them into entire screens, pages, - and apps. + React memungkinkan Anda membangun antarmuka penguna dari + bagian-bagian yang disebut komponen. Buat komponen React Anda + sendiri seperti Thumbnail, LikeButton, + dan Video. Kemudian gabungkan komponen-komponen + tersebut ke dalam seluruh layar, halaman, dan aplikasi.
@@ -169,22 +169,23 @@ export function HomeContent() {
- Whether you work on your own or with thousands of other - developers, using React feels the same. It is designed to let you - seamlessly combine components written by independent people, - teams, and organizations. + Baik Anda bekerja sendiri atau dengan ribuan pengembang lain, + menggunakan React akan terasa sama. React dirancang untuk + memungkinkan Anda menggabungkan komponen yang dirancang oleh + pengembang independen, tim, dan organisasi besar secara mulus.
-
Write components with code and markup
+
Menulis komponen dengan kode dan markup
- React components are JavaScript functions. Want to show some - content conditionally? Use an if statement. - Displaying a list? Try array map(). Learning React is - learning programming. + Komponen React adalah fungsi JavaScript. Ingin menampilkan + beberapa konten secara kondisional? Gunakan pernyataan{' '} + if. Menampilkan sebuah daftar? Gunakan fungsi{' '} + map() ke sebuah senarai. Belajar React adalah belajar + pemrograman.
@@ -192,22 +193,25 @@ export function HomeContent() {
- This markup syntax is called JSX. It is a JavaScript syntax - extension popularized by React. Putting JSX markup close to - related rendering logic makes React components easy to create, - maintain, and delete. + Sintaksis markup ini disebut dengan JSX. Ini adalah ekstensi + sintaksis JavaScript yang dipopulerkan oleh React. Menempatkan + markup JSX dekat dengan logika rendering yang terkait membuat + komponen React mudah untuk dibuat, dipelihara, dan dihapus.
-
Add interactivity wherever you need it
+
+ Menambahkan interaktivitas di mana pun Anda membutuhkannya +
- React components receive data and return what should appear on the - screen. You can pass them new data in response to an interaction, - like when the user types into an input. React will then update the - screen to match the new data. + Komponen React menerima data dan mengembalikan apa yang seharusnya + muncul di layar. Anda dapat memberikan data baru sebagai respons + dari sebuah interaksi, seperti ketika pengguna mengetikkan sebuah + input. React kemudian akan memperbarui layar agar sesuai dengan + data baru.
@@ -215,16 +219,16 @@ export function HomeContent() {
- You don’t have to build your whole page in React. Add React to - your existing HTML page, and render interactive React components - anywhere on it. + Anda tidak perlu membangun seluruh halaman Anda di React. + Tambahkan React ke halaman HTML yang sudah ada, dan render + komponen React interaktif di mana saja di halaman tersebut.
- Add React to your page + Tambahkan React ke halaman Anda
From 07b38b8456861f6b62ac0eff24b29799e7fb3197 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Mon, 26 Jun 2023 12:21:27 +0700 Subject: [PATCH 02/11] translate bottom CTA --- src/components/Layout/HomeContent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 4853c359f..69d461e2c 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -502,15 +502,15 @@ export function HomeContent() {
- Welcome to the
- React community + Selamat datang di
+ komunitas React
- Get Started + label="Ikuti Tutorial"> + Memulai
From 624cd8795089c62ec6cbc082bebd072ec6c9a73f Mon Sep 17 00:00:00 2001 From: M Haidar Hanif Date: Mon, 26 Jun 2023 14:35:44 +0700 Subject: [PATCH 03/11] docs: translate home content video component props --- src/components/Layout/HomeContent.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 69d461e2c..186ee5092 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -926,8 +926,8 @@ function Example1() {