From d6e2a8f6141ba248ee29b572ae4ecaca9ab1909c Mon Sep 17 00:00:00 2001 From: Chris Yu Date: Wed, 16 May 2018 17:22:40 +1000 Subject: [PATCH] fixed some translation errors and typo --- aio/content/guide/testing.md | 2 +- aio/content/tutorial/toh-pt3.md | 2 +- aio/content/tutorial/toh-pt4.md | 4 ++-- aio/tools/translator/dict-latest.json | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index 992ecb346c..53e27c901a 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -1053,7 +1053,7 @@ that wraps the _title_ property interpolation binding. You update the `beforeEach` to find that element with a standard HTML `querySelector` and assign it to the `h1` variable. -你要修改 `beforeEach` 来使用标准的 HTML `querySelector` 来找到钙元素,并把它赋值给 `h1` 变量。 +你要修改 `beforeEach` 来使用标准的 HTML `querySelector` 来找到该元素,并把它赋值给 `h1` 变量。 ` element near the bottom of the `HeroesComponent` temp Bind the `HeroesComponent.selectedHero` to the element's `hero` property like this. -把 `HeroesComponent.selectedHero` 绑定到钙元素的 `hero` 属性,就像这样: +把 `HeroesComponent.selectedHero` 绑定到该元素的 `hero` 属性,就像这样: diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index b2fd356cac..73bccb5a1a 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -371,8 +371,8 @@ In the [HTTP tutorial](tutorial/toh-pt6), you'll call `HttpClient.get()` The `HeroService.getHeroes` method used to return a `Hero[]`. Now it returns an `Observable`. -`HeroService.getHeroes` 方法用于返回一个 `Hero[]`, -目前它返回的是 `Observable`。 +`HeroService.getHeroes` 方法之前返回一个 `Hero[]`, +现在它返回的是 `Observable`。 You'll have to adjust to that difference in `HeroesComponent`. diff --git a/aio/tools/translator/dict-latest.json b/aio/tools/translator/dict-latest.json index 104980d623..0cdc42aa08 100644 --- a/aio/tools/translator/dict-latest.json +++ b/aio/tools/translator/dict-latest.json @@ -40808,7 +40808,7 @@ { "key": "YOUUPDATETHEBEFOREEACHTOFINDTHATELEMENTWITHASTANDARDHTMLQUERYSELECTORANDASSIGNITTOTHEH1VARIABLE", "original": "You update the `beforeEach` to find that element with a standard HTML `querySelector`\nand assign it to the `h1` variable.", - "translation": "你要修改 `beforeEach` 来使用标准的 HTML `querySelector` 来找到钙元素,并把它赋值给 `h1` 变量。", + "translation": "你要修改 `beforeEach` 来使用标准的 HTML `querySelector` 来找到该元素,并把它赋值给 `h1` 变量。", "sourceFile": "/Users/twer/private/GDE/angular-cn/aio/content/guide/testing.md" }, { @@ -50756,7 +50756,7 @@ { "key": "BINDTHEHEROESCOMPONENTSELECTEDHEROTOTHEELEMENTSHEROPROPERTYLIKETHIS", "original": "Bind the `HeroesComponent.selectedHero` to the element's `hero` property like this.", - "translation": "把 `HeroesComponent.selectedHero` 绑定到钙元素的 `hero` 属性,就像这样:", + "translation": "把 `HeroesComponent.selectedHero` 绑定到该元素的 `hero` 属性,就像这样:", "sourceFile": "/Users/twer/private/GDE/angular-cn/aio/content/tutorial/toh-pt3.md" }, { @@ -51242,7 +51242,7 @@ { "key": "THEHEROSERVICEGETHEROESMETHODUSEDTORETURNAHERONOWITRETURNSANOBSERVABLEHERO", "original": "The `HeroService.getHeroes` method used to return a `Hero[]`.\nNow it returns an `Observable`.", - "translation": "`HeroService.getHeroes` 方法用于返回一个 `Hero[]`,\n目前它返回的是 `Observable`。", + "translation": "`HeroService.getHeroes` 方法之前返回一个 `Hero[]`,\n现在它返回的是 `Observable`。", "sourceFile": "/Users/twer/private/GDE/angular-cn/aio/content/tutorial/toh-pt4.md" }, {