Skip to content

Commit 463c3bc

Browse files
Minor improvements in accessibility and added translations for the 404 and 500 pages.
1 parent b53ec3f commit 463c3bc

4 files changed

Lines changed: 14 additions & 12 deletions

File tree

src/components/Seo.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export const Seo = withRouter(
8181
<meta property="fb:app_id" content="623268441017527" />
8282
<meta property="og:type" key="og:type" content="website" />
8383
<meta property="og:url" key="og:url" content={canonicalUrl} />
84+
<meta property="og:locale" content="ta_LK" />
85+
<meta property="og:locale:alternate" content="ta_IN" />
8486
{title != null && (
8587
<meta property="og:title" content={pageTitle} key="og:title" />
8688
)}

src/pages/404.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ const {Intro, MaxWidth, p: P, a: A} = MDXComponents;
1717

1818
export default function NotFound() {
1919
return (
20-
<Page toc={[]} meta={{title: 'Not Found'}} routeTree={sidebarLearn}>
20+
<Page toc={[]} meta={{title: 'வலைப்பக்கம் கண்டறியப்படவில்லை'}} routeTree={sidebarLearn}>
2121
<MaxWidth>
2222
<Intro>
23-
<P>This page doesn’t exist.</P>
23+
<P>இந்தப் வலைப்பக்கம் கண்டறியப்படவில்லை.</P>
2424
<P>
25-
If this is a mistake{', '}
26-
<A href="https://github.com/reactjs/react.dev/issues/new">
27-
let us know
25+
இதில் ஏதேனும் தவறு இருந்தால் {', '}
26+
<A href="https://github.com/reactjs/ta.react.dev/issues/new">
27+
எங்களுக்குத் தெரியப்படுத்துங்கள்
2828
</A>
2929
{', '}
30-
and we will try to fix it!
30+
நாங்கள் அதைச் சரிசெய்ய முயற்சிப்போம் !
3131
</P>
3232
</Intro>
3333
</MaxWidth>

src/pages/500.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ export default function NotFound() {
2020
<Page
2121
toc={[]}
2222
routeTree={sidebarLearn}
23-
meta={{title: 'Something Went Wrong'}}>
23+
meta={{title: 'ஏதோ தவறு நடந்துவிட்டது'}}>
2424
<MaxWidth>
2525
<Intro>
26-
<P>Something went very wrong.</P>
27-
<P>Sorry about that.</P>
26+
<P>ஏதோ தவறு நடந்துவிட்டது.</P>
27+
<P>இதற்கு வருந்துகிறோம்.</P>
2828
<P>
29-
If you’d like, please{' '}
29+
உங்களுக்கு விருப்பமென்றால், தயவுசெய்து {' '}
3030
<A href="https://github.com/reactjs/react.dev/issues/new">
31-
report a bug.
31+
ஒரு முறையீட்டை புகாரளிக்கவும்.
3232
</A>
3333
</P>
3434
</Intro>

src/siteConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports.siteConfig = {
1212
version: '19.2',
1313
// --------------------------------------
1414
// Translations should replace these lines:
15-
languageCode: 'en',
15+
languageCode: 'ta',
1616
hasLegacySite: true,
1717
isRTL: false,
1818
// --------------------------------------

0 commit comments

Comments
 (0)