From 9a2dfde114d8be45ab0f3df6dc4a84e8ab0daace Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Mon, 24 Apr 2017 12:45:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/ts/latest/guide/_data.json | 8 ++++---- public/docs/ts/latest/guide/architecture.jade | 18 +++++++++--------- .../docs/ts/latest/guide/learning-angular.jade | 2 +- public/docs/ts/latest/guide/setup.jade | 6 ++++++ 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/public/docs/ts/latest/guide/_data.json b/public/docs/ts/latest/guide/_data.json index 0b703bea1a..62bb4b04ff 100644 --- a/public/docs/ts/latest/guide/_data.json +++ b/public/docs/ts/latest/guide/_data.json @@ -122,8 +122,8 @@ }, "deployment": { - "title": "Deployment", - "intro": "Learn how to deploy your Angular app." + "title": "部署", + "intro": "如何部署Angular应用。" }, "hierarchical-dependency-injection": { @@ -133,8 +133,8 @@ }, "reactive-forms": { - "title": "Reactive Forms", - "intro": "Create a reactive form using FormBuilder, groups, and arrays." + "title": "响应式表单", + "intro": "使用FormBuilder、组合数组创建响应式表单。" }, "server-communication": { diff --git a/public/docs/ts/latest/guide/architecture.jade b/public/docs/ts/latest/guide/architecture.jade index f0e5f10413..90b3fde7d7 100644 --- a/public/docs/ts/latest/guide/architecture.jade +++ b/public/docs/ts/latest/guide/architecture.jade @@ -5,8 +5,8 @@ block includes Angular is a framework for building client applications in HTML and either JavaScript or a language like TypeScript that compiles to JavaScript. - Angular 是一个用 HTML 和 JavaScript 或者一个可以编译成 JavaScript 的语言(例如 Dart 或者 TypeScript ),来构建客户端应用的框架。The framework consists of several libraries, some of them core and some optional. - + Angular 是一个用 HTML 和 JavaScript 或者一个可以编译成 JavaScript 的语言(例如 Dart 或者 TypeScript ),来构建客户端应用的框架。 + The framework consists of several libraries, some of them core and some optional. 该框架包括一系列库,有些是核心库,有些是可选库。 @@ -74,7 +74,7 @@ figure Learn these building blocks, and you're on your way. - 掌握了这些构造块,你就可以下山了! + 掌握了这些构造块,你就可以出师了! .l-sub-section p The code referenced on this page is available as a . @@ -266,7 +266,7 @@ figure It's easy to confuse the two systems because they share the common vocabulary of "imports" and "exports". Hang in there. The confusion yields to clarity with time and experience. - 这两个系统比较容易混淆,因为它们共享相同的词汇 “imports” 和 “exports”。先放一放,随着时间和经验的增长,自然就会清楚了。 + 这两个系统比较容易混淆,因为它们共享相同的词汇 “imports” 和 “exports”。不过没关系,先放一放,随着时间和经验的增长,自然就清楚了。 .l-sub-section :marked @@ -985,8 +985,8 @@ figure > [**路由器**](router.html):在应用程序客户端的页面间导航,并且不离开浏览器。 - :marked - > [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework - using the _Angular Testing Platform_. - - > [**测试**](testing.html):使用 _Angular 测试平台_,在你的应用部件与 Angular 框架交互时进行单元测试。 +:marked + > [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework + using the _Angular Testing Platform_. + + > [**测试**](testing.html):使用 _Angular 测试平台_,在你的应用部件与 Angular 框架交互时进行单元测试。 diff --git a/public/docs/ts/latest/guide/learning-angular.jade b/public/docs/ts/latest/guide/learning-angular.jade index 6e31778afa..1a646f4399 100644 --- a/public/docs/ts/latest/guide/learning-angular.jade +++ b/public/docs/ts/latest/guide/learning-angular.jade @@ -11,7 +11,7 @@ figure 每个人的学习方式不一样。 你不一定要通读文档。本站大部分页面都是独立的。 - Angular 初学者可能希望跟随下面流行的学习路径。 + Angular 初学者可能希望跟随下面的常见学习路径。
diff --git a/public/docs/ts/latest/guide/setup.jade b/public/docs/ts/latest/guide/setup.jade index ead5074fae..e00efaa097 100644 --- a/public/docs/ts/latest/guide/setup.jade +++ b/public/docs/ts/latest/guide/setup.jade @@ -61,6 +61,8 @@ code-example(language="sh" class="code-shell"). .alert.is-important :marked `npm start` fails in _Bash for Windows_ which does not support networking to servers as of January, 2017. + + 在*Bash for Windows*中`npm start`可能会失败,因为到2017-01为止它还不支持访问网络上的服务器。 a#download :marked @@ -83,6 +85,8 @@ code-example(language="sh" class="code-shell"). :marked `npm start` fails in _Bash for Windows_ which does not support networking to servers as of January, 2017. + 在*Bash for Windows*中`npm start`可能会失败,因为到2017-01为止它还不支持访问网络上的服务器。 + a#non-essential .l-main-section :marked @@ -108,6 +112,7 @@ a#non-essential 在项目目录下打开一个终端窗口,并根据你的操作系统执行以下命令: ### OS/X (bash) + code-example(language="sh" class="code-shell"). xargs rm -rf < non-essential-files.osx.txt rm src/app/*.spec*.ts @@ -115,6 +120,7 @@ code-example(language="sh" class="code-shell"). :marked ### Windows + code-example(language="sh" class="code-shell"). for /f %i in (non-essential-files.txt) do del %i /F /S /Q rd .git /s /q