Skip to content

Commit 09c7501

Browse files
committed
Translate of ancillary components
1 parent 4c17290 commit 09c7501

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
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/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
161161
<>
162162
<div className="flex flex-col items-center p-4 m-4">
163163
<p className="mb-4 text-lg font-bold text-primary dark:text-primary-dark">
164-
How do you like these docs?
164+
Вам нравится эта документация?
165165
</p>
166166
<div>
167167
<ButtonLink
@@ -170,7 +170,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
170170
type="primary"
171171
size="md"
172172
target="_blank">
173-
Take our survey!
173+
Пройдите наш опрос!
174174
<IconNavArrow
175175
displayDirection="end"
176176
className="inline ms-1"

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
@@ -180,7 +180,7 @@ function YouWillLearn({
180180
children: any;
181181
isChapter?: boolean;
182182
}) {
183-
let title = isChapter ? 'In this chapter' : 'You will learn';
183+
let title = isChapter ? 'В этой главе' : 'Вы узнаете';
184184
return <SimpleCallout title={title}>{children}</SimpleCallout>;
185185
}
186186

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)