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