Skip to content

Commit c8b75df

Browse files
committed
Translate the Tic-Tac-Toe tutorial introduction
Ports and refines the translation proposed in #354.\n\nCo-authored-by: Dawka <dawkabaymbaa27@gmail.com>
1 parent 10326f6 commit c8b75df

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/components/Layout/HomeContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export function HomeContent() {
151151
type="primary"
152152
size="lg"
153153
className="w-full sm:w-auto justify-center"
154-
label="Learn React">
154+
label="React сурах">
155155
React сурах
156156
</ButtonLink>
157157
<ButtonLink

src/components/MDX/ExpandableCallout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const variantMap = {
4343
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
4444
},
4545
note: {
46-
title: 'Note',
46+
title: 'Зөвлөмж',
4747
Icon: IconNote,
4848
containerClasses:
4949
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
---
2-
title: 'Tutorial: Tic-Tac-Toe'
2+
title: 'Хичээл: Tic-Tac-Toe'
33
---
44

55
<Intro>
66

7-
You will build a small tic-tac-toe game during this tutorial. This tutorial does not assume any existing React knowledge. The techniques you'll learn in the tutorial are fundamental to building any React app, and fully understanding it will give you a deep understanding of React.
7+
Энэ хичээлээр та жижиг хэмжээний tic-tac-toe тоглоом бүтээнэ. Уг хичээлийг үзэхэд React-ийн өмнөх мэдлэг шаардахгүй. Энд сурах арга техникүүд нь аливаа React апп бүтээх үндэс суурь бөгөөд тэдгээрийг бүрэн ойлгосноор React-ийн талаар гүнзгий ойлголттой болно.
88

99
</Intro>
1010

1111
<Note>
1212

13-
This tutorial is designed for people who prefer to **learn by doing** and want to quickly try making something tangible. If you prefer learning each concept step by step, start with [Describing the UI.](/learn/describing-the-ui)
13+
Энэ хичээл нь **хийж үзэнгээ сурахыг** илүүд үздэг, бодит зүйл хурдан бүтээж туршихыг хүсдэг хүмүүст зориулагдсан. Хэрэв та ойлголт бүрийг алхам алхмаар сурахыг илүүд үздэг бол [UI дүрслэх нь](/learn/describing-the-ui) хэсгээс эхлээрэй.
1414

1515
</Note>
1616

17-
The tutorial is divided into several sections:
17+
Хичээл хэд хэдэн хэсгээс бүрдэнэ:
1818

19-
- [Setup for the tutorial](#setup-for-the-tutorial) will give you **a starting point** to follow the tutorial.
20-
- [Overview](#overview) will teach you **the fundamentals** of React: components, props, and state.
21-
- [Completing the game](#completing-the-game) will teach you **the most common techniques** in React development.
22-
- [Adding time travel](#adding-time-travel) will give you **a deeper insight** into the unique strengths of React.
19+
- [Хичээлийн бэлтгэл](#setup-for-the-tutorial) хэсгээс хичээлийг дагаж хийх **эхлэх цэгээ** авна.
20+
- [Ерөнхий тойм](#overview) хэсгээс React-ийн компонент, проп болон төлөв зэрэг **суурь ойлголтуудыг** сурна.
21+
- [Тоглоомыг гүйцээх](#completing-the-game) хэсгээс React хөгжүүлэлтэд хэрэглэгддэг **хамгийн түгээмэл арга техникүүдийг** сурна.
22+
- [Цаг хугацаагаар аялуулах боломж нэмэх](#adding-time-travel) хэсгээс React-ийн онцгой давуу талуудын талаар **илүү гүнзгий ойлголт** авна.
2323

24-
### What are you building? {/*what-are-you-building*/}
24+
### Та юу бүтээх вэ? {/*what-are-you-building*/}
2525

26-
In this tutorial, you'll build an interactive tic-tac-toe game with React.
26+
Энэ хичээлээр та React ашиглан интерактив tic-tac-toe тоглоом бүтээнэ.
2727

28-
You can see what it will look like when you're finished here:
28+
Дууссаны дараа тоглоом ямар харагдахыг эндээс үзэж болно:
2929

3030
<Sandpack>
3131

src/sidebarLearn.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Learn React",
2+
"title": "React сурах",
33
"path": "/learn",
44
"routes": [
55
{
@@ -11,7 +11,7 @@
1111
"path": "/learn",
1212
"routes": [
1313
{
14-
"title": "Tutorial: Tic-Tac-Toe",
14+
"title": "Хичээл: Tic-Tac-Toe",
1515
"path": "/learn/tutorial-tic-tac-toe"
1616
},
1717
{

0 commit comments

Comments
 (0)