Skip to content
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

Translation: scroll-documentation (id) #174

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion astro-i18next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
export default {
defaultLocale: "en",
showDefaultLocale: true,
locales: ["en", "es", "zh"],
locales: ["en", "es", "zh", "id"],
load: ["server", "client"],
}
195 changes: 195 additions & 0 deletions public/locales/id/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"rightSidebar": {
"onThisPage": "Di Halaman Ini",
"more": "Lebih Banyak",
"editThisPage": "Edit halaman ini",
"joinOurCommunity": "Bergabung dengan komunitas kami",
"feedback": "Umpan Balik"
},
"ui": {
"whatsNext": "Apa Selanjutnya",
"readMore": "Baca Lebih Lanjut"
},
"landing": {
"test": "uji",
"search": {
"title": "Selamat datang di Dokumentasi Scroll",
"placeholder": "Cari dokumentasi Scroll..."
},
"newUserCTA": {
"title": "Baru menggunakan Scroll dan ZK Rollups?",
"description": "Pelajari dasarnya dalam Panduan Memulai."
},
"resourcesCTA": {
"title": "Sumber daya berguna"
},
"nodesCTA": {
"title": "Perlu menjalankan Node Scroll Anda sendiri?",
"description": "Lihat Panduan Operator Node untuk mempelajari cara memulai dan memelihara Node Scroll.",
"buttonText": "Panduan Operator Node"
},
"TutorialsCTA": {
"title": "Tonton tutorial",
"description": "Pelajari lebih lanjut tentang teknologi yang kami bangun. Kami terus mengunggah video baru ke saluran YouTube kami.",
"buttonText": "Tonton tutorial"
},
"LinksCTA": {
"card1": {
"title": "Butuh dukungan integrasi?",
"description": "Bicaralah dengan pakar setelah kami TODO: sebuah url"
},
"card2": {
"title": "Discord",
"description": "Bergabung dengan komunitas"
},
"card3": {
"title": "TODO: Discourse",
"description": "Benar, bergabung dengan komunitas"
}
},
"NewsletterCTA": {
"title": "Tetap terkini dengan berita terbaru Pengembang Scroll",
"text": "Pembaruan roadmap, acara virtual dan live, peluang ekosistem, dan lainnya",
"placeholder": "alamat email Anda di sini",
"thankYouForSubscribing": "Terima kasih telah berlangganan!",
"correctEmail": "Harap gunakan alamat email yang benar.",
"pleaseInsertEmail": "Harap masukkan email Anda."
}
},
"sidebar": {
"gettingStarted": {
"gettingStarted": "Memulai",
"overview": "Ikhtisar",
"scrollSepoliaTestnet": "Scroll Sepolia Testnet",
"userGuide": "Panduan Pengguna",
"setup": "Persiapan",
"faucet": "Faucet",
"bridge": "Bridge",
"transferTokens": "Transfer Token",
"commonErrors": "Error Umum",
"rollupExplorer": "Penjelajah Rollup",
"scrollSepoliaBlockExplorer": "Penjelajah Blok Scroll Sepolia",
"scrollMainnet": "Scroll Mainnet",
"scrollscan": "Penjelajah Blok Scrollscan",
"sepoliaBlockExplorer": "Penjelajah Sepolia",
"community": "Komunitas",
"discord": "Discord",
"communityForum": "Forum Komunitas"
},
"developers": {
"developers": "Pengembang",
"buildingOnScroll": "Membangun di Scroll",
"developerQuickstart": "Developer Quickstart",
"verifyingSmartContracts": "Memverifikasi Smart Contract",
"scrollContracts": "Kontrak Scroll",
"ethereumAndScrollDifferences": "Perbedaan Ethereum & Scroll",
"l1AndL2Bridging": "Bridge L1 & L2",
"ethAndErc20TokenBridge": "Bridge ETH & ERC20 Token",
"erc721NftBridge": "Bridge ERC721 NFT",
"erc1155TokenBridge": "Bridge Token ERC1155",
"theScrollMessenger": "Scroll Messenger",
"transactionFeesOnScroll": "Biaya Transaksi pada Scroll",
"l2Fee": "Biaya L2",
"l1Fee": "Biaya L1",
"gasOracle": "Oracle Gas",
"future": "Masa Depan",
"guides": "Panduan",
"contractDeploymentTutorial": "Tutorial Deploy Kontrak",
"crossChainInteraction": "Interaksi Scroll Messenger Cross-chain",
"bridgingERC20TokenThroughCustomGateway": "Menghubungkan ERC20 melalui Gateway Kustom",
"bridgingERC721NftThroughCustomGateway": "Menghubungkan ERC721 NFT melalui Gateway Kustom",
"bridgingERC1155ThroughCustomGateway": "Menghubungkan ERC1155 melalui Gateway Kustom",
"estimatingGasAndTxFees": "Mengestimasi Gas & Biaya Tx",
"resources": "Sumber daya",
"mainnetResources": "Sumber daya Mainnet",
"sepoliaResources": "Sumber daya Sepolia",
"scrollBlockExplorer": "Penjelajah Blok Scrollscan",
"rollupExplorer": "Penjelajah Rollup",
"scrollSepoliaBlockExplorer": "Penjelajah Blok Scroll Sepolia",
"sepoliaRollupExplorer": "Penjelajah Rollup Sepolia",
"sepoliaBlockExplorer": "Penjelajah Blok Scrollscan"
},
"technology": {
"introduction": "Pengantar",
"principles": "Prinsip",
"scrollArchitecture": "Arsitektur Scroll",
"scrollUpgrades": "Peningkatan Scroll",
"overview": "Ikhtisar",

"scrollChain": "Scroll Chain",
"accountsAndState": "Akun dan Status",
"blocks": "Blok",
"transactions": "Transaksi",
"rollupProcess": "Proses Rollup",
"evmDifferencesFromEthereum": "Perbedaan EVM dari Ethereum",

"bridge": "Bridge",
"crossDomainMessaging": "Pesan Cross-Domain",
"depositGateways": "Gateway Deposit",
"withdrawGateways": "Gateway Penarikan",

"sequencer": "Sequencer",
"executionNode": "Node Eksekusi",
"rollupNode": "Node Rollup",
"zkTrie": "zkTrie",
"zkevm": "zkEVM",
"introToZkevm": "Pengantar zkEVM",
"zkevmOverview": "Ikhtisar zkEVM",
"bridgeOverview": "Ikhtisar Bridge",
"prover": "Prover",
"proofGeneration": "Proof Generation",
"cpuProverRepo": "Repositori Prover Repo",

"security": "Keamanan",
"auditsAndBugBounty": "Audit & Bug Bounty",
"l2BeatAssessment": "Penilaian L2Beat"
},
"learn": {
"ethereumAndProtocols": "Ethereum & Protokol",
"theScalabilityProblem": "Masalah Skalabilitas",
"introToRollups": "Pengantar Rollups",
"zeroKnowledge": "Zero Knowledge",
"introToZeroKnowledge": "Pengantar Zero Knowledge",
"polynomialCommitmentSchemes": "Skema Komitmen Polynomial",
"kzgCommitmentScheme": "Skema Komitmen KZG",
"additionalResources": "Sumber Daya Tambahan"
}
},
"footer": {
"aboutScroll": {
"title": "Tentang Scroll",
"bugBounty": "Bug Bounty",
"joinUs": "Join Us",
"healthStatus": "Health Status",
"privacyPolicy": "Kebijakan Privasi",
"termsAndConditions": "Syarat dan Ketentuan"
},
"resources": {
"title": "Sumber daya",
"scrollDocsURL": "https://docs.scroll.io/",
"blog": "Blog",
"documentation": "Dokumentasi",
"brandKit": "Brand Kit"
},
"followUs": {
"title": "Ikuti Kami"
}
},
"pageNotFound": {
"title": "Halaman tidak ditemukan",
"text": "Maaf, kami tidak dapat menemukan halaman yang Anda cari."
},
"rpcTable": {
"rpcServerAddress": "Alamat Server RPC",
"height": "Tinggi",
"latency": "Latensi",
"score": "Skor",
"privacy": "Privasi",
"addNetwork": "Tambahkan Jaringan",
"connect": "Hubungkan",
"sorting": "Pengurutan"
},
"notTranslated": {
"notTranslated": "Halaman ini belum diterjemahkan."
}
}
10 changes: 10 additions & 0 deletions src/config/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ export const MENU: MenuItems = {
{ text: "技术", link: "/zh/technology", section: "technology" },
{ text: "学习", link: "/zh/learn", section: "learn" },
],
id: [
{
text: "Ikhtisar",
link: "/id/getting-started/overview",
section: "gettingStarted",
},
{ text: "Developer", link: "/id/developers", section: "developers" },
{ text: "Teknologi", link: "/id/technology", section: "technology" },
{ text: "Belajar", link: "/id/learn", section: "learn" },
],
es: [
{
text: "¿Cómo empezar?",
Expand Down
169 changes: 169 additions & 0 deletions src/content/docs/id/article-components.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
---
section: gettingStarted
title: "Article Components"
date: Last Modified
lang: "id"
permalink: "/article-components"
excerpt: "Learn more about the topics of Ethereum Scalability and Zero Knowledge Cryptography"
whatsnext: { "Next Up Page 1": "/", "Second Next Up Page": "/" }
---

import ClickToZoom from "../../../components/ClickToZoom.astro"
import priceAggr from "../../../assets/images/contract-devs/price-aggr.png"
import ToggleElement from "../../../components/ToggleElement.astro"
import Aside from "../../../components/Aside.astro"
import MarkmapView from "../../../components/MarkmapView/index.astro"
import RPCTable from "../../../components/RPCTable/RPCTable.astro"

This is body text right under the article title. It typically is just paragraph text that's pretty straightforward. Then there's **bold text**, and _italic text_, and **_bold-italic text_**, and `inline-code` and **`bold inline code`** and even _`italic inline code`_ and **_`bold italic inline code`_**. And of course don't forget [links](#), and [**bold links**](#), and [_italic links_](#), and [**_bold-italic links_**](#).

## Markdown Components (also an H2 Heading)

- We've also got unordered lists!
- They can have multiple items.
- And some sub-items.
- That get into details
- That's an unordered list.

What else do we have?

1. Of course there's also ordered lists.
1. They look like this.
1. They're pretty useful.

### H3 Heading

#### H4 Heading

##### H5 Heading

Let's see a horizontal rule.

---

We define the Square-Fibonacci sequence[^1], a variation of the Fibonacci sequence:

### Math

- Let $f_0 = 1, f_1 = 1$
- For $$i \geq 2$$, define $f_{i} := (f_{i-2})^2 + (f_{i-1})^2 \mod q$
- Where $q$ is a large prime integer. We use this modulus to bound the size of each element, so that it can be represented by some predetermined number of bits.

### Tables

| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |

### Blockquotes

> #### Success
>
> Vitae reprehenderit at aliquid error voluptates eum dignissimos.

### Footnotes

Here's a simple footnote,[^1] and here's a longer one.[^bignote]

[^1]: This is the first footnote.
[^bignote]: Here's one with multiple paragraphs and code.

### Callout that worked in MD, but might not in MDX?

:::tip[Did you know?]
Astro helps you build faster websites with “Islands Architecture”.
:::

## Imported MDX Components

### Callouts

<Aside type="note" title="note">
{" "}
Astro helps you build faster websites with “Islands Architecture”.{" "}
</Aside>
<Aside type="caution" title="caution">
{" "}
Astro helps you build faster websites with “Islands Architecture”.{" "}
</Aside>
<Aside type="danger" title="danger">
{" "}
Astro helps you build faster websites with “Islands Architecture”.{" "}
</Aside>

<Aside type="tip" title="tip">
For .md file you can use this code.
</Aside>

```
:::tip[Did you know?]
Astro helps you build faster websites with “Islands Architecture”.
:::
```

### Images zoom

<ClickToZoom src={priceAggr} />

### Toggle

<ToggleElement anchor="Why build on Scroll?">
<div slot="title">Why build on Scroll?</div>
<p>
Scroll enables creators to turn their content into interactive, explorable experiences. With Scroll, you can create
rich, interactive stories that engage readers, provide a better user experience, and help you stand out from the
crowd.
</p>
</ToggleElement>
<ToggleElement anchor="How does Scroll work?">
<div slot="title">How does Scroll work?</div>
<p>
Scroll combines powerful technologies like WebGL and WebRTC to create immersive, interactive experiences. The
platform allows you to build 3D environments, add interactivity, and embed content from popular web services to
create a unique, engaging experience for your audience.
</p>
</ToggleElement>
<ToggleElement anchor="What can I build with Scroll?">
<div slot="title">What can I build with Scroll?</div>
<p>
You can build a wide range of experiences with Scroll, from interactive articles to immersive product demos and
virtual tours. Scroll is designed to help you create engaging, interactive experiences that elevate your content and
captivate your audience.
</p>
</ToggleElement>

### Markmap

#### Referenced File

<MarkmapView src="/samples/markmap.md" />

<MarkmapView>
[](#markmap)markmap
===================

- beautiful2
- useful
- easy
- interactive

</MarkmapView>

### Mermaid

```mermaid
stateDiagram
Step --> StepState
Step --> CellManager
ConstraintBuilder --> CellManager
CellManager --> ProofSystem(Halo2)
StepState --> ExecutionState
StepState --> step_context
ExecutionState --> ConstraintBuilder
step_context --> ConstraintBuilder
```

### RPC Table

<RPCTable />
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading