Skip to content

Translation Fragments #120

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

Merged
merged 9 commits into from
Feb 20, 2019
Merged

Translation Fragments #120

merged 9 commits into from
Feb 20, 2019

Conversation

ntishkevich
Copy link
Collaborator

Добавил перевод "Fragments".

Я хотел бы предложить измненить div на <div> в предложении.
Оригинал:

Если использовать div как родительский элемент внутри метода render() компонента <Columns />, то полученный HTML будет невалидным.

Изменненый:

Если использовать <div> как родительский элемент внутри метода render() компонента <Columns />, то полученный HTML будет невалидным.

Потому, что в предыдущим предложении используется выделения для td. Имхо div не сливаться с обычным текстом в предложении.

<Columns /> должен вернуть несколько элементов <td>, чтобы получить валидный HTML.

Теперь к вопросу.
Мой вопрос заключается в том, что я не уверен, что ввариант перевода фразы

A common pattern in React is for a component to return multiple elements.

слегка деревянный, но ничего другого я не нашел. Есть ли у вас какие-нибудь идеи на этот счет?

@ntishkevich ntishkevich mentioned this pull request Feb 13, 2019
88 tasks
@another-guy another-guy added the needs review A pull request ready to be reviewed label Feb 13, 2019
@another-guy
Copy link
Collaborator

Касательно

A common pattern in React is for a component to return multiple elements.

слегка деревянный, но ничего другого я не нашел. Есть ли у вас какие-нибудь идеи на этот счет?

Если речь о том варианте, который я сейчас вижу (Возврат нескольких элементов из компонента является распространённой практикой в React), то тут всё в порядке.

Copy link
Collaborator

@another-guy another-guy left a comment

Choose a reason for hiding this comment

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

Апрув! Всего пара замечаний от меня по тексту.

Спасибо за перевод! 🎉

@another-guy another-guy removed their assignment Feb 20, 2019
another-guy and others added 2 commits February 20, 2019 12:03
Co-Authored-By: ntishkevich <Nikolai.Tishkevich@artezio.com>
Co-Authored-By: ntishkevich <Nikolai.Tishkevich@artezio.com>
@lex111 lex111 merged commit fe57aa6 into reactjs:master Feb 20, 2019
@lex111
Copy link
Member

lex111 commented Feb 20, 2019

@ntishkevich спасибо за перевод, а также @lfedorov и @gcor за ревью!

@another-guy another-guy added needs proofread A read-through is still needed to release the document and removed needs review A pull request ready to be reviewed labels Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs proofread A read-through is still needed to release the document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants