Skip to content

Commit 4100ae7

Browse files
authored
Add machine translation notice (#54826)
1 parent 51323ed commit 4100ae7

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

data/ui.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ footer:
241241
pricing: Pricing
242242
expert_services: Expert services
243243
blog: Blog
244+
machine: Some of this content may be machine- or AI-translated.
244245
product_landing:
245246
quickstart: Quickstart
246247
reference: Reference

src/fixtures/fixtures/data/ui.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ footer:
241241
pricing: Pricing
242242
expert_services: Expert services
243243
blog: Blog
244+
machine: Some of this content may be machine- or AI-translated.
244245
product_landing:
245246
quickstart: Quickstart
246247
reference: Reference

src/frame/components/page-footer/LegalFooter.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const LegalFooter = () => {
1010
return (
1111
<section className="container-xl px-3 mt-6 pb-8 px-md-6 color-fg-muted">
1212
<h2 className="f4 mb-2 col-12">{t('legal_heading')}</h2>
13+
{router.locale !== 'en' && <p>{t('machine')}</p>}
1314
<ul className="d-flex flex-wrap list-style-none">
1415
<li className="mr-3">&copy; {new Date().getFullYear()} GitHub, Inc.</li>
1516
{/* In Germany, Austria, and Switzerland, the Impressum link is legally required. */}

0 commit comments

Comments
 (0)