diff --git a/public/docs/ts/latest/cookbook/component-communication.jade b/public/docs/ts/latest/cookbook/component-communication.jade index 885157ae3f..160b78c314 100644 --- a/public/docs/ts/latest/cookbook/component-communication.jade +++ b/public/docs/ts/latest/cookbook/component-communication.jade @@ -105,7 +105,7 @@ figure.image-display Use an input property setter to intercept and act upon a value from the parent. - 使用一个Input属性setter,在父级监听子级属性,并对属性值变化采取行动。 + 使用一个Input属性setter,在父级拦截子级属性,并对属性值变化采取行动。 The setter of the `name` input property in the child `NameChildComponent` trims the whitespace from a name and replaces an empty value with default text. @@ -152,7 +152,7 @@ figure.image-display :marked May prefer this approach to the property setter when watching multiple, interacting input properties. - 当监听多个互动Input属性的时候,本方法比属性setter更合适。 + 当监视多个互动Input属性的时候,本方法比属性setter更合适。 Learn about `ngOnChanges` in the [LifeCycle Hooks](../guide/lifecycle-hooks.html) chapter. diff --git a/public/docs/ts/latest/guide/displaying-data.jade b/public/docs/ts/latest/guide/displaying-data.jade index 04e0d0a695..37ec45a530 100644 --- a/public/docs/ts/latest/guide/displaying-data.jade +++ b/public/docs/ts/latest/guide/displaying-data.jade @@ -118,7 +118,7 @@ include ../_quickstart_repo We're ready to see changes in a running app by firing up the npm script that both compiles and serves our applications while watching for changes. - 通过运行npm脚本(它能编译并启动一个能监听变化的服务器),我们能看到运行中的应用发生的变化。 + 通过运行npm脚本(它能编译并启动一个能监视变化的服务器),我们能看到运行中的应用发生的变化。 code-example(format=""). npm start :marked diff --git a/public/docs/ts/latest/guide/forms.jade b/public/docs/ts/latest/guide/forms.jade index cdc6fb4998..88cc356b34 100644 --- a/public/docs/ts/latest/guide/forms.jade +++ b/public/docs/ts/latest/guide/forms.jade @@ -948,7 +948,7 @@ figure.image-display control* is valid. `NgForm`指令使用额外的特性扩充了`form`元素。 - 它保存我们通过`ngControl`属性为各个元素创建的控件类,并且监听它们的属性变化,包括有效性。 + 它保存我们通过`ngControl`属性为各个元素创建的控件类,并且监视它们的属性变化,包括有效性。 它还有自己的`valid`属性,只有当 *每一个被包含的控件* 都有效时,它才有效。 :marked diff --git a/public/docs/ts/latest/quickstart.jade b/public/docs/ts/latest/quickstart.jade index bb240304ee..1a88ea4497 100644 --- a/public/docs/ts/latest/quickstart.jade +++ b/public/docs/ts/latest/quickstart.jade @@ -192,7 +192,7 @@ a(id="package-json") * `npm start` - run the compiler and a server at the same time, both in "watch mode" - * `npm start` - 同时运行编译器和一个服务器,并且都开启"监听模式" + * `npm start` - 同时运行编译器和一个服务器,并且都开启"监视模式" * `npm run tsc` - run the TypeScript compiler once @@ -201,7 +201,7 @@ a(id="package-json") * `npm run tsc:w` - run the TypeScript compiler in watch mode; the process keeps running, awaiting changes to TypeScript files and re-compiling when it sees them. - * `npm run tsc:w` - 在监听模式运行TypeScript编译器: + * `npm run tsc:w` - 在监视模式运行TypeScript编译器: 进程持续运行,并等待TypeScript文件发生变化,一旦变化就重新编译它。 * `npm run lite` - run the lite-server, @@ -578,7 +578,7 @@ code-example(format=""). when working with observables. We added the library here in QuickStart so we don't forget later.//TODO this subsection needs to be moved for when we cover the systemjs.config.js - 我们的QuickStart不会用到响应式扩展,但是大量的应用需要它们来提供Observable(译注:响应式编程的核心特性,指监听数据的变更以便做出响应)特性。 + 我们的QuickStart不会用到响应式扩展,但是大量的应用需要它们来提供Observable(译注:响应式编程的核心特性,指监视数据的变更以便做出响应)特性。 我们把它加到QuickStart中,以免将来忘了。//TODO 当我们覆盖到systemjs.config.js时,我们得把这些内容移过去。 :marked @@ -760,7 +760,7 @@ figure.image-display They should detect the change, recompile the TypeScript into JavaScript, refresh the browser, and display the revised message. - TypeScript编译器和`lite-server`都在监听。 + TypeScript编译器和`lite-server`都在监视。 它们会检测到文件的变化,重新把这个TypeScript文件编译成JavaScript文件,刷新浏览器,并且显示修改过的消息。 It's a nifty way to develop an application! diff --git a/public/docs/ts/latest/tutorial/toh-pt1.jade b/public/docs/ts/latest/tutorial/toh-pt1.jade index 3333d5cdcd..6a61cad322 100644 --- a/public/docs/ts/latest/tutorial/toh-pt1.jade +++ b/public/docs/ts/latest/tutorial/toh-pt1.jade @@ -6,7 +6,7 @@ include ../_util-fns Every story starts somewhere. Our story starts where the [QuickStart](../quickstart.html) ends. - 每个故事,都有一个起点。而我们的故事则开始于[QuickStart](../quickstart.html)的结尾处。 + 每一个故事,都有一个起点。而我们的故事则开始于[QuickStart](../quickstart.html)的结尾处。 [Run the live example for part 1](/resources/live-examples/toh-1/ts/plnkr.html) @@ -15,7 +15,7 @@ include ../_util-fns Create a folder called `angular2-tour-of-heroes` and follow the [QuickStart](../quickstart.html) steps which provide the prerequisites, the folder structure, and the core files for our Tour of Heroes. - 创建一个名为`angular2-tour-of-heroes`的文件夹,并且遵循[QuickStart](../quickstart.html)中的步骤初始化它 —— 环境准备、目录结构,以及我们《英雄指南》的核心文件。 + 创建一个名为`angular2-tour-of-heroes`的文件夹,并且遵循[QuickStart](../quickstart.html)中的步骤初始化它 —— 环境准备、目录结构,并放进我们《英雄指南》的核心文件。 include ../_quickstart_repo :marked