From 168d48689a051e59bc9ee9a1141445ac4a9d3a3e Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 20 Apr 2026 21:07:15 +0900 Subject: [PATCH 1/3] fix: make ecosystem page header text translatable --- src/components/XahauEcosystem.astro | 6 +++--- src/data/ecosystem.json | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/XahauEcosystem.astro b/src/components/XahauEcosystem.astro index 198c584..1990c9a 100644 --- a/src/components/XahauEcosystem.astro +++ b/src/components/XahauEcosystem.astro @@ -64,13 +64,13 @@ const sections = ecosystemData.sections.map((section) =>

Ecosystem

- {sections.map(s => s.label['en']).join(', ')} - built on or around Xahau + {sections.map(s => s.label[locale]).join(', ')} + {ecosystemData.buildonxahau[locale]}

{sections.map(s => ( - {s.items.length} {s.label['en']} + {s.items.length} {s.label[locale]} ))}
diff --git a/src/data/ecosystem.json b/src/data/ecosystem.json index 8d738fe..f9fd766 100644 --- a/src/data/ecosystem.json +++ b/src/data/ecosystem.json @@ -1,4 +1,9 @@ { + "buildonxahau": { + "en": "built on or around Xahau", + "es": "creados en Xahau o en torno a ella", + "ja": "がXahauを利用して構築しています" + }, "sections": [ { "id": "enterprise", From f1e2251b7556a0e51527005d1bf8db87a72b0178 Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 20 Apr 2026 21:14:42 +0900 Subject: [PATCH 2/3] translate ecosystem page title --- src/components/XahauEcosystem.astro | 2 +- src/data/ecosystem.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/XahauEcosystem.astro b/src/components/XahauEcosystem.astro index 1990c9a..495bee3 100644 --- a/src/components/XahauEcosystem.astro +++ b/src/components/XahauEcosystem.astro @@ -62,7 +62,7 @@ const sections = ecosystemData.sections.map((section) =>
-

Ecosystem

+

{ecosystemData.title[locale]}

{sections.map(s => s.label[locale]).join(', ')} {ecosystemData.buildonxahau[locale]} diff --git a/src/data/ecosystem.json b/src/data/ecosystem.json index f9fd766..33082d1 100644 --- a/src/data/ecosystem.json +++ b/src/data/ecosystem.json @@ -1,4 +1,9 @@ { + "title": { + "en": "Ecosystem", + "es": "Ecosistema", + "ja": "エコシステム" + }, "buildonxahau": { "en": "built on or around Xahau", "es": "creados en Xahau o en torno a ella", From 5c98181a9c60f7e441bb917cde4199c4967ffbed Mon Sep 17 00:00:00 2001 From: tequ Date: Tue, 21 Apr 2026 01:53:33 +0900 Subject: [PATCH 3/3] add trademark translations to ecosystem.json --- src/components/XahauEcosystem.astro | 8 +------- src/data/ecosystem.json | 7 ++++++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/XahauEcosystem.astro b/src/components/XahauEcosystem.astro index 495bee3..b480f85 100644 --- a/src/components/XahauEcosystem.astro +++ b/src/components/XahauEcosystem.astro @@ -157,13 +157,7 @@ const sections = ecosystemData.sections.map((section) => ) })} -

- {locale === 'es' - ? 'Todas las marcas y logotipos son propiedad de sus respectivos dueños.' - : locale === 'ja' - ? 'すべての商標およびロゴは、各所有者の財産です。' - : 'All trademarks and logos are the property of their respective owners.'} -

+

{ecosystemData.trademark[locale]}