-
Notifications
You must be signed in to change notification settings - Fork 388
enhancement: translated home page #909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@slorber could you check PR? |
I'm not the manager of this repo and don't speak russian, I can't do anything for you sorry 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done!
@titovmx Привет. Можешь чекнуть ПР? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
привет! оставил свои предложения
ещё я думаю, что не нужно пушить файлы idea в репу, так как переводчики могут пользоваться разными инструментами |
@Zukhrik спасибо за перевод! |
@titovmx когда посетил ру.реакт.дев увидел что главная страница не переведена на русский и сразу же начал переводить. После создание ПРа узнаю что надо писать в странице с переводом. Я думал ПР так и будет висеть и ни кто не чекнит. Спасибо за ревью Максим. Скоро апдейтну ПР |
Здравствуйте @titovmx. Можете еще раз чекнуть ПР? |
@Zukhrik спасибо за вклад в перевод и правки! я посмотрю в ближайшие дни |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
спасибо за обновления!
заметил, что несколько проблем осталось
@titovmx Прошу чекнуть ПР еще раз. Спасибо за ревью 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за вклад!
LGTM now
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 Three Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this. |
@titovmx Здравствуйте хотелось узнать когда ПР будет в продакшине. |
@@ -133,74 +133,78 @@ export function HomeContent() { | |||
size="lg" | |||
className="w-full sm:w-auto justify-center" | |||
label="Learn React"> | |||
Learn React | |||
Учить React |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Как насчёт «Изучить React» вместо «Учить React»? Второй вариант звучит как калька и немного режет слух.
</ButtonLink> | ||
</div> | ||
</div> | ||
|
||
<Section background="left-card"> | ||
<Center> | ||
<Header>Create user interfaces from components</Header> | ||
<Header> | ||
Создание пользовательских интерфейсов из компонентов |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Как вам вариант: «Создавайте интерфейсы из компонентов»? Звучит чуть плавнее, смысл сохраняется.
<Code>Video</Code>. Then combine them into entire screens, pages, | ||
and apps. | ||
React позволяет создавать пользовательские интерфейсы из отдельных | ||
частей компонента. Создайте свой React-компонент из таких как{' '} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Немного неточно передана суть оригинала.
В английском варианте “individual pieces called components” акцент на отдельных частях, называемых компонентами.
Предлагаю переформулировать как:
«React позволяет создавать пользовательские интерфейсы из отдельных частей, называемых компонентами» — так ближе к исходному смыслу.
learning programming. | ||
Компоненты React — это функции JavaScript. Хотите показать | ||
содержимое при некотором условии? Используйте оператор{' '} | ||
<Code>if</Code>. Показать список? Попробуйте массив{' '} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Дословный перевод «Показать список? Попробуйте массив map()» звучит немного топорно.
Предлагаю адаптировать:
«Хотите вывести список? Используйте метод массива{' '} map()
» — звучит естественнее и понятнее.
related rendering logic makes React components easy to create, | ||
maintain, and delete. | ||
Этот синтаксис разметки называется JSX. Это расширение | ||
JavaScript-синтаксиса, которое предлагает React. Размещение |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Размещение разметки JSX с логикой рендеринга" - звучит тяжеловато, хотя и передает суть и точность перевода.
Предлагаю упростить:
"Совмещение JSX и логики рендера"
you fetch data in asynchronous components that run on the server | ||
or even during the build. Read data from a file or a database, and | ||
pass it down to your interactive components. | ||
React — это также архитектура. Фреймворки, которые её реализуют, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Формулировку «React — это также архитектура» можно упростить и сделать разговорнее.
Например: «React — это еще и архитектура» — звучит легче и естественнее.
your interfaces feel just right on every platform. | ||
Люди любят веб и нативные приложения по разным причинам. React | ||
позволяет создавать как веб, так и нативные приложения, | ||
используя один и те же навыки. Он опирается на уникальные |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Формулировка «Он опирается на уникальные сильные стороны каждой платформы» звучит суховато и перегружена.
Предлагаю упростить и сделать ее более естественной:
«Он использует сильные стороны каждой платформы, чтобы интерфейсы выглядели и ощущались естественно».
iOS и более. Они выглядят и ощущаются как нативные, | ||
потому что их интерфейс <i>является</i> действительно | ||
нативным. Это не веб — ваши React-компоненты | ||
транслируются в реальные компоненты платформ Andoid и |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опечатка в слове "Andoid".
Верно "Android"
@@ -491,15 +504,14 @@ export function HomeContent() { | |||
<div className="mt-20 px-5 lg:px-0 mb-6 max-w-4xl text-center text-opacity-80"> | |||
<Logo className="text-link dark:text-link-dark w-24 lg:w-28 mb-10 lg:mb-8 mt-12 h-auto mx-auto self-start" /> | |||
<Header> | |||
Welcome to the <br className="hidden lg:inline" /> | |||
React community | |||
Добро пожаловать в <br className="ne" />в React-сообщество |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Дублируется предлог "в". Нужно убрать лишний
approaches become a part of React. | ||
Команда React всегда исследует, как улучшить React. | ||
Некоторые исследования окупаются годами. React имеет высокую | ||
планку за воплощение исследовательской идеи в производство. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Формулировка «React имеет высокую планку за воплощение исследовательской идеи в производство» звучит громоздко и неестественно.
Предлагаю переформулировать, сохранив суть, но сделать фразу живее:
«В React высокая планка для переноса исследовательских идей в продакшен».
или
«React внедряет только тщательно проверенные исследовательские идеи»
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за проделанную работу.
Обратил внимание на несколько ошибок и предложил альтернативные формулировки перевода.
Перевод главной страницы