From 886f7da931ee41c4cdf970331e2775c05fe6058d Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Thu, 22 Mar 2018 17:30:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=8A=E7=83=B9=E9=A5=AA=E4=B9=A6?= =?UTF-8?q?=E6=8D=A2=E6=88=90=E7=83=B9=E9=A5=AA=E5=AE=9D=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/change-log.md | 12 ++++++------ aio/content/guide/form-validation.md | 2 +- aio/content/guide/reactive-forms.md | 2 +- aio/content/guide/security.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/aio/content/guide/change-log.md b/aio/content/guide/change-log.md index 4ef036f7a5..dc82bc2dad 100644 --- a/aio/content/guide/change-log.md +++ b/aio/content/guide/change-log.md @@ -13,7 +13,7 @@ Angular 的文档将持续不断的更新和改进。本日志记录了近期最 ## All mention of moduleId removed. "Component relative paths" guide deleted (2017-03-13) -## 移除了所有的 moduleId 引用。移除了“组件相对路径” 的烹饪书。(2017-03-13) +## 移除了所有的 moduleId 引用。移除了“组件相对路径” 的指南。(2017-03-13) We added a new SystemJS plugin (systemjs-angular-loader.js) to our recommended SystemJS configuration. This plugin dynamically converts "component-relative" paths in templateUrl and styleUrls to "absolute paths" for you. @@ -332,14 +332,14 @@ Docs and code samples updated and tested with Angular v.2.1.0. ## NEW "Ahead of time (AOT) Compilation" guide (2016-10-11) -## 添加了新的“预编译(AOT)"烹饪书(2016-10-11) +## 添加了新的“预编译(AOT)" 指南(2016-10-11) The NEW [Ahead of time (AOT) Compilation](guide/aot-compiler) guide explains what AOT compilation is and why you'd want it. It demonstrates the basics with a QuickStart app followed by the more advanced considerations of compiling and bundling the Tour of Heroes. -全新[预编译(AOT)](guide/aot-compiler)烹饪书介绍了什么是 AOT 编译和为何你需要它。 +全新[预编译(AOT)](guide/aot-compiler)指南介绍了什么是 AOT 编译和为何你需要它。 它以**快速上手**应用程序开始讲解,接着介绍了编译和构建**英雄指南**的更高级的注意事项。 ## Sync with Angular v.2.0.2 (2016-10-6) @@ -365,16 +365,16 @@ All guided samples with routing use the _Routing Module_ and prose content has b most conspicuously in the [NgModule](guide/ngmodules) guide and [NgModule FAQ](guide/ngmodule-faq) guide. -所有使用路由的例子都使用**路由模块**,相关内容也被更新。更新最多的是[Angular 模块(NgModule)](guide/ngmodules)章和[Angular 模块常见问题](guide/ngmodule-faq)烹饪书。 +所有使用路由的例子都使用**路由模块**,相关内容也被更新。更新最多的是[Angular 模块(NgModule)](guide/ngmodules)章和[Angular 模块常见问题](guide/ngmodule-faq)指南。 ## New "Internationalization" guide (2016-09-30) -## 全新“国际化”烹饪书(2016-09-30) +## 全新“国际化”指南(2016-09-30) Added a new [Internationalization (i18n)](guide/i18n) guide that shows how to use Angular "i18n" facilities to translate template text into multiple languages. -添加了新的[国际化(i18n)](guide/i18n)烹饪书,展示了如何使用 Angular 的“i18n”工具来讲模板文本翻译到多种语言。 +添加了新的[国际化(i18n)](guide/i18n)指南,展示了如何使用 Angular 的“i18n”工具来讲模板文本翻译到多种语言。 ## "angular-in-memory-web-api" package rename (2016-09-27) diff --git a/aio/content/guide/form-validation.md b/aio/content/guide/form-validation.md index f06f949dae..446c06794c 100644 --- a/aio/content/guide/form-validation.md +++ b/aio/content/guide/form-validation.md @@ -10,7 +10,7 @@ This page shows how to validate user input in the UI and display useful validati using both reactive and template-driven forms. It assumes some basic knowledge of the two forms modules. -在本烹饪书中,你展示在界面中如何验证用户输入,并显示有用的验证信息,先使用模板驱动表单方式,再使用响应式表单方式。 +本文展示了如何在界面中如何验证用户输入,并显示有用的验证信息,先使用模板驱动表单方式,再使用响应式表单方式。
diff --git a/aio/content/guide/reactive-forms.md b/aio/content/guide/reactive-forms.md index 9de3799d24..dfee75583b 100644 --- a/aio/content/guide/reactive-forms.md +++ b/aio/content/guide/reactive-forms.md @@ -308,7 +308,7 @@ In real apps, most form controls have both. This guide touches only briefly on `Validators`. For an in-depth look at them, read the [Form Validation](guide/form-validation) guide. -本章中只会接触 `Validators` 中的一点点,要想更深入的了解它们,请阅读烹饪宝典中的[表单验证](guide/form-validation)一章。 +本章中只会接触 `Validators` 中的一点点,要想更深入的了解它们,请阅读[表单验证](guide/form-validation)一章。
diff --git a/aio/content/guide/security.md b/aio/content/guide/security.md index 149595b4c8..2e8e7ed00e 100644 --- a/aio/content/guide/security.md +++ b/aio/content/guide/security.md @@ -218,7 +218,7 @@ For information about dynamically constructing forms in a safe way, see the 离线模板编译器阻止了一整套被称为“模板注入”的漏洞,并能显著增强应用程序的性能。尽量在产品发布时使用离线模板编译器, 而不要动态生成模板(比如在代码中拼接字符串生成模板)。由于 Angular 会信任模板本身的代码,所以,动态生成的模板 —— 特别是包含用户数据的模板 —— 会绕过 Angular 自带的保护机制。 -要了解如何用安全的方式动态创建表单,请参见[动态表单烹饪宝典](guide/dynamic-form)一章。 +要了解如何用安全的方式动态创建表单,请参见[动态表单](guide/dynamic-form)一章。 ### Server-side XSS protection