Skip to content

Commit 265129f

Browse files
authored
Merge pull request #950 from maxtulupov/translate-ancillary-components
Translate of ancillary components
2 parents 5defa6f + 68ab788 commit 265129f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/components/DocsFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function FooterLink({
8080
/>
8181
<div className="flex flex-col overflow-hidden">
8282
<span className="text-sm font-bold tracking-wide no-underline uppercase text-secondary dark:text-secondary-dark group-focus:text-link dark:group-focus:text-link-dark group-focus:text-opacity-100">
83-
{type}
83+
{type === 'Previous' ? 'Предыдущая глава' : 'Следующая глава'}
8484
</span>
8585
<span className="text-lg break-words group-hover:underline">
8686
{title}

src/components/Layout/Feedback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) {
6767
{exit: isSubmitted}
6868
)}>
6969
<p className="w-full text-lg font-bold text-primary dark:text-primary-dark me-4">
70-
{isSubmitted ? 'Thank you for your feedback!' : 'Is this page useful?'}
70+
{isSubmitted ? 'Спасибо за ваш отзыв!' : 'Эта страница была полезна?'}
7171
</p>
7272
{!isSubmitted && (
7373
<button

src/components/Layout/Toc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function Toc({headings}: {headings: Toc}) {
1616
<nav role="navigation" className="pt-20 sticky top-0 end-0">
1717
{headings.length > 0 && (
1818
<h2 className="mb-3 lg:mb-3 uppercase tracking-wide font-bold text-sm text-secondary dark:text-secondary-dark px-4 w-full">
19-
On this page
19+
На этой странице
2020
</h2>
2121
)}
2222
<div

src/components/MDX/MDXComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function YouWillLearn({
197197
children: any;
198198
isChapter?: boolean;
199199
}) {
200-
let title = isChapter ? 'In this chapter' : 'You will learn';
200+
let title = isChapter ? 'В этой главе' : 'Вы узнаете';
201201
return <SimpleCallout title={title}>{children}</SimpleCallout>;
202202
}
203203

src/utils/prepareMDX.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function getTableOfContents(children, depth) {
6565
if (anchors.length > 0) {
6666
anchors.unshift({
6767
url: '#',
68-
text: 'Overview',
68+
text: 'Обзор',
6969
depth: 2,
7070
});
7171
}

0 commit comments

Comments
 (0)