翻译完了NgModule FAQ

少量错别字修改
This commit is contained in:
Zhicheng Wang 2016-09-17 11:45:56 +08:00
parent 79ca5433f5
commit 50f73986be
5 changed files with 624 additions and 45 deletions

View File

@ -668,7 +668,7 @@ table(width="100%")
Angular 2 also has **style binding**, which is good way to set a single style. This is shown in the second example. Angular 2 also has **style binding**, which is good way to set a single style. This is shown in the second example.
Angualr 2还有**样式绑定**语法,它是单独设置一个样式的好方法。它展示在第二个例子中。 Angular 2还有**样式绑定**语法,它是单独设置一个样式的好方法。它展示在第二个例子中。
For more information on style binding, see [Template Syntax](../guide/template-syntax.html#style-binding). For more information on style binding, see [Template Syntax](../guide/template-syntax.html#style-binding).

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,7 @@ figure
:marked :marked
Angular apps are modular and Angular has its own modularity system called _Angular modules_ or _NgModules_. Angular apps are modular and Angular has its own modularity system called _Angular modules_ or _NgModules_.
Angualr应用是模块化的并且Angular有自己的模块系统它被称为_Angular模块_或_NgModules_。 Angular应用是模块化的并且Angular有自己的模块系统它被称为_Angular模块_或_NgModules_。
_Angular modules_ are a big deal. _Angular modules_ are a big deal.
This page introduces modules; the [Angular modules](ngmodule.html) page covers them in depth. This page introduces modules; the [Angular modules](ngmodule.html) page covers them in depth.

View File

@ -814,7 +814,7 @@ figure
for downgraded components. It has to do with input or output names that consist for downgraded components. It has to do with input or output names that consist
of multiple words. In Angular 2 we would bind these attributes using camelCase: of multiple words. In Angular 2 we would bind these attributes using camelCase:
为降级过的组件使用Angualr 2的属性(Attribute)语法规则时有一个值得注意的例外。 为降级过的组件使用Angular 2的属性(Attribute)语法规则时有一个值得注意的例外。
它适用于由多个单词组成的输入或输出属性。在Angular 2中我们要使用小驼峰命名法绑定这些属性 它适用于由多个单词组成的输入或输出属性。在Angular 2中我们要使用小驼峰命名法绑定这些属性
code-example(format=""). code-example(format="").
[myHero]="hero" [myHero]="hero"

View File

@ -317,7 +317,7 @@ h1#root-component 步骤3创建组件并添加到应用中
Components are the basic building blocks of Angular applications. A component controls a portion Components are the basic building blocks of Angular applications. A component controls a portion
of the screen—a *view*—through its associated template. of the screen—a *view*—through its associated template.
组件是Angualr应用的基本构造块。每个组件都会通过与它相关的模板来控制屏幕上的一小块视图 组件是Angular应用的基本构造块。每个组件都会通过与它相关的模板来控制屏幕上的一小块视图
a#app-component a#app-component
p. p.