i18n: Get Started button locale
Some checks are pending
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Blocked by required conditions
Deploy to GitHub Pages / Build Docusaurus (push) Waiting to run

This commit is contained in:
Sergey Shorokhov 2024-12-13 15:45:04 +03:00
parent e03a19615e
commit 0426cb3ab5
2 changed files with 7 additions and 4 deletions

View File

@ -440,5 +440,9 @@
"theme.tags.tagsPageTitle": { "theme.tags.tagsPageTitle": {
"message": "Теги", "message": "Теги",
"description": "The title of the tag list page" "description": "The title of the tag list page"
},
"Get Started": {
"message": "Начать изучение",
"description": "CTA button on main page"
} }
} }

View File

@ -5,6 +5,7 @@ import Layout from '@theme/Layout';
import Heading from '@theme/Heading'; import Heading from '@theme/Heading';
import styles from './index.module.css'; import styles from './index.module.css';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import Translate from '@docusaurus/Translate';
interface Repository { interface Repository {
repo: any; repo: any;
@ -73,10 +74,8 @@ function HomepageHeader() {
</Heading> </Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p> <p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}> <div className={styles.buttons}>
<Link <Link className="button button--secondary button--lg" to="/docs">
className="button button--secondary button--lg" <Translate description="CTA button on main page">Get Started</Translate>
to="/docs">
Get Started
</Link> </Link>
</div> </div>
</div> </div>