Skip to content

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

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Zukhrik
Copy link

@Zukhrik Zukhrik commented Aug 10, 2023

Перевод главной страницы

@Zukhrik
Copy link
Author

Zukhrik commented Aug 11, 2023

@slorber could you check PR?

@slorber
Copy link
Contributor

slorber commented Aug 11, 2023

I'm not the manager of this repo and don't speak russian, I can't do anything for you sorry 😅

Copy link

@AbdullahWins AbdullahWins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done!

@Zukhrik
Copy link
Author

Zukhrik commented Sep 4, 2023

@titovmx Привет. Можешь чекнуть ПР?

Copy link
Collaborator

@titovmx titovmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

привет! оставил свои предложения

@titovmx
Copy link
Collaborator

titovmx commented Sep 8, 2023

ещё я думаю, что не нужно пушить файлы idea в репу, так как переводчики могут пользоваться разными инструментами

@titovmx
Copy link
Collaborator

titovmx commented Sep 8, 2023

@Zukhrik спасибо за перевод!
а почему выбрали эту страницу? она просто не была указана на странице с прогрессом, и я, честно, не знаю почему :)

@Zukhrik
Copy link
Author

Zukhrik commented Sep 18, 2023

@titovmx когда посетил ру.реакт.дев увидел что главная страница не переведена на русский и сразу же начал переводить. После создание ПРа узнаю что надо писать в странице с переводом. Я думал ПР так и будет висеть и ни кто не чекнит.

Спасибо за ревью Максим. Скоро апдейтну ПР

@Zukhrik
Copy link
Author

Zukhrik commented Sep 29, 2023

Здравствуйте @titovmx. Можете еще раз чекнуть ПР?

@Zukhrik Zukhrik requested a review from titovmx September 29, 2023 08:18
@titovmx
Copy link
Collaborator

titovmx commented Sep 29, 2023

@Zukhrik спасибо за вклад в перевод и правки! я посмотрю в ближайшие дни

Copy link
Collaborator

@titovmx titovmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

спасибо за обновления!
заметил, что несколько проблем осталось

@Zukhrik
Copy link
Author

Zukhrik commented Oct 27, 2023

@titovmx Прошу чекнуть ПР еще раз. Спасибо за ревью 😊

Copy link
Collaborator

@titovmx titovmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо за вклад!
LGTM now

Copy link

github-actions bot commented Nov 6, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 78.95 KB (🟡 +1.56 KB) 182.69 KB
/500 78.94 KB (🟡 +1.56 KB) 182.69 KB
/[[...markdownPath]] 80.54 KB (🟡 +1.56 KB) 184.28 KB
Details

Only 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 next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

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.

@Zukhrik
Copy link
Author

Zukhrik commented Nov 29, 2023

@titovmx Здравствуйте хотелось узнать когда ПР будет в продакшине.

@@ -133,74 +133,78 @@ export function HomeContent() {
size="lg"
className="w-full sm:w-auto justify-center"
label="Learn React">
Learn React
Учить React
Copy link
Contributor

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>
Создание пользовательских интерфейсов из компонентов
Copy link
Contributor

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-компонент из таких как{' '}
Copy link
Contributor

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>. Показать список? Попробуйте массив{' '}
Copy link
Contributor

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. Размещение
Copy link
Contributor

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 — это также архитектура. Фреймворки, которые её реализуют,
Copy link
Contributor

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
позволяет создавать как веб, так и нативные приложения,
используя один и те же навыки. Он опирается на уникальные
Copy link
Contributor

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 и
Copy link
Contributor

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-сообщество
Copy link
Contributor

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 имеет высокую
планку за воплощение исследовательской идеи в производство.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Формулировка «React имеет высокую планку за воплощение исследовательской идеи в производство» звучит громоздко и неестественно.
Предлагаю переформулировать, сохранив суть, но сделать фразу живее:
«В React высокая планка для переноса исследовательских идей в продакшен».
или
«React внедряет только тщательно проверенные исследовательские идеи»

Copy link
Contributor

@dimatitov dimatitov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо за проделанную работу.
Обратил внимание на несколько ошибок и предложил альтернативные формулировки перевода.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants