Skip to content

Commit 478ee85

Browse files
committed
remove translation from .tsx files
1 parent 0124102 commit 478ee85

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/components/MDX/Challenges/Challenge.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ export function Challenge({
6363
<div>
6464
<Button className="mr-2" onClick={toggleHint} active={showHint}>
6565
<IconHint className="mr-1.5" />{' '}
66-
{showHint ? 'Скрыть подсказку' : 'Показать подсказку'}
66+
{showHint ? 'Hide hint' : 'Show hint'}
6767
</Button>
6868
<Button
6969
className="mr-2"
7070
onClick={toggleSolution}
7171
active={showSolution}>
7272
<IconSolution className="mr-1.5" />{' '}
73-
{showSolution ? 'Скрыть решение' : 'Показать решение'}
73+
{showSolution ? 'Hide solution' : 'Show solution'}
7474
</Button>
7575
</div>
7676
) : (
@@ -80,7 +80,7 @@ export function Challenge({
8080
onClick={toggleSolution}
8181
active={showSolution}>
8282
<IconSolution className="mr-1.5" />{' '}
83-
{showSolution ? 'Скрыть решение' : 'Показать решение'}
83+
{showSolution ? 'Hide solution' : 'Show solution'}
8484
</Button>
8585
)
8686
)}
@@ -109,7 +109,7 @@ export function Challenge({
109109
{currentChallenge.solution}
110110
<div className="flex justify-between items-center mt-4">
111111
<Button onClick={() => setShowSolution(false)}>
112-
Закрыть решение
112+
Close solution
113113
</Button>
114114
{hasNextChallenge && (
115115
<Button

src/components/MDX/ExpandableCallout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const variantMap = {
3535
'linear-gradient(rgba(245, 249, 248, 0), rgba(245, 249, 248, 1)',
3636
},
3737
pitfall: {
38-
title: 'Подводный камень',
38+
title: 'Pitfall',
3939
Icon: IconPitfall,
4040
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
4141
textColor: 'text-yellow-50 dark:text-yellow-40',

src/components/MDX/ExpandableExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
101101
<span className="mr-1">
102102
<IconChevron displayDirection={isExpanded ? 'up' : 'down'} />
103103
</span>
104-
{isExpanded ? 'Скрыть детали' : 'Показать детали'}
104+
{isExpanded ? 'Hide Details' : 'Show Details'}
105105
</Button>
106106
</summary>
107107
<div

src/components/MDX/MDXComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function YouWillLearn({
173173
children: any;
174174
isChapter?: boolean;
175175
}) {
176-
let title = isChapter ? 'В этой главе' : 'Вы узнаете';
176+
let title = isChapter ? 'In this chapter' : 'You will learn';
177177
return <SimpleCallout title={title}>{children}</SimpleCallout>;
178178
}
179179

src/components/MDX/Recap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function Recap({children}: RecapProps) {
1313
return (
1414
<section>
1515
<H2 isPageAnchor id="recap">
16-
Итого
16+
Recap
1717
</H2>
1818
{children}
1919
</section>

0 commit comments

Comments
 (0)