From 41ff7599a58e596ac6ad6d418806bce2d521f3e4 Mon Sep 17 00:00:00 2001 From: Jesse Yin Date: Thu, 3 Dec 2026 13:19:50 +0800 Subject: [PATCH] fix(landing): link English legal translations to their Simplified Chinese originals --- monkeyai/landing/src/components/legal/EnglishLegalPage.astro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monkeyai/landing/src/components/legal/EnglishLegalPage.astro b/monkeyai/landing/src/components/legal/EnglishLegalPage.astro index 901ee2b16..9e313e737 100644 --- a/monkeyai/landing/src/components/legal/EnglishLegalPage.astro +++ b/monkeyai/landing/src/components/legal/EnglishLegalPage.astro @@ -2,6 +2,7 @@ import BaseLayout from '../../layouts/BaseLayout.astro'; import LegalNav from '../LegalNav.astro'; import { ActionButton } from '../ActionButton'; +import { pageCopy } from '../../i18n/page'; interface Props { title: string; @@ -12,6 +13,7 @@ interface Props { const { title, description, sections, effectiveDate } = Astro.props; const document = Astro.params.document; +const { t } = pageCopy(Astro.params.lang); const isServiceAgreement = document === 'user-service'; const home = import.meta.env.BASE_URL + 'en/'; const backLink = isServiceAgreement ? home : home + 'user-service/'; @@ -29,6 +31,7 @@ const backLabel = isServiceAgreement ? 'Back to homepage' : 'Back to Service Agr

MonkeyAI {title}

+

{t('本译本仅供参考,不替代中文原文。')} {t('查看简体中文原文')}

{effectiveDate && }