Skip to content

Commit b6abefc

Browse files
authored
Merge pull request #406 from itsba2/reacting-to-input-with-state-tr
Translate Reacting to Input with State
2 parents decfc54 + 823fe07 commit b6abefc

File tree

10 files changed

+214
-214
lines changed

10 files changed

+214
-214
lines changed

src/components/Layout/Toc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function Toc({headings}: {headings: Toc}) {
1616
<nav role="navigation" className="pt-20 sticky top-0 right-0">
1717
{headings.length > 0 && (
1818
<h2 className="mb-3 lg:mb-3 uppercase tracking-wide font-bold text-sm text-secondary dark:text-secondary-dark px-4 w-full">
19-
On this page
19+
Bu sayfada
2020
</h2>
2121
)}
2222
<div

src/components/MDX/Challenges/Challenge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function Challenge({
116116
)}
117117
onClick={handleClickNextChallenge}
118118
active>
119-
Sonraki problem
119+
Sonraki Problem
120120
<IconArrowSmall
121121
displayDirection="right"
122122
className="block ml-1.5"

src/components/MDX/MDXComponents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ function AuthorCredit({
193193
<div className="sr-only group-hover:not-sr-only group-focus-within:not-sr-only hover:sr-only">
194194
<p className="bg-card dark:bg-card-dark text-center text-sm text-secondary dark:text-secondary-dark leading-tight dark:text-secondary-dark p-2 rounded-lg absolute left-1/2 -top-4 -translate-x-1/2 -translate-y-full group-hover:flex group-hover:opacity-100 after:content-[''] after:absolute after:left-1/2 after:top-[95%] after:-translate-x-1/2 after:border-8 after:border-x-transparent after:border-b-transparent after:border-t-card after:dark:border-t-card-dark opacity-0 transition-opacity duration-300">
195195
<cite>
196-
Illustrated by{' '}
197196
{authorLink ? (
198197
<a
199198
target="_blank"
@@ -204,7 +203,8 @@ function AuthorCredit({
204203
</a>
205204
) : (
206205
author
207-
)}
206+
)}{' '}
207+
tarafından görselleştirilmiştir.
208208
</cite>
209209
</p>
210210
</div>

src/components/MDX/Sandpack/CustomPreset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const SandboxShell = memo(function SandboxShell({
119119
className="inline mr-1.5 text-xl"
120120
displayDirection={isExpanded ? 'up' : 'down'}
121121
/>
122-
{isExpanded ? 'Show less' : 'Show more'}
122+
{isExpanded ? 'Daha az göster' : 'Daha fazla göster'}
123123
</span>
124124
</button>
125125
)}

src/components/MDX/Sandpack/DownloadButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ ${css}
9898
<button
9999
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1"
100100
onClick={downloadHTML}
101-
title="Download Sandbox"
101+
title="Sandbox'ı İndir"
102102
type="button">
103-
<IconDownload className="inline mr-1" /> Download
103+
<IconDownload className="inline mr-1" /> İndir
104104
</button>
105105
);
106106
}

src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const OpenInCodeSandboxButton = () => {
99
return (
1010
<UnstyledOpenInCodeSandboxButton
1111
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1 ml-2 md:ml-1"
12-
title="Open in CodeSandbox">
12+
title="CodeSandbox'ta Aç">
1313
<IconNewPage
1414
className="inline ml-1 mr-1 relative top-[1px]"
1515
width="1em"

src/components/MDX/Sandpack/ResetButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export function ResetButton({onReset}: ResetButtonProps) {
1313
<button
1414
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1"
1515
onClick={onReset}
16-
title="Reset Sandbox"
16+
title="Sandbox'ı Sıfırla"
1717
type="button">
18-
<IconRestart className="inline ml-1 mr-1 relative" /> Reset
18+
<IconRestart className="inline ml-1 mr-1 relative" /> Sıfırla
1919
</button>
2020
);
2121
}

src/content/learn/reacting-to-input-with-state.md

Lines changed: 200 additions & 200 deletions
Large diffs are not rendered by default.

src/sidebarLearn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"tags": ["intermediate"],
127127
"routes": [
128128
{
129-
"title": "Reacting to Input with State",
129+
"title": "Girdiye State ile Reaksiyon Verme",
130130
"path": "/learn/reacting-to-input-with-state"
131131
},
132132
{

src/utils/prepareMDX.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function getTableOfContents(children, depth) {
6565
if (anchors.length > 0) {
6666
anchors.unshift({
6767
url: '#',
68-
text: 'Overview',
68+
text: 'Genel Bakış',
6969
depth: 2,
7070
});
7171
}
@@ -88,13 +88,13 @@ function extractHeaders(children, depth, out) {
8888
header = {
8989
url: '#challenges',
9090
depth: 2,
91-
text: 'Challenges',
91+
text: 'Problemler',
9292
};
9393
} else if (child.type === 'Recap') {
9494
header = {
9595
url: '#recap',
9696
depth: 2,
97-
text: 'Recap',
97+
text: 'Özet',
9898
};
9999
} else if (child.type === 'TeamMember') {
100100
header = {

0 commit comments

Comments
 (0)