From 6576b1cd4063c68751afe20aaef2903409aa5659 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Thu, 5 Mar 2020 19:49:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E7=BA=BF=E4=BE=8B=E5=AD=90?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=8E=B0=E5=9C=BA=E6=BC=94=E7=BB=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/complex-animation-sequences.md | 2 +- aio/content/guide/dependency-injection-in-action.md | 2 +- aio/content/guide/reactive-forms.md | 2 +- aio/content/guide/router.md | 6 +++--- aio/content/guide/singleton-services.md | 4 ++-- aio/content/guide/template-syntax.md | 2 +- aio/content/guide/visual-studio-2015.md | 2 +- .../custom-elements/live-example/live-example.component.ts | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/aio/content/guide/complex-animation-sequences.md b/aio/content/guide/complex-animation-sequences.md index f888e6f2ac..4c2c7b02d8 100644 --- a/aio/content/guide/complex-animation-sequences.md +++ b/aio/content/guide/complex-animation-sequences.md @@ -60,7 +60,7 @@ The `stagger()` function allows you to define a timing gap between each queried The Filter/Stagger tab in the live example shows a list of heroes with an introductory sequence. The entire list of heroes cascades in, with a slight delay from top to bottom. -这个在线例子中的 Filter/Stagger 标签显示了一个带有前导序列的英雄列表。整个英雄列表会级联进入,从上到下逐个做轻微的延迟。 +这个现场演练中的 Filter/Stagger 标签显示了一个带有前导序列的英雄列表。整个英雄列表会级联进入,从上到下逐个做轻微的延迟。 The following example demonstrates how to use `query()` and `stagger()` functions on the entry of an animated element. diff --git a/aio/content/guide/dependency-injection-in-action.md b/aio/content/guide/dependency-injection-in-action.md index fabe8954e9..8fd1e930b4 100644 --- a/aio/content/guide/dependency-injection-in-action.md +++ b/aio/content/guide/dependency-injection-in-action.md @@ -192,7 +192,7 @@ The template displays this data-bound property. Find this example in live code and confirm that the three `HeroBioComponent` instances have their own cached hero data. -到在线例子中找到这个例子,确认三个 `HeroBioComponent` 实例拥有自己独立的英雄数据缓存。 +到现场演练中找到这个例子,确认三个 `HeroBioComponent` 实例拥有自己独立的英雄数据缓存。 @@ -179,7 +179,7 @@ This sequence ensures that whatever you add explicitly to the `AppModule` providers takes precedence over the providers of imported modules. -在这个 在线例子中,根模块 `AppModule` 导入了 `GreetingModule`,并把它的 `providers` 添加到了 `AppModule` 的服务提供商列表中。特别是,Angular 会把所有从其它模块导入的提供商追加到本模块的 `@NgModule.providers` 中列出的提供商之前。这种顺序可以确保你在 `AppModule` 的 `providers` 中显式列出的提供商,其优先级高于导入模块中给出的提供商。 +在这个 现场演练中,根模块 `AppModule` 导入了 `GreetingModule`,并把它的 `providers` 添加到了 `AppModule` 的服务提供商列表中。特别是,Angular 会把所有从其它模块导入的提供商追加到本模块的 `@NgModule.providers` 中列出的提供商之前。这种顺序可以确保你在 `AppModule` 的 `providers` 中显式列出的提供商,其优先级高于导入模块中给出的提供商。 The sample app imports `GreetingModule` and uses its `forRoot()` method one time, in `AppModule`. Registering it once like this prevents multiple instances. diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index 2f7f3337f4..a82f9735fb 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -27,7 +27,7 @@ It explains basic principles of the template language and describes most of the Many code snippets illustrate the points and concepts, all of them available in the . -这里还有很多代码片段用来解释技术点和概念,它们全都在中。 +这里还有很多代码片段用来解释技术点和概念,它们全都在中。 {@a html} diff --git a/aio/content/guide/visual-studio-2015.md b/aio/content/guide/visual-studio-2015.md index 52b046b569..3ad0b4a826 100644 --- a/aio/content/guide/visual-studio-2015.md +++ b/aio/content/guide/visual-studio-2015.md @@ -17,7 +17,7 @@ This cookbook describes the steps required to set up and use Angular app files i There is no *live example* for this cookbook because it describes Visual Studio, not the Angular application itself. It uses the starter Angular application created by the CLI command [`ng new`](cli/new) as an example. -本文中没有*在线例子*,因为它介绍的是 Visual Studio,而不是《快速上手》应用程序本身。它使用 CLI 命令 [`ng new`](cli/new) 创建的 Angular 入门应用作为例子。 +本文中没有*现场演练*,因为它介绍的是 Visual Studio,而不是《快速上手》应用程序本身。它使用 CLI 命令 [`ng new`](cli/new) 创建的 Angular 入门应用作为例子。 diff --git a/aio/src/app/custom-elements/live-example/live-example.component.ts b/aio/src/app/custom-elements/live-example/live-example.component.ts index 4a4321db32..27b652b036 100644 --- a/aio/src/app/custom-elements/live-example/live-example.component.ts +++ b/aio/src/app/custom-elements/live-example/live-example.component.ts @@ -120,7 +120,7 @@ export class LiveExampleComponent implements AfterContentInit { } private getTitle(attrs: AttrMap) { - return (getAttrValue(attrs, 'title') || '在线例子').trim(); + return (getAttrValue(attrs, 'title') || '现场演练').trim(); } private getZip(exampleDir: string, stackblitzName: string) {