diff --git a/gatsby-config.js b/gatsby-config.js
index 456396f92..fd713328b 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -8,10 +8,10 @@
module.exports = {
siteMetadata: {
- title: 'React: A JavaScript library for building user interfaces',
+ title: 'React: JavaScript-библиотека для создания пользовательских интерфейсов',
siteUrl: 'https://reactjs.org',
rssFeedTitle: 'React',
- rssFeedDescription: 'A JavaScript library for building user interfaces',
+ rssFeedDescription: 'JavaScript-библиотека для создания пользовательских интерфейсов',
},
mapping: {
'MarkdownRemark.frontmatter.author': 'AuthorYaml',
diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js
index 6e42fff7e..b271a8c79 100644
--- a/src/components/CodeEditor/CodeEditor.js
+++ b/src/components/CodeEditor/CodeEditor.js
@@ -56,12 +56,11 @@ class CodeEditor extends Component {
if (showBabelErrorMessage) {
errorMessage = (
- Babel could not be loaded.
+ Не получилось загрузить Babel.
- This can be caused by an ad blocker. If you're using one, consider
- adding reactjs.org to the whitelist so the live code examples will
- work.
+ Это может быть связано с блокировщиком рекламы. Если вы используете один из них,
+ добавьте адрес reactjs.org в белый список, чтобы примеры кода заработали.
);
} else if (error != null) {
@@ -99,7 +98,7 @@ class CodeEditor extends Component {
color: colors.white,
}}>
-Result +Результат ) : ( -Loading code example...
+Загрузка примера с кодом...
)} ); diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index d179a09be..ce43b3646 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,8 +69,8 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { if (!code) { return (- When you encounter an error, you'll receive a link to this page for that - specific error and we'll show you the full error text. + Когда происходит ошибка, вы получите ссылку на эту страницу. + На ней вы увидите полный текст конкретной ошибки.
); } @@ -78,7 +78,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (- The full text of the error you just encountered is: + Полный текст обнаруженной ошибки:
{urlify(errorMsg)} diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index bca76aac6..2f6668da4 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -90,19 +90,19 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( href="https://discuss.reactjs.org" target="_blank" rel="noopener"> - Discussion Forum + Форум
- Reactiflux Chat + Чат Reactiflux - DEV Community + Сообщество на DEV ( ))} - More -Tutorial -Blog +Дополнительно +Учебник +Блог - Acknowledgements + Благодарности { }} id="algolia-doc-search" type="search" - placeholder="Search docs" - aria-label="Search docs" + placeholder="Поиск" + aria-label="Поиск" /> ) : null; diff --git a/src/components/TitleAndMetaTags/TitleAndMetaTags.js b/src/components/TitleAndMetaTags/TitleAndMetaTags.js index 37dc325bf..6c8172c35 100644 --- a/src/components/TitleAndMetaTags/TitleAndMetaTags.js +++ b/src/components/TitleAndMetaTags/TitleAndMetaTags.js @@ -8,7 +8,7 @@ import Helmet from 'react-helmet'; import React from 'react'; -const defaultDescription = 'A JavaScript library for building user interfaces'; +const defaultDescription = 'JavaScript-библиотека для создания пользовательских интерфейсов'; type Props = { title: string, diff --git a/src/pages/index.js b/src/pages/index.js index bc2d732fd..50e5c03b0 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -51,7 +51,7 @@ class Home extends Component { return ( @@ -134,7 +134,7 @@ class Home extends Component { fontSize: 30, }, }}> - A JavaScript library for building user interfaces + JavaScript-библиотека для создания пользовательских интерфейсов- Get Started + Начать работу @@ -286,12 +286,12 @@ class Home extends Component {- Take the Tutorial + Перейти к учебнику - Get Started + Начать работу - Take the Tutorial + Перейти к учебнику