-
Notifications
You must be signed in to change notification settings - Fork 141
tutorial/toh-pt6.md の翻訳 #64
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
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
lacolaco
left a comment
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.
レビューしました。いくつかの部分で修正をお願いします
aio-ja/content/tutorial/toh-pt6.md
Outdated
| * ユーザーは名前でヒーロー情報を検索できます。 | ||
|
|
||
| When you're done with this page, the app should look like this <live-example></live-example>. | ||
| このページを終えたとき、このアプリは次のようになります。<live-example></lib-example> |
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.
ミスですか?
aio-ja/content/tutorial/toh-pt6.md
Outdated
| * open the root `AppModule`, | ||
| * import the `HttpClientModule` symbol from `@angular/common/http`, | ||
| * add it to the `@NgModule.imports` array. | ||
| * ルート`AppModule`を開く |
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.
ルートの に修正していただけますか?
aio-ja/content/tutorial/toh-pt6.md
Outdated
| * `@NgModule.imports`の配列に`HttpClientModule`を追加 | ||
|
|
||
| ## Simulate a data server | ||
| ## データサーバーをシミュレート |
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.
シミュレートする に修正お願いします
aio-ja/content/tutorial/toh-pt6.md
Outdated
| </code-example> | ||
|
|
||
| ### Get heroes with _HttpClient_ | ||
| ### _HttpClient_を使ってヒーローを取得 |
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.
取得する に修正お願いします
aio-ja/content/tutorial/toh-pt6.md
Outdated
|
|
||
| The `HeroService` methods will **tap** into the flow of observable values | ||
| and send a message (via `log()`) to the message area at the bottom of the page. | ||
| `HeroService`のメソットはObservableな値の流れに入り込んで、(`log()`を通して)ページ下部にメッセージを送信します。 |
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.
メソッド
aio-ja/content/tutorial/toh-pt6.md
Outdated
| `AsyncPipe`は自動的に`Observable`をsubscribeするので、コンポーネントクラスで何もする必要はありません。 | ||
|
|
||
| ### Fix the _HeroSearchComponent_ class | ||
| ### _HeroSearchComponent_クラスの修正 |
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.
を修正する
aio-ja/content/tutorial/toh-pt6.md
Outdated
| <code-example path="toh-pt6/src/app/hero-search/hero-search.component.ts" title="src/app/hero-search/hero-search.component.ts"></code-example> | ||
|
|
||
| Notice the declaration of `heroes$` as an `Observable` | ||
| `heroes$`の宣言が`Observable`であることに注意 |
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.
注意しましょう
aio-ja/content/tutorial/toh-pt6.md
Outdated
| <code-example path="toh-pt6/src/app/hero.service.ts" region="deleteHero" title="src/app/hero.service.ts (削除)"></code-example> | ||
|
|
||
| Note that | ||
| 下記に注目 |
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.
注目しましょう
aio-ja/content/tutorial/toh-pt6.md
Outdated
| {@a search-pipe} | ||
|
|
||
| ### Chaining RxJS operators | ||
| ### RxJSオペレーターのチェーン |
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.
チェーン -> 連結
aio-ja/content/tutorial/toh-pt6.md
Outdated
| It cancels and discards previous search observables, returning only the latest search service observable. | ||
|
|
||
| * `switchMap()`は`debounce`と`distinctUntilChanged`を通り抜けた各検索語について検索サービスを呼び出します。 | ||
| これは破棄された直前のobservableらをキャンセルして、最新の検索サービスのobservableのみを返却します。 |
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.
これはそれまでの検索のobservableをキャンセルし、最新の検索サービスのobservableだけを返します
|
@lacolaco 修正いたしました! |
|
修正ありがとうございました! |
tutorial/top-ph6.mdの翻訳をしたので、レビューお願いしますm(_ _)m
issue: #58