Skip to content
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

Translate web-components.md #102

Merged
merged 6 commits into from
Feb 13, 2019

Conversation

Naturalclar
Copy link
Contributor

@Naturalclar Naturalclar commented Feb 9, 2019

This PR is part of #4
Translated web-components.md to Japanese.

@smikitky smikitky added the 🚫 in intial review 初期レビューの真っ最中 label Feb 9, 2019
Copy link
Member

@smikitky smikitky left a comment

Choose a reason for hiding this comment

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

微修正のみです。Web Components は複数形にすべきか単数形にすべきか迷いますが、明らかに capitalize されているので固有名詞に準じる扱いということで複数形で残す方向でいいでしょうかね。

content/docs/web-components.md Outdated Show resolved Hide resolved
content/docs/web-components.md Outdated Show resolved Hide resolved
content/docs/web-components.md Outdated Show resolved Hide resolved
content/docs/web-components.md Outdated Show resolved Hide resolved
@smikitky smikitky removed the 🚫 in intial review 初期レビューの真っ最中 label Feb 9, 2019
content/docs/web-components.md Outdated Show resolved Hide resolved
@tesseralis tesseralis mentioned this pull request Feb 9, 2019
90 tasks
@Naturalclar
Copy link
Contributor Author

レビューありがとうございます!指摘箇所を修正いたしました:bow:

@smikitky
Copy link
Member

smikitky commented Feb 9, 2019

迅速な対応ありがとうございます!

Copy link
Member

@koba04 koba04 left a comment

Choose a reason for hiding this comment

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

@Naturalclar 一点だけ訳語の統一のルールと異なる箇所があったのでご確認お願いします 🙏

>
> Web Components often expose an imperative API. For instance, a `video` Web Component might expose `play()` and `pause()` functions. To access the imperative APIs of a Web Component, you will need to use a ref to interact with the DOM node directly. If you are using third-party Web Components, the best solution is to write a React component that behaves as a wrapper for your Web Component.
> Web Components はよく命令形の API を公開しています。例えば、`video` という Web Component `play()` `pause()` といった関数を公開しているかもしれません。Web Component が使う命令形の API にアクセスするには DOM ノードと直接やり取りするために ref を使う必要があります。サードパーティ製の Web Components を使用している場合は、Web Component の Wrapper として機能する React のコンポーネントを作成するのがベストな選択でしょう。
Copy link
Member

Choose a reason for hiding this comment

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

訳語の統一より

https://github.com/reactjs/ja.reactjs.org/wiki/%E8%A8%B3%E8%AA%9E%E3%81%AE%E7%B5%B1%E4%B8%80

Suggested change
> Web Components はよく命令形の API を公開しています。例えば、`video` という Web Component が `play()``pause()` といった関数を公開しているかもしれません。Web Component が使う命令形の API にアクセスするには DOM ノードと直接やり取りするために ref を使う必要があります。サードパーティ製の Web Components を使用している場合は、Web Component の Wrapper として機能する React のコンポーネントを作成するのがベストな選択でしょう。
> Web Components はよく命令型の API を公開しています。例えば、`video` という Web Component が `play()``pause()` といった関数を公開しているかもしれません。Web Component が使う命令型の API にアクセスするには DOM ノードと直接やり取りするために ref を使う必要があります。サードパーティ製の Web Components を使用している場合は、Web Component の Wrapper として機能する React のコンポーネントを作成するのがベストな選択でしょう。

Copy link
Member

Choose a reason for hiding this comment

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

あと同じ行の"Wrapper"も「ラッパ」に変えていただいてよいでしょうか

Copy link
Contributor Author

Choose a reason for hiding this comment

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

レビューありがとうございます、指摘箇所を修正致しました!:bow:

@Naturalclar
Copy link
Contributor Author

ルール改正されたTextLintを走らせました:bow:

@koba04 koba04 merged commit ec073ba into reactjs:master Feb 13, 2019
@koba04
Copy link
Member

koba04 commented Feb 13, 2019

@Naturalclar mergeしました! 🚀🚀🚀 ありがとうございます!! 🎉🎉

@Naturalclar Naturalclar deleted the translate/web-components branch February 13, 2019 04:15
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.

3 participants