@@ -50,7 +50,7 @@ export function Challenge({
50
50
className = "text-xl text-primary dark:text-primary-dark mb-2 mt-0 font-medium"
51
51
id = { currentChallenge . id } >
52
52
< div className = "font-bold block md:inline" >
53
- { isRecipes ? 'Example ' : 'Challenge ' } { currentChallenge . order } of { ' ' }
53
+ { isRecipes ? 'Пример ' : 'Испытание ' } { currentChallenge . order } из { ' ' }
54
54
{ totalChallenges }
55
55
< span className = "text-primary dark:text-primary-dark" > : </ span >
56
56
</ div >
@@ -63,14 +63,14 @@ export function Challenge({
63
63
< div >
64
64
< Button className = "mr-2" onClick = { toggleHint } active = { showHint } >
65
65
< IconHint className = "mr-1.5" /> { ' ' }
66
- { showHint ? 'Hide hint ' : 'Show hint ' }
66
+ { showHint ? 'Скрыть подсказку ' : 'Показать подсказку ' }
67
67
</ Button >
68
68
< Button
69
69
className = "mr-2"
70
70
onClick = { toggleSolution }
71
71
active = { showSolution } >
72
72
< IconSolution className = "mr-1.5" /> { ' ' }
73
- { showSolution ? 'Hide solution ' : 'Show solution ' }
73
+ { showSolution ? 'Скрыть решение ' : 'Показать решение ' }
74
74
</ Button >
75
75
</ div >
76
76
) : (
@@ -80,7 +80,7 @@ export function Challenge({
80
80
onClick = { toggleSolution }
81
81
active = { showSolution } >
82
82
< IconSolution className = "mr-1.5" /> { ' ' }
83
- { showSolution ? 'Hide solution ' : 'Show solution ' }
83
+ { showSolution ? 'Скрыть решение ' : 'Показать решение ' }
84
84
</ Button >
85
85
)
86
86
) }
@@ -94,7 +94,8 @@ export function Challenge({
94
94
) }
95
95
onClick = { handleClickNextChallenge }
96
96
active >
97
- Next { isRecipes ? 'Example' : 'Challenge' }
97
+ { isRecipes ? 'Следующий' : 'Следующее' } { ' ' }
98
+ { isRecipes ? 'Пример' : 'Испытание' }
98
99
< IconArrowSmall displayDirection = "right" className = "block ml-1.5" />
99
100
</ Button >
100
101
) }
@@ -104,12 +105,12 @@ export function Challenge({
104
105
{ showSolution && (
105
106
< div className = "mt-6" >
106
107
< h3 className = "text-2xl font-bold text-primary dark:text-primary-dark" >
107
- Solution
108
+ Решение
108
109
</ h3 >
109
110
{ currentChallenge . solution }
110
111
< div className = "flex justify-between items-center mt-4" >
111
112
< Button onClick = { ( ) => setShowSolution ( false ) } >
112
- Close solution
113
+ Скрыть решение
113
114
</ Button >
114
115
{ hasNextChallenge && (
115
116
< Button
@@ -118,7 +119,7 @@ export function Challenge({
118
119
) }
119
120
onClick = { handleClickNextChallenge }
120
121
active >
121
- Next Challenge
122
+ Следующее Испытание
122
123
< IconArrowSmall
123
124
displayDirection = "right"
124
125
className = "block ml-1.5"
0 commit comments