diff --git a/public/docs/ts/latest/cookbook/_data.json b/public/docs/ts/latest/cookbook/_data.json index c833fa8e32..0ec519c8ac 100644 --- a/public/docs/ts/latest/cookbook/_data.json +++ b/public/docs/ts/latest/cookbook/_data.json @@ -8,11 +8,11 @@ "a1-a2-quick-reference": { "title": "Angular从1到2快速参考", "navTitle": "Angular从1到2快速参考", - "intro": "学习如何把Angular 1的概念和技术对应到Angular 2" + "intro": "学习如何把Angular 1中的概念和技术对应到Angular 2中" }, "component-communication": { - "title": "组件交互", + "title": "组件通讯", "intro": "在不同的指令和组件之间共享信息" }, "dependency-injection": { diff --git a/public/docs/ts/latest/cookbook/component-communication.jade b/public/docs/ts/latest/cookbook/component-communication.jade index 33358e1b27..42c5c940cb 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 2eb26990d1..406e48e0ae 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 391a5a8512..96ed1cf4fa 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/set-document-title.jade b/public/docs/ts/latest/cookbook/set-document-title.jade index 21399f5a7b..e862ff19b0 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 01dd333ac1..cc5607c7f8 100644 --- a/public/docs/ts/latest/guide/index.jade +++ b/public/docs/ts/latest/guide/index.jade @@ -13,7 +13,7 @@ figure We are on a journey together to understand how Angular works and, more importantly, how to make it work for us. This overview begins the journey. - 在这次旅程中,我们将一起理解Angular是如何工作的,以及 —— 更重要的 —— 如何让它为我们工作。本概览就是这次旅程的起点。 + 在这次旅程中,我们将一起理解Angular是如何工作的,更重要的是,如何让它为我们工作。本概览就是这次旅程的起点。
// #enddocregion intro diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index b6f5e6b9fa..836bfa2b31 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -2003,8 +2003,8 @@ figure.image-display .l-main-section :marked - ## * and <template> - ## *与<template*> + ## `*` and <template> + ## `*`与<template*> When we reviewed the `NgFor`, `NgIf`, and `NgSwitch` built-in directives, we called out an oddity of the syntax: the asterisk (`*`) that appears before the directive names. 当我们审视`NgFor`、`NgIf`和`NgSwitch`内建指令时,我们使用了一种古怪的语法:出现在指令名称前面的星号(`*`)。