Skip to content

Commit dada68e

Browse files
INQTRgaearon
authored andcommitted
Added page translation: basics -> hello world (#2)
* Added page translation: basics -> hello world * hello-world: improvements * hello-world: fixes * hello-world: improvements * Update content/docs/hello-world.md Typo correction Co-Authored-By: ModPhoenix <[email protected]> * Update content/docs/hello-world.md Improvement Co-Authored-By: ModPhoenix <[email protected]> * Improved translation
1 parent a7aa8b5 commit dada68e

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

content/docs/hello-world.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ prev: cdn-links.html
66
next: introducing-jsx.html
77
---
88

9-
The smallest React example looks like this:
9+
Самый маленький пример на React выглядит так:
1010

1111
```js
1212
ReactDOM.render(
@@ -15,36 +15,34 @@ ReactDOM.render(
1515
);
1616
```
1717

18-
It displays a heading saying "Hello, world!" on the page.
18+
На странице появится заголовок «Hello, world!».
1919

2020
[](codepen://hello-world)
2121

22-
Click the link above to open an online editor. Feel free to make some changes, and see how they affect the output. Most pages in this guide will have editable examples like this one.
22+
По ссылке выше находится онлайн-редактор. Попробуйте отредактировать код и посмотрите, как изменится результат. Мы ещё увидим много таких интерактивных примеров.
2323

24+
## Как читать это руководство {#how-to-read-this-guide}
2425

25-
## How to Read This Guide {#how-to-read-this-guide}
26+
В этом руководстве мы рассмотрим строительные блоки React-приложений: элементы и компоненты. Освоив их, вы сможете создавать сложные приложения из маленьких повторно используемых частей.
2627

27-
In this guide, we will examine the building blocks of React apps: elements and components. Once you master them, you can create complex apps from small reusable pieces.
28-
29-
>Tip
28+
>Совет
3029
>
31-
>This guide is designed for people who prefer **learning concepts step by step**. If you prefer to learn by doing, check out our [practical tutorial](/tutorial/tutorial.html). You might find this guide and the tutorial complementary to each other.
30+
>Это руководство предназначено для людей, которые предпочитают **изучать базовые понятия шаг за шагом**. Если вы предпочитаете учиться на практике, ознакомьтесь с нашим [практическим учебником](/tutorial/tutorial.html). Учебник и руководство в чем-то дополняют друг друга.
3231
33-
This is the first chapter in a step-by-step guide about main React concepts. You can find a list of all its chapters in the navigation sidebar. If you're reading this from a mobile device, you can access the navigation by pressing the button in the bottom right corner of your screen.
32+
Это первая глава в пошаговом руководстве про основные понятия в React. Оглавление находится в боковой панели. Если вы читаете руководство с мобильного устройства, открыть навигационное меню можно, если нажать кнопку в правом нижнем углу экрана.
3433

35-
Every chapter in this guide builds on the knowledge introduced in earlier chapters. **You can learn most of React by reading the “Main Concepts” guide chapters in the order they appear in the sidebar.** For example, [“Introducing JSX](/docs/introducing-jsx.html) is the next chapter after this one.
34+
Каждая глава в этом руководстве опирается на знания из предыдущей. **Большую часть React можно изучить, прочитав главы руководства «Основные понятия» в том порядке, в котором они перечислены на боковой панели.** Например, [«Введение в JSX»](/docs/introducing-jsx.html) — следующая глава.
3635

37-
## Knowledge Level Assumptions {#knowledge-level-assumptions}
36+
## Необходимый уровень знаний {#knowledge-level-assumptions}
3837

39-
React is a JavaScript library, and so we'll assume you have a basic understanding of the JavaScript language. **If you don't feel very confident, we recommend [going through a JavaScript tutorial](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript) to check your knowledge level** and enable you to follow along this guide without getting lost. It might take you between 30 minutes and an hour, but as a result you won't have to feel like you're learning both React and JavaScript at the same time.
38+
React — это библиотека JavaScript, поэтому мы предполагаем, что у вас есть базовое понимание языка JavaScript. **Если вы чувствуете себя неуверенно, мы рекомендуем [прочесть введение в JavaScript](https://developer.mozilla.org/ru/docs/Web/JavaScript/A_re-introduction_to_JavaScript) для проверки своих знаний**; оно облегчит чтение руководства по React. Это займёт от 30 минут до часа, но в результате у вас не будет ощущения, что вы одновременно изучаете и React, и JavaScript.
4039

41-
>Note
40+
>Примечание
4241
>
43-
>This guide occasionally uses some of the newer JavaScript syntax in the examples. If you haven't worked with JavaScript in the last few years, [these three points](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) should get you most of the way.
44-
42+
>В примерах руководства иногда используются новый синтаксис JavaScript. Если вы не работали с JavaScript в последние несколько лет, [эти три пункта](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) должны помочь вам.
4543
46-
## Let's Get Started! {#lets-get-started}
44+
## Начинаем! {#lets-get-started}
4745

48-
Keep scrolling down, and you'll find the link to the [next chapter of this guide](/docs/introducing-jsx.html) right before the website footer.
46+
Прокрутите страницу немного ниже, чтобы перейти к [следующей главе руководства](/docs/introducing-jsx.html).
4947

5048

0 commit comments

Comments
 (0)