Skip to content

Commit c539219

Browse files
Merge pull request #432 from scroll-tech/develop
Add i18n and sub-pages
2 parents 3de9545 + c32d0a0 commit c539219

30 files changed

+1787
-504
lines changed

public/locales/en/translation.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,12 @@
141141
"cpuProverRepo": "CPU Prover Repo",
142142
"security": "Security",
143143
"auditsAndBugBounty": "Audits & Bug Bounty",
144-
"l2BeatAssessment": "L2Beat Assessment"
144+
"l2BeatAssessment": "L2Beat Assessment",
145+
"euclidUpgrade": "Euclid Upgrade",
146+
"darwinV2Upgrade": "Darwin v2 Upgrade",
147+
"darwinUpgrade": "Darwin Upgrade",
148+
"curieUpgrade": "Curie Upgrade",
149+
"bernoulliUpgrade": "Bernoulli Upgrade"
145150
},
146151
"learn": {
147152
"ethereumAndProtocols": "Ethereum & Protocols",

public/locales/es/translation.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@
142142

143143
"security": "Seguridad",
144144
"auditsAndBugBounty": "Auditorías y recompenzas por encontrar bugs",
145-
"l2BeatAssessment": "Análisis de L2Beat"
145+
"l2BeatAssessment": "Análisis de L2Beat",
146+
147+
"euclidUpgrade": "Actualización de Euclid",
148+
"darwinV2Upgrade": "Actualización de Darwin v2",
149+
"darwinUpgrade": "Actualización de Darwin",
150+
"curieUpgrade": "Actualización de Curie",
151+
"bernoulliUpgrade": "Actualización de Bernoulli"
146152
},
147153
"learn": {
148154
"ethereumAndProtocols": "Ethereum y Protocolos",

public/locales/tr/translation.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,13 @@
143143

144144
"security": "Güvenlik",
145145
"auditsAndBugBounty": "Denetimler ve Hata Ödül Programı",
146-
"l2BeatAssessment": "L2Beat Değerlendirmesi"
146+
"l2BeatAssessment": "L2Beat Değerlendirmesi",
147+
148+
"euclidUpgrade": "Euclid Yükseltmesi",
149+
"darwinV2Upgrade": "Darwin v2 Yükseltmesi",
150+
"darwinUpgrade": "Darwin Yükseltmesi",
151+
"curieUpgrade": "Curie Yükseltmesi",
152+
"bernoulliUpgrade": "Bernoulli Yükseltmesi"
147153
},
148154
"learn": {
149155
"ethereumAndProtocols": "Ethereum & Protokoller",

public/locales/zh/translation.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@
142142

143143
"security": "安全",
144144
"auditsAndBugBounty": "审计和漏洞赏金",
145-
"l2BeatAssessment": "L2Beat 评估"
145+
"l2BeatAssessment": "L2Beat 评估",
146+
147+
"euclidUpgrade": "Euclid 升级",
148+
"darwinV2Upgrade": "Darwin v2 升级",
149+
"darwinUpgrade": "Darwin 升级",
150+
"curieUpgrade": "Curie 升级",
151+
"bernoulliUpgrade": "Bernoulli 升级"
146152
},
147153
"learn": {
148154
"ethereumAndProtocols": "以太坊与协议",

src/config/sidebar.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,29 @@ export const getSidebar = () => {
202202
{ title: t("sidebar.technology.scrollArchitecture"), url: formatUrl("technology") },
203203
{
204204
title: t("sidebar.technology.scrollUpgrades"),
205-
url: "technology/overview/scroll-upgrades",
205+
url: formatUrl("technology/overview/scroll-upgrades"),
206+
children: [
207+
{
208+
title: t("sidebar.technology.euclidUpgrade"),
209+
url: formatUrl("technology/overview/scroll-upgrades/euclid-upgrade"),
210+
},
211+
{
212+
title: t("sidebar.technology.darwinV2Upgrade"),
213+
url: formatUrl("technology/overview/scroll-upgrades/darwin-v2-upgrade"),
214+
},
215+
{
216+
title: t("sidebar.technology.darwinUpgrade"),
217+
url: formatUrl("technology/overview/scroll-upgrades/darwin-upgrade"),
218+
},
219+
{
220+
title: t("sidebar.technology.curieUpgrade"),
221+
url: formatUrl("technology/overview/scroll-upgrades/curie-upgrade"),
222+
},
223+
{
224+
title: t("sidebar.technology.bernoulliUpgrade"),
225+
url: formatUrl("technology/overview/scroll-upgrades/bernoulli-upgrade"),
226+
},
227+
],
206228
},
207229
],
208230
},

src/content/docs/en/developers/scroll-contracts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
6969
- L1 ERC1155 Gateway: [`0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6`](https://etherscan.io/address/0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6)
7070
- L2 ERC1155 Gateway: [`0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc`](https://scrollscan.com/address/0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc)
7171
- Gas Oracle (deployed on Mainnet)
72-
- L1 Message Queue With Gas Price Oracle: [`0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B`](https://etherscan.io/address/0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B)
72+
- L1 Message Queue With Gas Price Oracle (*deprecated from Euclid*): [`0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B`](https://etherscan.io/address/0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B)
7373

7474
### L2 Predeploys
7575

@@ -155,7 +155,7 @@ Use the table below to configure your Ethereum tools to the Scroll Sepolia Testn
155155
- L1 ERC1155 Gateway: [`0xa5Df8530766A85936EE3E139dECE3bF081c83146`](https://sepolia.etherscan.io/address/0xa5Df8530766A85936EE3E139dECE3bF081c83146)
156156
- L2 ERC1155 Gateway: [`0xe17C9b9C66FAF07753cdB04316D09f52144612A5`](https://sepolia.scrollscan.com/address/0xe17C9b9C66FAF07753cdB04316D09f52144612A5)
157157
- Gas Oracle (deployed on Sepolia)
158-
- L1 Message Queue With Gas Price Oracle: [`0xF0B2293F5D834eAe920c6974D50957A1732de763`](https://sepolia.etherscan.io/address/0xF0B2293F5D834eAe920c6974D50957A1732de763)
158+
- L1 Message Queue With Gas Price Oracle (*deprecated from Euclid*): [`0xF0B2293F5D834eAe920c6974D50957A1732de763`](https://sepolia.etherscan.io/address/0xF0B2293F5D834eAe920c6974D50957A1732de763)
159159
- L2 Gas Oracle (*deprecated*): [`0x247969F4fad93a33d4826046bc3eAE0D36BdE548`](https://sepolia.etherscan.io/address/0x247969F4fad93a33d4826046bc3eAE0D36BdE548)
160160

161161
#### L2 Predeploys

0 commit comments

Comments
 (0)