@@ -50,7 +50,7 @@ export function Challenge({
5050 className = "text-xl text-primary dark:text-primary-dark mb-2 mt-0 font-medium"
5151 id = { currentChallenge . id } >
5252 < div className = "font-bold block md:inline" >
53- { isRecipes ? 'Example ' : 'Challenge ' } { currentChallenge . order } of { ' ' }
53+ { isRecipes ? 'Пример ' : 'Испытание ' } { currentChallenge . order } из { ' ' }
5454 { totalChallenges }
5555 < span className = "text-primary dark:text-primary-dark" > : </ span >
5656 </ div >
@@ -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 ? 'Hide hint ' : 'Show hint ' }
66+ { showHint ? 'Скрыть подсказку ' : 'Показать подсказку ' }
6767 </ Button >
6868 < Button
6969 className = "mr-2"
7070 onClick = { toggleSolution }
7171 active = { showSolution } >
7272 < IconSolution className = "mr-1.5" /> { ' ' }
73- { showSolution ? 'Hide solution ' : 'Show solution ' }
73+ { showSolution ? 'Скрыть решение ' : 'Показать решение ' }
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 ? 'Hide solution ' : 'Show solution ' }
83+ { showSolution ? 'Скрыть решение ' : 'Показать решение ' }
8484 </ Button >
8585 )
8686 ) }
@@ -94,7 +94,8 @@ export function Challenge({
9494 ) }
9595 onClick = { handleClickNextChallenge }
9696 active >
97- Next { isRecipes ? 'Example' : 'Challenge' }
97+ { isRecipes ? 'Следующий' : 'Следующее' } { ' ' }
98+ { isRecipes ? 'Пример' : 'Испытание' }
9899 < IconArrowSmall displayDirection = "right" className = "block ml-1.5" />
99100 </ Button >
100101 ) }
@@ -104,12 +105,12 @@ export function Challenge({
104105 { showSolution && (
105106 < div className = "mt-6" >
106107 < h3 className = "text-2xl font-bold text-primary dark:text-primary-dark" >
107- Solution
108+ Решение
108109 </ h3 >
109110 { currentChallenge . solution }
110111 < div className = "flex justify-between items-center mt-4" >
111112 < Button onClick = { ( ) => setShowSolution ( false ) } >
112- Close solution
113+ Скрыть решение
113114 </ Button >
114115 { hasNextChallenge && (
115116 < Button
@@ -118,7 +119,7 @@ export function Challenge({
118119 ) }
119120 onClick = { handleClickNextChallenge }
120121 active >
121- Next Challenge
122+ Следующее Испытание
122123 < IconArrowSmall
123124 displayDirection = "right"
124125 className = "block ml-1.5"
0 commit comments