From 09c75017409d1f924d2d782140f307dcb03c0d27 Mon Sep 17 00:00:00 2001 From: itulupov1 Date: Sat, 4 May 2024 23:36:54 +0700 Subject: [PATCH] Translate of ancillary components --- src/components/DocsFooter.tsx | 2 +- src/components/Layout/Feedback.tsx | 2 +- src/components/Layout/Page.tsx | 4 ++-- src/components/Layout/Toc.tsx | 2 +- src/components/MDX/MDXComponents.tsx | 2 +- src/utils/prepareMDX.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/DocsFooter.tsx b/src/components/DocsFooter.tsx index 5f2330e7e..9267d4c77 100644 --- a/src/components/DocsFooter.tsx +++ b/src/components/DocsFooter.tsx @@ -80,7 +80,7 @@ function FooterLink({ />
- {type} + {type === 'Previous' ? 'Предыдущая глава' : 'Следующая глава'} {title} diff --git a/src/components/Layout/Feedback.tsx b/src/components/Layout/Feedback.tsx index 34db728ce..a0953b08c 100644 --- a/src/components/Layout/Feedback.tsx +++ b/src/components/Layout/Feedback.tsx @@ -67,7 +67,7 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) { {exit: isSubmitted} )}>

- {isSubmitted ? 'Thank you for your feedback!' : 'Is this page useful?'} + {isSubmitted ? 'Спасибо за ваш отзыв!' : 'Эта страница была полезна?'}

{!isSubmitted && (