Skip to content

Translate Warnings pages - #50

Merged
smikitky merged 17 commits into
reactjs:masterfrom
uehaj:warnings
Feb 18, 2019
Merged

Translate Warnings pages#50
smikitky merged 17 commits into
reactjs:masterfrom
uehaj:warnings

Conversation

@uehaj

@uehajuehaj commented Feb 3, 2019

Copy link
Copy Markdown
Contributor

This PR is part of Issue #4.
レビューお願いします。

一連の警告ページについては、タイトルは意図的に未訳にしてます。理由は、警告メッセージを体言止めとしてうまく翻訳できなかったためと、警告種別を識別するためのマーカーとしてタイトルが使われる意義があると感じたため。

例: 「Don't Call PropTypes Warning」 →「PropTypesを呼んではならない警告」にはせずに英文のまま。

そのかわり、本文の冒頭1文に、端的に意味がわかる一文を置くようにした。

また、懸念としては、これらの警告ページ群には本文からの明示的なリンクは存在しないので、検索クローラが到達できない可能性がある。また、Reactランタイムが生成する警告メッセージ中にはURLには英文版へのリンクしかふくまれない。そのために、利用者がこれらの警告ページの日本語版情報に到達することができないかもしれない。この問題を解決するには、(1)公式ドキュメントに英日などの言語切り替えのUIを付与する(2)ブラウザが送出するLangを見ての切り替え(3)警告ページに対するリンクが目次や本文から貼られる、な�どの対策のいずれかが必要と思われる。
ご意見求むです。

@smikitky
smikitky self-requested a review February 3, 2019 03:50
@smikitky

Copy link
Copy Markdown
Member

とりあえずまだ textlint がこけているようですのでご確認お願いします。

@tesseralistesseralis mentioned this pull request Feb 3, 2019
90 tasks
@uehaj

uehaj commented Feb 3, 2019

Copy link
Copy Markdown
ContributorAuthor

とりあえずまだ textlint がこけているようですのでご確認お願いします。

ご指摘ありがとございます。textlint通るように修正してみました。

@smikitkysmikitky changed the title WIP: Translation WarningsTranslation WarningsFeb 4, 2019
@smikitkysmikitky changed the title Translation WarningsTranslate Warnings pagesFeb 4, 2019
@koba04
koba04 self-requested a review February 4, 2019 01:17

@potato4dpotato4d left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@uehaj
翻訳ありがとうございます!
細かな点以外でざっとですが、レビューしました!

Comment threadcontent/warnings/dont-call-proptypes.md Outdated
Comment threadcontent/warnings/dont-call-proptypes.md
Comment threadcontent/warnings/dont-call-proptypes.md
Comment threadcontent/warnings/dont-call-proptypes.md Outdated
Comment threadcontent/warnings/legacy-factories.md Outdated
Comment threadcontent/warnings/refs-must-have-owner.md Outdated
Comment threadcontent/warnings/unknown-prop.md Outdated
Comment threadcontent/warnings/unknown-prop.md Outdated
@koba04
koba04 removed their request for review February 4, 2019 09:41
Co-Authored-By: uehaj <59012+uehaj@users.noreply.github.com>
commented at review
Co-Authored-By: uehaj <59012+uehaj@users.noreply.github.com>
commented at review
Co-Authored-By: uehaj <59012+uehaj@users.noreply.github.com>
@uehaj

uehaj commented Feb 6, 2019

Copy link
Copy Markdown
ContributorAuthor

現時点(2/6 9:00)まで頂いたコメントについて、conversationが残っているもの以外はすべて反映済みです。

@koba04koba04 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@uehaj 細かいスタイル系の修正がほとんどですが確認お願いします 🙇

Comment threadcontent/warnings/dont-call-proptypes.md Outdated
Comment threadcontent/warnings/dont-call-proptypes.md Outdated
Comment threadcontent/warnings/invalid-aria-prop.md Outdated
Comment threadcontent/warnings/invalid-aria-prop.md
Comment threadcontent/warnings/refs-must-have-owner.md Outdated
Comment threadcontent/warnings/refs-must-have-owner.md
Comment threadcontent/warnings/special-props.md
Comment threadcontent/warnings/unknown-prop.md Outdated
Comment threadcontent/warnings/unknown-prop.md Outdated
@smikitky

Copy link
Copy Markdown
Member

@uehaj もう残っているのは翻訳ではなくコンフリクト解決などの作業だけなので、もしよろしければこちらで引き取って必要な作業を終えてしまいますが、どうしましょうか?

Co-Authored-By: uehaj <59012+uehaj@users.noreply.github.com>
Co-Authored-By: uehaj <59012+uehaj@users.noreply.github.com>
@uehaj

Copy link
Copy Markdown
ContributorAuthor

@smikitky 残っているのはコンフリクト解決のみになりました。マージをお願いできればと思います。

@smikitky
smikitky merged commit 7ad7ffe into reactjs:masterFeb 18, 2019
@smikitky

smikitky commented Feb 18, 2019

Copy link
Copy Markdown
Member

翻訳自体は(ごく小さな訳語統一などを除き)問題ないのでマージしました。スペースやlintやアンカー文字列など小さな問題が残っていますがこちらで対応します。ありがとうございました!

Sign up for freeto 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.

4 participants

@uehaj@smikitky@koba04@potato4d