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 && }