@@ -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 ? 'Primer ' : 'Izazov ' } { currentChallenge . order } od { ' ' }
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 = "me-2" onClick = { toggleHint } active = { showHint } >
65
65
< IconHint className = "me-1.5" /> { ' ' }
66
- { showHint ? 'Hide hint ' : 'Show hint ' }
66
+ { showHint ? 'Sakrij pomoć ' : 'Prikaži pomoć ' }
67
67
</ Button >
68
68
< Button
69
69
className = "me-2"
70
70
onClick = { toggleSolution }
71
71
active = { showSolution } >
72
72
< IconSolution className = "me-1.5" /> { ' ' }
73
- { showSolution ? 'Hide solution ' : 'Show solution ' }
73
+ { showSolution ? 'Sakrij rešenje ' : 'Prikaži rešenje ' }
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 = "me-1.5" /> { ' ' }
83
- { showSolution ? 'Hide solution ' : 'Show solution ' }
83
+ { showSolution ? 'Sakrij rešenje ' : 'Prikaži rešenje ' }
84
84
</ Button >
85
85
)
86
86
) }
@@ -94,7 +94,7 @@ export function Challenge({
94
94
) }
95
95
onClick = { handleClickNextChallenge }
96
96
active >
97
- Next { isRecipes ? 'Example ' : 'Challenge ' }
97
+ Sledeći { isRecipes ? 'primer ' : 'izazov ' }
98
98
< IconArrowSmall displayDirection = "end" className = "block ms-1.5" />
99
99
</ Button >
100
100
) }
@@ -104,12 +104,12 @@ export function Challenge({
104
104
{ showSolution && (
105
105
< div className = "mt-6" >
106
106
< h3 className = "text-2xl font-bold text-primary dark:text-primary-dark" >
107
- Solution
107
+ Rešenje
108
108
</ h3 >
109
109
{ currentChallenge . solution }
110
110
< div className = "flex justify-between items-center mt-4" >
111
111
< Button onClick = { ( ) => setShowSolution ( false ) } >
112
- Close solution
112
+ Zatvori rešenje
113
113
</ Button >
114
114
{ hasNextChallenge && (
115
115
< Button
@@ -118,7 +118,7 @@ export function Challenge({
118
118
) }
119
119
onClick = { handleClickNextChallenge }
120
120
active >
121
- Next Challenge
121
+ Sledeći izazov
122
122
< IconArrowSmall
123
123
displayDirection = "end"
124
124
className = "block ms-1.5"
0 commit comments