Skip to content

Commit 734f229

Browse files
dghelmknikolaeffjuve4everHolybasilzzq0826
authored
Mainnet Launch (#105)
* Removed trailing slashes in the urls (#63) Fix: faucet link broken because of the double slash * Fix: What's next link on ERC721 bridge page when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line. * Update: Add Bware Faucet (#64) * add bware faucet * fix dangling html close comment * fix: apply new logo (#66) * Rebranding (#69) * Update: 8/23/23 (#65) * Removed trailing slashes in the urls (#63) Fix: faucet link broken because of the double slash * Fix: What's next link on ERC721 bridge page when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line. * Update: Add Bware Faucet (#64) * add bware faucet * fix dangling html close comment --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> * fix: apply new logo (#67) * update press link and change zero-knowledge to zero knowledge --------- Co-authored-by: Daniel Helm <[email protected]> Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> Co-authored-by: Holybasil <[email protected]> * Prod to develop fixing icons to resolve PRs to different branches (#72) * Update: 8/23/23 (#65) * Removed trailing slashes in the urls (#63) Fix: faucet link broken because of the double slash * Fix: What's next link on ERC721 bridge page when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line. * Update: Add Bware Faucet (#64) * add bware faucet * fix dangling html close comment --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> * fix: apply new logo (#67) * fix: Apple touch icon 256x256 (#68) * Update prod for rebrand. (#71) * Removed trailing slashes in the urls (#63) Fix: faucet link broken because of the double slash * Fix: What's next link on ERC721 bridge page when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line. * Update: Add Bware Faucet (#64) * add bware faucet * fix dangling html close comment * fix: apply new logo (#66) * Rebranding (#69) * Update: 8/23/23 (#65) * Removed trailing slashes in the urls (#63) Fix: faucet link broken because of the double slash * Fix: What's next link on ERC721 bridge page when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line. * Update: Add Bware Faucet (#64) * add bware faucet * fix dangling html close comment --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> * fix: apply new logo (#67) * update press link and change zero-knowledge to zero knowledge --------- Co-authored-by: Daniel Helm <[email protected]> Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> Co-authored-by: Holybasil <[email protected]> --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> Co-authored-by: Holybasil <[email protected]> Co-authored-by: zzq0826 <[email protected]> --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> Co-authored-by: Holybasil <[email protected]> Co-authored-by: zzq0826 <[email protected]> * Update blocks.mdx (#76) * Update erc721-nft-bridge.mdx (#78) * Update helper.tsx (#75) * Update/repo banner (#83) * update: new banner * add badges * fix not translate in React Components inside Astro (#85) * fixed broken links and fixed some whats-nexts (#87) * fix spelling of "Merkle" (#91) * Fixed wrong address (#90) * Update bridge-erc20-through-the-custom-gateway.mdx Fixed wrong address * Update bridge-erc20-through-the-custom-gateway.mdx * Update PureFooter.tsx (#84) Open a new target URL in new tab, current its overriding this page(main domain) * Spanish Translation and English Scroll Docs Fixes (Remake) (#95) * spanish bug fix * redo previous fixes * spanish grammar fix * localization improvements on developers index page * improvement proposals for some developers pages * finished my Developer review * improvements to user guide in spanish * learn spanish translation review * technology spanish translation review * Glosary update --------- Co-authored-by: ManuGodzilla <[email protected]> Co-authored-by: axlvaz <[email protected]> * Update verifying-smart-contracts.mdx (#101) I just found this word spelling error * feat: add technology/security section (#100) * feat: add technology/security section * update scope and firm ordering * update Zellic reports * fix critical price - missing 0 * add report * clarify out-of-scope submissions --------- Co-authored-by: Haichen Shen <[email protected]> * Developer guides: Mainnet related updates (#102) * initial network changes * update for mainnet content --------- Co-authored-by: Daniel Helm <[email protected]> * update for mainnet content (#104) * fixed foundry verification (#103) --------- Co-authored-by: Kirill Nikolaev <[email protected]> Co-authored-by: monem <[email protected]> Co-authored-by: Holybasil <[email protected]> Co-authored-by: zzq0826 <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]> Co-authored-by: diposs <[email protected]> Co-authored-by: ManuGodzilla <[email protected]> Co-authored-by: Anton Livaja <[email protected]> Co-authored-by: Ahmed Castro <[email protected]> Co-authored-by: jrsurya <[email protected]> Co-authored-by: axlvaz <[email protected]> Co-authored-by: JohnsonSmile <[email protected]> Co-authored-by: Haichen Shen <[email protected]>
1 parent f5cdd43 commit 734f229

File tree

96 files changed

+5127
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+5127
-94
lines changed

astro-i18next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
export default {
33
defaultLocale: "en",
44
showDefaultLocale: true,
5-
locales: ["en", "zh"],
5+
locales: ["en", "zh", "es"],
66
load: ["server", "client"],
77
}

public/locales/en/translation.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
2+
"rightSidebar": {
3+
"onThisPage": "On This Page",
4+
"more": "More",
5+
"editThisPage": "Edit this page",
6+
"joinOurCommunity": "Join our community",
7+
"feedback": "Feedback"
8+
},
9+
"ui": {
10+
"whatsNext": "What's Next",
11+
"readMore": "Read More"
12+
},
213
"landing": {
314
"test": "test",
415
"search": {
@@ -55,6 +66,8 @@
5566
"commonErrors": "Common Errors",
5667
"rollupExplorer": "Rollup Explorer",
5768
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
69+
"scrollMainnet": "Scroll Mainnet",
70+
"scrollscan": "Scrollscan Block Explorer",
5871
"sepoliaBlockExplorer": "Sepolia Explorer",
5972
"community": "Community",
6073
"discord": "Discord",
@@ -85,9 +98,13 @@
8598
"bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway",
8699
"estimatingGasAndTxFees": "Estimating Gas & Tx Fees",
87100
"resources": "Resources",
101+
"mainnetResources": "Mainnet Resources",
102+
"sepoliaResources": "Sepolia Resources",
103+
"scrollBlockExplorer": "Scrollscan Explorer",
88104
"rollupExplorer": "Rollup Explorer",
89105
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
90-
"sepoliaBlockExplorer": "Sepolia Explorer"
106+
"sepoliaRollupExplorer": "Rollup Explorer",
107+
"sepoliaBlockExplorer": "Scrollscan Explorer"
91108
},
92109
"technology": {
93110
"introduction": "Introduction",
@@ -118,7 +135,11 @@
118135
"bridgeOverview": "Bridge Overview",
119136
"prover": "Prover",
120137
"proofGeneration": "Proof Generation",
121-
"cpuProverRepo": "CPU Prover Repo"
138+
"cpuProverRepo": "CPU Prover Repo",
139+
140+
"security": "Security",
141+
"auditsAndBugBounty": "Audits & Bug Bounty",
142+
"l2BeatAssessment": "L2Beat Assessment"
122143
},
123144
"learn": {
124145
"ethereumAndProtocols": "Ethereum & Protocols",

public/locales/es/translation.json

Lines changed: 144 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,148 @@
11
{
2+
"rightSidebar": {
3+
"onThisPage": "En esta página",
4+
"more": "Más",
5+
"editThisPage": "Editar esta página",
6+
"joinOurCommunity": "Únete a nuestro Discord",
7+
"feedback": "Feedback"
8+
},
9+
"ui": {
10+
"whatsNext": "¿Qué sigue?",
11+
"readMore": "Leer Más"
12+
},
13+
"landing": {
14+
"test": "test",
15+
"search": {
16+
"title": "Bienvenido a la Documentación de Scroll",
17+
"placeholder": "Buscar Documentación de Scroll..."
18+
},
19+
"newUserCTA": {
20+
"title": "Nuevo en Scroll y los ZK Rollups?",
21+
"description": "Aprende lo básico en la Guía de Inicio"
22+
},
23+
"resourcesCTA": {
24+
"title": "Recursos Útiles"
25+
},
26+
"nodesCTA": {
27+
"title": "Necesitas correr tu propio Nodo de Scroll?",
28+
"description": "Consulte la Guía del Operador de Nodos para obtener más información sobre la puesta en marcha y el mantenimiento de los Nodos de Scroll.",
29+
"buttonText": "Guía del Operador de Nodos"
30+
},
31+
"TutorialsCTA": {
32+
"title": "Ver tutoriales",
33+
"description": "Obtenga más información sobre la tecnología que estamos construyendo. Subimos constantemente nuevos vídeos a nuestro canal de YouTube.",
34+
"buttonText": "Ver tutoriales"
35+
},
36+
"LinksCTA": {
37+
"card1": {
38+
"title": "¿Necesita ayuda para integrarse?",
39+
"description": "Talk to an expert once we TODO: a url"
40+
},
41+
"card2": {
42+
"title": "Discord",
43+
"description": "Únete a nuestra Comunidad"
44+
},
45+
"card3": {
46+
"title": "TODO: Discourse",
47+
"description": "Really, join the community"
48+
}
49+
},
50+
"NewsletterCTA": {
51+
"title": "Stay updated on the latest Scroll news",
52+
"placeholder": "Enter your email address",
53+
"buttonText": "Sign up"
54+
}
55+
},
56+
"sidebar": {
57+
"gettingStarted": {
58+
"gettingStarted": "Primeros Pasos",
59+
"overview": "Vista General",
60+
"scrollSepoliaTestnet": "Scroll Sepolia Testnet",
61+
"userGuide": "Guía de Usuario",
62+
"setup": "Configuración",
63+
"faucet": "Faucet",
64+
"bridge": "Bridge",
65+
"transferTokens": "Transferencia de Tokens",
66+
"commonErrors": "Errores Comunes",
67+
"rollupExplorer": "Rollup Explorer",
68+
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
69+
"sepoliaBlockExplorer": "Sepolia Explorer",
70+
"community": "Comunidad",
71+
"discord": "Discord",
72+
"communityForum": "Forum de la Comunidad"
73+
},
74+
"developers": {
75+
"developers": "Desarrolladores",
76+
"buildingOnScroll": "Construyendo en Scroll",
77+
"developerQuickstart": "Inicio rápido para Desarrolladores",
78+
"verifyingSmartContracts": "Verificando Smart Contracts",
79+
"scrollContracts": "Contratos de Scroll",
80+
"ethereumAndScrollDifferences": "Diferencias entre Scroll y Ethereum",
81+
"l1AndL2Bridging": "L1 y L2 Bridging",
82+
"ethAndErc20TokenBridge": "ETH y ERC20 Token Bridge",
83+
"erc721NftBridge": "ERC721 NFT Bridge",
84+
"erc1155TokenBridge": "ERC1155 Token Bridge",
85+
"theScrollMessenger": "El Scroll Messenger",
86+
"transactionFeesOnScroll": "Comisiones de Transacciones en Scroll",
87+
"l2Fee": "Comisión L2",
88+
"l1Fee": "Comisión L1",
89+
"gasOracle": "Gas Oracle",
90+
"future": "Futuro",
91+
"guides": "Guías",
92+
"contractDeploymentTutorial": "Tutorial de Despliegue de Contratos",
93+
"crossChainInteraction": "Interacción Cross-chain del Scroll Messenger",
94+
"bridgingERC20TokenThroughCustomGateway": "Bridging de un ERC20 a través de una Gateway Personalizada",
95+
"bridgingERC721NftThroughCustomGateway": "Bridging de un ERC721 NFT a través de una Gateway Personalizada",
96+
"bridgingERC1155ThroughCustomGateway": "Bridging de un ERC1155 a través de una Gateway Personalizada",
97+
"estimatingGasAndTxFees": "Estimación de las Tarifas de Gas y Tx",
98+
"resources": "Recursos",
99+
"rollupExplorer": "Rollup Explorer",
100+
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
101+
"sepoliaBlockExplorer": "Sepolia Explorer"
102+
},
103+
"technology": {
104+
"introduction": "Introducción",
105+
"principles": "Principios",
106+
"scrollArchitecture": "Arquitectura de Scroll",
107+
"overview": "Vista General",
108+
109+
"scrollChain": "Scroll Chain",
110+
"accountsAndState": "Cuentas y Estado",
111+
"blocks": "Bloques",
112+
"transactions": "Transacciones",
113+
"rollupProcess": "Proceso del Rollup",
114+
"evmDifferencesFromEthereum": "Diferencias de EVM respecto a Ethereum",
115+
116+
"bridge": "Bridge",
117+
"crossDomainMessaging": "Cross-Domain Messaging",
118+
"depositGateways": "Gateways de Depósito",
119+
"withdrawGateways": "Gateways de Retiro",
120+
121+
"sequencer": "Secuenciador",
122+
"executionNode": "Nodo de Ejecución",
123+
"rollupNode": "Nodo Rollup",
124+
"zkTrie": "zkTrie",
125+
126+
"zkevm": "zkEVM",
127+
"introToZkevm": "Intro a la zkEVM",
128+
"zkevmOverview": "Vista General de la zkEVM",
129+
"bridgeOverview": "Vista General del Bridge",
130+
"prover": "Prover",
131+
"proofGeneration": "Proof Generation",
132+
"cpuProverRepo": "CPU Prover Repo"
133+
},
134+
"learn": {
135+
"ethereumAndProtocols": "Ethereum y Protocolos",
136+
"theScalabilityProblem": "El Problema de la Escalabilidad",
137+
"introToRollups": "Intro a los Rollups",
138+
"zeroKnowledge": "Zero Knowledge",
139+
"introToZeroKnowledge": "Intro a la Zero Knowledge",
140+
"polynomialCommitmentSchemes": "Esquemas de Compromiso Polinómicos",
141+
"kzgCommitmentScheme": "Esquema de Compromiso KZG",
142+
"additionalResources": "Recursos Adicionales"
143+
}
144+
},
2145
"notTranslated": {
3-
"notTranslated": "Esta página aún no ha sido traducida."
146+
"notTranslated": "Esta página no ha sido traducida aún."
4147
}
5148
}

src/components/NavCard.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import i18next, { t } from "i18next"
23
export type Props = {
34
icon: string
45
name: string
@@ -17,7 +18,7 @@ const { icon, name, content, link } = Astro.props as Props
1718
<span class="navs-item-title">{name}</span>
1819
<span class="navs-item-content">{content}</span>
1920
<a class="navs-item-link" href={link}>
20-
Read more
21+
{t("ui.readMore")}
2122
<span class="link-icon"></span>
2223
</a>
2324
</div>

src/components/PageContent/WhatsNext.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2+
import i18next, { t } from "i18next"
23
export type Props = { content: Record<string, string> }
34
const { content = {} } = Astro.props as Props
45
---
56

67
<section>
7-
<h4>Whats Next</h4>
8+
<h4>{t("ui.whatsNext")}</h4>
89
<ul class="whats-next">
910
{
1011
Object.keys(content).map((key) => (

src/components/RightSidebar/MoreMenu.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2+
import i18next, { t } from "i18next"
23
import * as CONFIG from "../../config"
34
const { editHref } = Astro.props
45
const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
56
---
67

7-
{showMoreSection && <h2 class="heading">More</h2>}
8+
{showMoreSection && <h2 class="heading">{t("rightSidebar.more")}</h2>}
89
<ul>
910
{
1011
editHref && (
@@ -27,7 +28,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
2728
</clipPath>
2829
</defs>
2930
</svg>
30-
<span>Edit this page</span>
31+
<span>{t("rightSidebar.editThisPage")}</span>
3132
</a>
3233
</li>
3334
)
@@ -56,7 +57,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
5657
fill="currentColor"
5758
/>
5859
</svg>
59-
<span>Join our community</span>
60+
<span>{t("rightSidebar.joinOurCommunity")}</span>
6061
</a>
6162
</li>
6263
)

src/components/RightSidebar/RightSidebar.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import i18next, { t } from "i18next"
23
import TableOfContents from "./TableOfContents"
34
import MoreMenu from "./MoreMenu.astro"
45
import { Feedback } from "../PageContent/Feedback"
@@ -15,7 +16,7 @@ const { content, githubEditUrl, headings, clientSideToc } = Astro.props
1516
</div>
1617

1718
<div>
18-
<h2 class="heading feedback-title">Feedback</h2>
19+
<h2 class="heading feedback-title">{t("rightSidebar.feedback")}</h2>
1920
<div class="feedback-wrapper">
2021
<Feedback client:idle />
2122
</div>

src/components/RightSidebar/TableOfContents/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { useStore } from "@nanostores/preact"
33
import type { FunctionalComponent } from "preact"
44
import { useState, useEffect, useRef } from "preact/hooks"
55
import { shouldUpdateToc } from "./tocStore"
6+
import i18next, { t } from "i18next"
7+
68
export interface Heading {
79
depth: number
810
text: string
@@ -79,7 +81,7 @@ const TableOfContents: FunctionalComponent<{
7981

8082
return (
8183
<>
82-
<h2 className="heading">On this page</h2>
84+
<h2 className="heading">{t("rightSidebar.onThisPage")}</h2>
8385
<ul ref={tableOfContents}>
8486
{headings
8587
.filter(({ depth }) => depth > 1 && depth < 4)

src/config/menu.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,14 @@ export const MENU: MenuItems = {
2727
{ text: "技术", link: "/zh/technology", section: "technology" },
2828
{ text: "学习", link: "/zh/learn", section: "learn" },
2929
],
30+
es: [
31+
{
32+
text: "¿Cómo empezar?",
33+
link: "/es/getting-started/overview",
34+
section: "gettingStarted",
35+
},
36+
{ text: "Desarrolladores", link: "/es/developers", section: "developers" },
37+
{ text: "Tecnología", link: "/es/technology", section: "technology" },
38+
{ text: "Aprende", link: "/es/learn", section: "learn" },
39+
],
3040
}

0 commit comments

Comments
 (0)