File tree Expand file tree Collapse file tree 8 files changed +28
-29
lines changed Expand file tree Collapse file tree 8 files changed +28
-29
lines changed Original file line number Diff line number Diff line change 8
8
9
9
module . exports = {
10
10
siteMetadata : {
11
- title : 'React: A JavaScript library for building user interfaces ' ,
11
+ title : 'React: JavaScript-библиотека для создания пользовательских интерфейсов ' ,
12
12
siteUrl : 'https://reactjs.org' ,
13
13
rssFeedTitle : 'React' ,
14
- rssFeedDescription : 'A JavaScript library for building user interfaces ' ,
14
+ rssFeedDescription : 'JavaScript-библиотека для создания пользовательских интерфейсов ' ,
15
15
} ,
16
16
mapping : {
17
17
'MarkdownRemark.frontmatter.author' : 'AuthorYaml' ,
Original file line number Diff line number Diff line change @@ -56,12 +56,11 @@ class CodeEditor extends Component {
56
56
if ( showBabelErrorMessage ) {
57
57
errorMessage = (
58
58
< span >
59
- Babel could not be loaded .
59
+ Не получилось загрузить Babel .
60
60
< br />
61
61
< br />
62
- This can be caused by an ad blocker. If you're using one, consider
63
- adding reactjs.org to the whitelist so the live code examples will
64
- work.
62
+ Это может быть связано с блокировщиком рекламы. Если вы используете один из них,
63
+ добавьте адрес reactjs.org в белый список, чтобы примеры кода заработали.
65
64
</ span >
66
65
) ;
67
66
} else if ( error != null ) {
@@ -99,7 +98,7 @@ class CodeEditor extends Component {
99
98
color : colors . white ,
100
99
} } >
101
100
< MetaTitle onDark = { true } >
102
- Live JSX Editor
101
+ Интерактивный JSX-редактор
103
102
< label
104
103
css = { {
105
104
fontSize : 14 ,
@@ -169,7 +168,7 @@ class CodeEditor extends Component {
169
168
cssProps = { {
170
169
color : colors . white ,
171
170
} } >
172
- Error
171
+ Ошибка
173
172
</ MetaTitle >
174
173
</ div >
175
174
< pre
@@ -200,7 +199,7 @@ class CodeEditor extends Component {
200
199
padding : '0 10px' ,
201
200
backgroundColor : colors . divider ,
202
201
} } >
203
- < MetaTitle > Result </ MetaTitle >
202
+ < MetaTitle > Результат </ MetaTitle >
204
203
</ div >
205
204
< div
206
205
id = { containerNodeID }
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class CodeExample extends Component {
61
61
{ loaded ? (
62
62
< CodeEditor code = { code } containerNodeID = { containerNodeID } />
63
63
) : (
64
- < h4 > Loading code example ...</ h4 >
64
+ < h4 > Загрузка примера с кодом ...</ h4 >
65
65
) }
66
66
</ div >
67
67
) ;
Original file line number Diff line number Diff line change @@ -69,16 +69,16 @@ function ErrorResult(props: {|code: ?string, msg: string|}) {
69
69
if ( ! code ) {
70
70
return (
71
71
< p >
72
- When you encounter an error, you'll receive a link to this page for that
73
- specific error and we'll show you the full error text .
72
+ Когда происходит ошибка, вы получите ссылку на эту страницу.
73
+ На ней вы увидите полный текст конкретной ошибки .
74
74
</ p >
75
75
) ;
76
76
}
77
77
78
78
return (
79
79
< div >
80
80
< p >
81
- < b > The full text of the error you just encountered is :</ b >
81
+ < b > Полный текст обнаруженной ошибки :</ b >
82
82
</ p >
83
83
< code >
84
84
< b > { urlify ( errorMsg ) } </ b >
Original file line number Diff line number Diff line change @@ -90,19 +90,19 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
90
90
href = "https://discuss.reactjs.org"
91
91
target = "_blank"
92
92
rel = "noopener" >
93
- Discussion Forum
93
+ Форум
94
94
</ ExternalFooterLink >
95
95
< ExternalFooterLink
96
96
href = "https://discord.gg/0ZcbPKXt5bZjGY5n"
97
97
target = "_blank"
98
98
rel = "noopener" >
99
- Reactiflux Chat
99
+ Чат Reactiflux
100
100
</ ExternalFooterLink >
101
101
< ExternalFooterLink
102
102
href = "https://dev.to/t/react"
103
103
target = "_blank"
104
104
rel = "noopener" >
105
- DEV Community
105
+ Сообщество на DEV
106
106
</ ExternalFooterLink >
107
107
< ExternalFooterLink
108
108
href = "https://www.facebook.com/react"
@@ -128,11 +128,11 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
128
128
) ) }
129
129
</ FooterNav >
130
130
< FooterNav layoutHasSidebar = { layoutHasSidebar } >
131
- < MetaTitle onDark = { true } > More </ MetaTitle >
132
- < FooterLink to = "/tutorial/tutorial.html" > Tutorial </ FooterLink >
133
- < FooterLink to = "/blog/" > Blog </ FooterLink >
131
+ < MetaTitle onDark = { true } > Дополнительно </ MetaTitle >
132
+ < FooterLink to = "/tutorial/tutorial.html" > Учебник </ FooterLink >
133
+ < FooterLink to = "/blog/" > Блог </ FooterLink >
134
134
< FooterLink to = "/acknowledgements.html" >
135
- Acknowledgements
135
+ Благодарности
136
136
</ FooterLink >
137
137
< ExternalFooterLink
138
138
href = "https://facebook.github.io/react-native/"
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ class DocSearch extends Component<{}, State> {
104
104
} }
105
105
id = "algolia-doc-search"
106
106
type = "search"
107
- placeholder = "Search docs "
108
- aria-label = "Search docs "
107
+ placeholder = "Поиск "
108
+ aria-label = "Поиск "
109
109
/>
110
110
</ form >
111
111
) : null ;
Original file line number Diff line number Diff line change 8
8
import Helmet from 'react-helmet' ;
9
9
import React from 'react' ;
10
10
11
- const defaultDescription = 'A JavaScript library for building user interfaces ' ;
11
+ const defaultDescription = 'JavaScript-библиотека для создания пользовательских интерфейсов ' ;
12
12
13
13
type Props = {
14
14
title : string ,
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class Home extends Component {
51
51
return (
52
52
< Layout location = { location } >
53
53
< TitleAndMetaTags
54
- title = "React – A JavaScript library for building user interfaces "
54
+ title = "React – JavaScript-библиотека для создания пользовательских интерфейсов "
55
55
ogUrl = { createOgUrl ( 'index.html' ) }
56
56
/>
57
57
< div css = { { width : '100%' } } >
@@ -134,7 +134,7 @@ class Home extends Component {
134
134
fontSize : 30 ,
135
135
} ,
136
136
} } >
137
- A JavaScript library for building user interfaces
137
+ JavaScript-библиотека для создания пользовательских интерфейсов
138
138
</ p >
139
139
< Flex
140
140
valign = "center"
@@ -149,12 +149,12 @@ class Home extends Component {
149
149
< ButtonLink
150
150
to = "/docs/getting-started.html"
151
151
type = "primary" >
152
- Get Started
152
+ Начать работу
153
153
</ ButtonLink >
154
154
</ CtaItem >
155
155
< CtaItem >
156
156
< ButtonLink to = "/tutorial/tutorial.html" type = "secondary" >
157
- Take the Tutorial
157
+ Перейти к учебнику
158
158
</ ButtonLink >
159
159
</ CtaItem >
160
160
</ Flex >
@@ -286,12 +286,12 @@ class Home extends Component {
286
286
< Flex valign = "center" >
287
287
< CtaItem >
288
288
< ButtonLink to = "/docs/getting-started.html" type = "primary" >
289
- Get Started
289
+ Начать работу
290
290
</ ButtonLink >
291
291
</ CtaItem >
292
292
< CtaItem >
293
293
< ButtonLink to = "/tutorial/tutorial.html" type = "secondary" >
294
- Take the Tutorial
294
+ Перейти к учебнику
295
295
</ ButtonLink >
296
296
</ CtaItem >
297
297
</ Flex >
You can’t perform that action at this time.
0 commit comments