Skip to content

Add i18n and sub-pages #432

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 8 commits into from
Apr 24, 2025
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
7 changes: 6 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@
"cpuProverRepo": "CPU Prover Repo",
"security": "Security",
"auditsAndBugBounty": "Audits & Bug Bounty",
"l2BeatAssessment": "L2Beat Assessment"
"l2BeatAssessment": "L2Beat Assessment",
"euclidUpgrade": "Euclid Upgrade",
"darwinV2Upgrade": "Darwin v2 Upgrade",
"darwinUpgrade": "Darwin Upgrade",
"curieUpgrade": "Curie Upgrade",
"bernoulliUpgrade": "Bernoulli Upgrade"
},
"learn": {
"ethereumAndProtocols": "Ethereum & Protocols",
Expand Down
8 changes: 7 additions & 1 deletion public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@

"security": "Seguridad",
"auditsAndBugBounty": "Auditorías y recompenzas por encontrar bugs",
"l2BeatAssessment": "Análisis de L2Beat"
"l2BeatAssessment": "Análisis de L2Beat",

"euclidUpgrade": "Actualización de Euclid",
"darwinV2Upgrade": "Actualización de Darwin v2",
"darwinUpgrade": "Actualización de Darwin",
"curieUpgrade": "Actualización de Curie",
"bernoulliUpgrade": "Actualización de Bernoulli"
},
"learn": {
"ethereumAndProtocols": "Ethereum y Protocolos",
Expand Down
8 changes: 7 additions & 1 deletion public/locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,13 @@

"security": "Güvenlik",
"auditsAndBugBounty": "Denetimler ve Hata Ödül Programı",
"l2BeatAssessment": "L2Beat Değerlendirmesi"
"l2BeatAssessment": "L2Beat Değerlendirmesi",

"euclidUpgrade": "Euclid Yükseltmesi",
"darwinV2Upgrade": "Darwin v2 Yükseltmesi",
"darwinUpgrade": "Darwin Yükseltmesi",
"curieUpgrade": "Curie Yükseltmesi",
"bernoulliUpgrade": "Bernoulli Yükseltmesi"
},
"learn": {
"ethereumAndProtocols": "Ethereum & Protokoller",
Expand Down
8 changes: 7 additions & 1 deletion public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@

"security": "安全",
"auditsAndBugBounty": "审计和漏洞赏金",
"l2BeatAssessment": "L2Beat 评估"
"l2BeatAssessment": "L2Beat 评估",

"euclidUpgrade": "Euclid 升级",
"darwinV2Upgrade": "Darwin v2 升级",
"darwinUpgrade": "Darwin 升级",
"curieUpgrade": "Curie 升级",
"bernoulliUpgrade": "Bernoulli 升级"
},
"learn": {
"ethereumAndProtocols": "以太坊与协议",
Expand Down
24 changes: 23 additions & 1 deletion src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,29 @@ export const getSidebar = () => {
{ title: t("sidebar.technology.scrollArchitecture"), url: formatUrl("technology") },
{
title: t("sidebar.technology.scrollUpgrades"),
url: "technology/overview/scroll-upgrades",
url: formatUrl("technology/overview/scroll-upgrades"),
children: [
{
title: t("sidebar.technology.euclidUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/euclid-upgrade"),
},
{
title: t("sidebar.technology.darwinV2Upgrade"),
url: formatUrl("technology/overview/scroll-upgrades/darwin-v2-upgrade"),
},
{
title: t("sidebar.technology.darwinUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/darwin-upgrade"),
},
{
title: t("sidebar.technology.curieUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/curie-upgrade"),
},
{
title: t("sidebar.technology.bernoulliUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/bernoulli-upgrade"),
},
],
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/en/developers/scroll-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
- L1 ERC1155 Gateway: [`0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6`](https://etherscan.io/address/0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6)
- L2 ERC1155 Gateway: [`0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc`](https://scrollscan.com/address/0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc)
- Gas Oracle (deployed on Mainnet)
- L1 Message Queue With Gas Price Oracle: [`0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B`](https://etherscan.io/address/0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B)
- L1 Message Queue With Gas Price Oracle (*deprecated from Euclid*): [`0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B`](https://etherscan.io/address/0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B)

### L2 Predeploys

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

#### L2 Predeploys
Expand Down
Loading