fix: fine-tuning translation

This commit is contained in:
Zhicheng Wang 2018-05-16 13:08:17 +08:00
parent b6a0b06454
commit f5b24bf615
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ Transforming a component to a custom element makes all of the required Angular i
Custom elements bootstrap themselves - they start automatically when they are added to the DOM, and are automatically destroyed when removed from the DOM. Once a custom element is added to the DOM for any page, it looks and behaves like any other HTML element, and does not require any special knowledge of Angular terms or usage conventions.
自定义元素会自举启动 —— 它们在添加到 DOM 中时就会自动启动自己,并在从 DOM 中移除时自动销毁自己。一旦自定义元素添加到了任何页面的 DOM 中,它的外观和行为就和其它的 HTML 元素一样了,不需要对 Angular 的词汇或使用约定有任何特殊的了解。
自定义元素会自举启动 —— 它们在添加到 DOM 中时就会自动启动自己,并在从 DOM 中移除时自动销毁自己。一旦自定义元素添加到了任何页面的 DOM 中,它的外观和行为就和其它的 HTML 元素一样了,不需要对 Angular 的术语或使用约定有任何特殊的了解。
- <b>Easy dynamic content in an Angular app</b>

View File

@ -1093,7 +1093,7 @@ The *Submit* button is also disabled.
Not impressed? Think about it for a moment. What would you have to do to
wire the button's enable/disabled state to the form's validity without Angular's help?
没感吗?再想一会儿。如果没有 Angular `NgForm` 的帮助,又该怎么让按钮的禁用/启用状态和表单的有效性关联起来呢?
没感吗?再想一会儿。如果没有 Angular `NgForm` 的帮助,又该怎么让按钮的禁用/启用状态和表单的有效性关联起来呢?
For you, it was as simple as this: