diff --git a/public/docs/_includes/_side-nav.jade b/public/docs/_includes/_side-nav.jade
index 7d30e89dd9..826f2389f1 100644
--- a/public/docs/_includes/_side-nav.jade
+++ b/public/docs/_includes/_side-nav.jade
@@ -95,7 +95,7 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
li(class="nav-list-item #{item.class}"): a(href="#{item.href}" title="#{item.tooltip}") #{item.navTitle}
.nav-blocks
- a(class="nav-title #{anyItemSelected(cookbook)}" href="#{cookbook[0].href}" title="#{cookbook[0].tooltip}") 烹饪书
+ a(class="nav-title #{anyItemSelected(cookbook)}" href="#{cookbook[0].href}" title="#{cookbook[0].tooltip}") 烹饪宝典
img(class="inline-arrow-down-svg" src="/resources/images/icons/ic_keyboard_arrow_down_black_24px.svg")
.nav-unordered-lists(class="#{isCollapsed(anyItemSelected(cookbook))}")
diff --git a/public/docs/js/latest/cookbook/ts-to-js.jade b/public/docs/js/latest/cookbook/ts-to-js.jade
index 1bb35cd106..ad87ccbce8 100644
--- a/public/docs/js/latest/cookbook/ts-to-js.jade
+++ b/public/docs/js/latest/cookbook/ts-to-js.jade
@@ -16,7 +16,7 @@ include ../../../../_includes/_util-fns
applications.
因为TypeScript是一个很受欢迎的Angular 2的语言选择,你在网络上和本站看到的很多代码例子
- 都是以TypeScript编写的。本烹饪书包含如何把这些代码编译到ES5的食谱,这样它们可以被应用
+ 都是以TypeScript编写的。本烹饪宝典包含如何把这些代码编译到ES5的食谱,这样它们可以被应用
到Angular 2的JavaScript应用程序里。
@@ -49,7 +49,7 @@ include ../../../../_includes/_util-fns
**Run and compare the live [TypeScript](/resources/live-examples/cb-ts-to-js/ts/plnkr.html) and
[JavaScript](/resources/live-examples/cb-ts-to-js/js/plnkr.html) code shown in this cookbook.**
- **运行并比较本烹饪书里面的在线[TypeScript](/resources/live-examples/cb-ts-to-js/ts/plnkr.html)和[JavaScript](/resources/live-examples/cb-ts-to-js/js/plnkr.html)代码**
+ **运行并比较本烹饪宝典里面的在线[TypeScript](/resources/live-examples/cb-ts-to-js/ts/plnkr.html)和[JavaScript](/resources/live-examples/cb-ts-to-js/js/plnkr.html)代码**
a(id="modularity")
.l-main-section
diff --git a/public/docs/ts/latest/cookbook/_data.json b/public/docs/ts/latest/cookbook/_data.json
index d119bcab5a..339a0e12e9 100644
--- a/public/docs/ts/latest/cookbook/_data.json
+++ b/public/docs/ts/latest/cookbook/_data.json
@@ -1,8 +1,8 @@
{
"index": {
- "title": "烹饪书",
+ "title": "烹饪宝典",
"navTitle": "概览",
- "description": "一组常见Angular应用场景的“烹饪书”"
+ "description": "一组常见Angular应用场景的“烹饪宝典”"
},
"a1-a2-quick-reference": {
diff --git a/public/docs/ts/latest/cookbook/component-communication.jade b/public/docs/ts/latest/cookbook/component-communication.jade
index 5b43ee1622..47471b1aca 100644
--- a/public/docs/ts/latest/cookbook/component-communication.jade
+++ b/public/docs/ts/latest/cookbook/component-communication.jade
@@ -5,7 +5,7 @@ include ../_util-fns
This cookbook contains recipes for common component communication scenarios
in which two or more components share information.
- 本烹饪书包含了常见的组件通讯场景,也就是让两个或多个组件之间共享信息的方法。
+ 本烹饪宝典包含了常见的组件通讯场景,也就是让两个或多个组件之间共享信息的方法。
.l-sub-section
:marked
diff --git a/public/docs/ts/latest/cookbook/dependency-injection.jade b/public/docs/ts/latest/cookbook/dependency-injection.jade
index 4ac2f67c5b..c0a9161128 100644
--- a/public/docs/ts/latest/cookbook/dependency-injection.jade
+++ b/public/docs/ts/latest/cookbook/dependency-injection.jade
@@ -4,7 +4,7 @@ include ../_util-fns
Dependency Injection is a powerful pattern for managing code dependencies.
In this cookbook we will explore many of the features of Dependency Injection (DI) in Angular.
- 依赖注入是一个用来管理代码依赖的强大模式。在这本“烹饪书”中,我们会讨论Angular依赖注入的许多特性。
+ 依赖注入是一个用来管理代码依赖的强大模式。在这本“烹饪宝典”中,我们会讨论Angular依赖注入的许多特性。
:marked
@@ -112,7 +112,7 @@ include ../_util-fns
**See the [live example](/resources/live-examples/cb-dependency-injection/ts/plnkr.html)**
of the code supporting this cookbook.
- 要获取本“烹饪书”的代码,**参见[在线例子](/resources/live-examples/cb-dependency-injection/ts/plnkr.html)**。
+ 要获取本“烹饪宝典”的代码,**参见[在线例子](/resources/live-examples/cb-dependency-injection/ts/plnkr.html)**。
.l-main-section
diff --git a/public/docs/ts/latest/cookbook/dynamic-form.jade b/public/docs/ts/latest/cookbook/dynamic-form.jade
index 39b253840a..3e0a87f80e 100644
--- a/public/docs/ts/latest/cookbook/dynamic-form.jade
+++ b/public/docs/ts/latest/cookbook/dynamic-form.jade
@@ -14,7 +14,7 @@ include ../_util-fns
It might evolve to support a much richer variety of questions, more graceful rendering, and superior user experience.
All such greatness has humble beginnings.
- 在此烹饪书中,我们会展示如何利用`ngFormModel`来动态渲染一个简单的表单,包括各种控件类型和验证规则。
+ 在此烹饪宝典中,我们会展示如何利用`ngFormModel`来动态渲染一个简单的表单,包括各种控件类型和验证规则。
这个起点很简陋,但我们可以在这个基础上添加丰富多彩的问卷问题、更优美的渲染以及更卓越的用户体验。
In our example we use a dynamic form to build an online application experience for heroes seeking employment.
diff --git a/public/docs/ts/latest/cookbook/index.jade b/public/docs/ts/latest/cookbook/index.jade
index c7342726a3..e587ec82f3 100644
--- a/public/docs/ts/latest/cookbook/index.jade
+++ b/public/docs/ts/latest/cookbook/index.jade
@@ -3,30 +3,30 @@ include ../_util-fns
// #docregion cookbook
:marked
# Angular 2 Cookbook
- # Angular 2 烹饪书
+ # Angular 2 烹饪宝典
The *Cookbook* offers answers to common implementation questions.
- 这本*“烹饪书”*提供了在实施中一些常见问题的答案。
+ 这本*“烹饪宝典”*提供了在实施中一些常见问题的答案。
Each cookbook chapter is a collection of recipes focused on a particular Angular 2 feature or application challenge
such as data binding, cross-component interaction, and communicating with a remote server via HTTP.
- 每个“烹饪书”章节都是一套“菜谱”,每套菜谱都聚焦于一个特定的Angular 2特性或者来自应用方面的挑战,比如数据绑定、跨组件通讯和通过HTTP与远程服务器交互等。
+ 每个“烹饪宝典”章节都是一套“菜谱”,每套菜谱都聚焦于一个特定的Angular 2特性或者来自应用方面的挑战,比如数据绑定、跨组件通讯和通过HTTP与远程服务器交互等。
.l-sub-section
:marked
The cookbook is just getting started. Many more recipes are on the way.
- 这本烹饪书只是一个开始。我们正在编写更多“烹饪书”。
+ 这本烹饪宝典只是一个开始。我们正在编写更多“菜谱”。
:marked
Each cookbook chapter links to a live sample with every recipe included.
- “烹饪书”中的每个章节都链接了一个在线例子,包含“菜谱”的完整代码。
+ “烹饪宝典”中的每个章节都链接了一个在线例子,包含“菜谱”的完整代码。
Recipes are deliberately brief and code-centric.
- 我们有意识的保持了“菜谱”的简洁,并以代码为中心。
+ 我们有意保持着“菜谱”的简洁,并坚持以代码为中心。
Each recipe links to a chapter of the Developer Guide or the API Guide
@@ -41,7 +41,7 @@ include ../_util-fns
The cookbook is a perpetual *work-in-progress*.
- 本“烹饪书”还在*持续建设中*。
+ 本“烹饪宝典”还在*持续建设中*。
We welcome feedback! Leave a comment by clicking the icon in upper right corner of the banner.
diff --git a/public/docs/ts/latest/cookbook/set-document-title.jade b/public/docs/ts/latest/cookbook/set-document-title.jade
index d84952de4b..e2e14d047b 100644
--- a/public/docs/ts/latest/cookbook/set-document-title.jade
+++ b/public/docs/ts/latest/cookbook/set-document-title.jade
@@ -5,7 +5,7 @@ a(id='top')
Our app should be able to make the browser title bar say whatever we want it to say.
This cookbook explains how to do it.
- 应用程序应该能让浏览器标题栏显示我们想让它显示的内容。本*烹饪书*解释怎么做。
+ 应用程序应该能让浏览器标题栏显示我们想让它显示的内容。本*烹饪宝典*解释怎么做。
:marked
**See the [live example](/resources/live-examples/cb-set-document-title/ts/plnkr.html)**.
diff --git a/public/docs/ts/latest/guide/index.jade b/public/docs/ts/latest/guide/index.jade
index 395df16390..96c3328016 100644
--- a/public/docs/ts/latest/guide/index.jade
+++ b/public/docs/ts/latest/guide/index.jade
@@ -74,7 +74,7 @@ table(width="100%")
tr(style=top)
td
p Cookbook
- p 烹饪书
+ p 烹饪宝典
td
:marked
Recipes for specific application challenges, mostly code snippets with a minimum of exposition.
diff --git a/public/docs/ts/latest/guide/server-communication.jade b/public/docs/ts/latest/guide/server-communication.jade
index e24020f77c..b2b7914601 100644
--- a/public/docs/ts/latest/guide/server-communication.jade
+++ b/public/docs/ts/latest/guide/server-communication.jade
@@ -3,21 +3,33 @@ block includes
- var _Http = 'Http'; // Angular `Http` library name.
- var _Angular_Http = 'Angular Http
'
- var _Angular_http_library = 'Angular HTTP library'
+ - var _Angular_http_libraryCn = 'Angular HTTP库'
:marked
[HTTP](https://tools.ietf.org/html/rfc2616) is the primary protocol for browser/server communication.
+
+ [HTTP](https://tools.ietf.org/html/rfc2616)是浏览器和服务器之间通讯的主要协议。
.l-sub-section
:marked
The [`WebSocket`](https://tools.ietf.org/html/rfc6455) protocol is another important communication technology;
we won't cover it in this chapter.
+
+ [`WebSocket`](https://tools.ietf.org/html/rfc6455)协议是另一种重要的通讯技术,但我们本章不会涉及它。
:marked
Modern browsers support two HTTP-based APIs:
[XMLHttpRequest (XHR)](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) and
[JSONP](https://en.wikipedia.org/wiki/JSONP). A few browsers also support
[Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
+ 现代浏览器支持两种基于HTTP的API:
+ [XMLHttpRequest (XHR)](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)和
+ [JSONP](https://en.wikipedia.org/wiki/JSONP)。少数浏览器还支持
+ [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)。
+
The !{_Angular_http_library} simplifies application programming of the **XHR** and **JSONP** APIs
as we'll learn in this chapter covering:
+
+ !{_Angular_http_libraryCn}简化了**XHR**和**JSONP**的编程,我们在本章中将学到
ul
li #[a(href="#http-client") HTTP client sample overview]
diff --git a/public/translate/cn/about.jade b/public/translate/cn/about.jade
index 6078a6c516..be971e2594 100644
--- a/public/translate/cn/about.jade
+++ b/public/translate/cn/about.jade
@@ -26,7 +26,7 @@
## 当前状态
目前:
- - “首页”、“快速起步”、“教程”、“基础知识”、“烹饪书”已经完成了翻译和校对。
+ - “首页”、“快速起步”、“教程”、“基础知识”、“烹饪宝典”已经完成了翻译和校对。
- “开发人员指南”正在翻译中。
- “API参考”尚未开始翻译。
- 由于技术限制,“API小抄”尚无法进行同步翻译,目前取的是rc.0版