@@ -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 ? 'Esimerkki ' : 'Haaste ' } { 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 ? 'Piilota vihje ' : 'Näytä vihje ' }
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 ? 'Piilota ratkaisu ' : 'Näytä ratkaisu ' }
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 ? 'Piilota ratkaisu ' : 'Näytä ratkaisu ' }
8484 </ Button >
8585 )
8686 ) }
@@ -94,7 +94,7 @@ export function Challenge({
9494 ) }
9595 onClick = { handleClickNextChallenge }
9696 active >
97- Next { isRecipes ? 'Example ' : 'Challenge ' }
97+ Seuraava { isRecipes ? 'esimerkki ' : 'haaste ' }
9898 < IconArrowSmall displayDirection = "right" className = "block ml-1.5" />
9999 </ Button >
100100 ) }
@@ -104,12 +104,12 @@ export function Challenge({
104104 { showSolution && (
105105 < div className = "mt-6" >
106106 < h3 className = "text-2xl font-bold text-primary dark:text-primary-dark" >
107- Solution
107+ Ratkaisu
108108 </ h3 >
109109 { currentChallenge . solution }
110110 < div className = "flex justify-between items-center mt-4" >
111111 < Button onClick = { ( ) => setShowSolution ( false ) } >
112- Close solution
112+ Sulje ratkaisu
113113 </ Button >
114114 { hasNextChallenge && (
115115 < Button
@@ -118,7 +118,7 @@ export function Challenge({
118118 ) }
119119 onClick = { handleClickNextChallenge }
120120 active >
121- Next Challenge
121+ Seuraava haaste
122122 < IconArrowSmall
123123 displayDirection = "right"
124124 className = "block ml-1.5"
0 commit comments