From f397bf66086bf8201f36ff90fee5eb96f9595786 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Wed, 11 May 2016 14:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E2=80=9CLive=20Example=20=E9=B2=9C?= =?UTF-8?q?=E6=B4=BB=E8=8C=83=E4=BE=8B=E2=80=9D=E7=BB=9F=E4=B8=80=E8=AF=91?= =?UTF-8?q?=E6=88=90=E2=80=9C=E5=9C=A8=E7=BA=BF=E4=BE=8B=E5=AD=90=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/ts/latest/guide/architecture.jade | 2 +- public/docs/ts/latest/guide/dependency-injection.jade | 2 +- public/docs/ts/latest/guide/displaying-data.jade | 2 +- public/docs/ts/latest/guide/forms.jade | 2 +- public/docs/ts/latest/guide/index.jade | 4 ++-- public/docs/ts/latest/guide/template-syntax.jade | 2 +- public/docs/ts/latest/guide/user-input.jade | 2 +- public/docs/ts/latest/quickstart.jade | 4 ++-- public/docs/ts/latest/tutorial/index.jade | 2 +- public/docs/ts/latest/tutorial/toh-pt1.jade | 4 ++-- public/docs/ts/latest/tutorial/toh-pt2.jade | 4 ++-- public/docs/ts/latest/tutorial/toh-pt3.jade | 4 ++-- public/docs/ts/latest/tutorial/toh-pt4.jade | 4 ++-- public/docs/ts/latest/tutorial/toh-pt5.jade | 4 ++-- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/public/docs/ts/latest/guide/architecture.jade b/public/docs/ts/latest/guide/architecture.jade index a2e18c59cd..de9b63b02a 100644 --- a/public/docs/ts/latest/guide/architecture.jade +++ b/public/docs/ts/latest/guide/architecture.jade @@ -60,7 +60,7 @@ figure :marked The code referenced in this chapter is available as a [live example](/resources/live-examples/architecture/ts/plnkr.html). - 本章所引用的代码可以在这个[鲜活范例](/resources/live-examples/architecture/ts/plnkr.html)中找到。 + 本章所引用的代码可以在这个[在线例子](/resources/live-examples/architecture/ts/plnkr.html)中找到。 .l-main-section :marked diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index 28683976de..84b4a8b616 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -20,7 +20,7 @@ include ../_util-fns :marked [Run the live example](/resources/live-examples/dependency-injection/ts/plnkr.html) - [运行鲜活范例](/resources/live-examples/dependency-injection/ts/plnkr.html) + [运行在线例子](/resources/live-examples/dependency-injection/ts/plnkr.html) // #docregion why-1 .l-main-section diff --git a/public/docs/ts/latest/guide/displaying-data.jade b/public/docs/ts/latest/guide/displaying-data.jade index 11fc5747c2..04e0d0a695 100644 --- a/public/docs/ts/latest/guide/displaying-data.jade +++ b/public/docs/ts/latest/guide/displaying-data.jade @@ -24,7 +24,7 @@ figure.image-display :marked [Run the live example](/resources/live-examples/displaying-data/ts/plnkr.html) - [运行鲜活范例](/resources/live-examples/displaying-data/ts/plnkr.html) + [运行在线例子](/resources/live-examples/displaying-data/ts/plnkr.html) .l-main-section diff --git a/public/docs/ts/latest/guide/forms.jade b/public/docs/ts/latest/guide/forms.jade index c540bbceee..cdc6fb4998 100644 --- a/public/docs/ts/latest/guide/forms.jade +++ b/public/docs/ts/latest/guide/forms.jade @@ -49,7 +49,7 @@ include ../_util-fns [Live Example](/resources/live-examples/forms/ts/plnkr.html) - [鲜活范例](/resources/live-examples/forms/ts/plnkr.html) + [在线例子](/resources/live-examples/forms/ts/plnkr.html) .l-main-section :marked ## Template-Driven Forms diff --git a/public/docs/ts/latest/guide/index.jade b/public/docs/ts/latest/guide/index.jade index bf39ebf289..d9e4d4685d 100644 --- a/public/docs/ts/latest/guide/index.jade +++ b/public/docs/ts/latest/guide/index.jade @@ -157,7 +157,7 @@ table(width="100%") Look for a link to a running version of that sample near the top of each page such as this [live example](/resources/live-examples/architecture/ts/plnkr.html) from the [Architecture](architecture.html) chapter. - 在每页靠近顶部的地方可以看到一个链接,指向这个范例的运行版本,比如[架构](architecture.html)一章中的[鲜活范例](/resources/live-examples/architecture/ts/plnkr.html)。 + 在每页靠近顶部的地方可以看到一个链接,指向这个范例的运行版本,比如[架构](architecture.html)一章中的[在线例子](/resources/live-examples/architecture/ts/plnkr.html)。 The link launches a browser-based code editor where we can inspect, modify, save, and download the code. @@ -171,7 +171,7 @@ table(width="100%") 少量早期的章节是作为教程来写的,并且被清晰地标注出来。 但大部分章节都不是教程。 它们的目的是展示代码中的关键点,而不是解释构建这个范例所需的每一个步骤。 - 我们总能从鲜活范例的链接找到完整的源代码。 + 我们总能从在线例子的链接找到完整的源代码。 ## References ## 参考资料 diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index b096f393bc..3cda50b68b 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -56,7 +56,7 @@ include ../_util-fns The [live example](/resources/live-examples/template-syntax/ts/plnkr.html) demonstrates all of the syntax and code snippets described in this chapter. - 这个[鲜活范例](/resources/live-examples/template-syntax/ts/plnkr.html)演示了本章中描述的所有语法和代码片段。 + 这个[在线例子](/resources/live-examples/template-syntax/ts/plnkr.html)演示了本章中描述的所有语法和代码片段。 // #docregion html-1 .l-main-section :marked diff --git a/public/docs/ts/latest/guide/user-input.jade b/public/docs/ts/latest/guide/user-input.jade index 16f1c99d68..b5f54d4f53 100644 --- a/public/docs/ts/latest/guide/user-input.jade +++ b/public/docs/ts/latest/guide/user-input.jade @@ -11,7 +11,7 @@ include ../_util-fns [Run the live example](/resources/live-examples/user-input/ts/plnkr.html) - [运行鲜活范例](/resources/live-examples/user-input/ts/plnkr.html) + [运行在线例子](/resources/live-examples/user-input/ts/plnkr.html) :marked ## Binding to user input events diff --git a/public/docs/ts/latest/quickstart.jade b/public/docs/ts/latest/quickstart.jade index 04fd499700..6d7f4041e1 100644 --- a/public/docs/ts/latest/quickstart.jade +++ b/public/docs/ts/latest/quickstart.jade @@ -21,7 +21,7 @@ include _util-fns which loads the sample app in plunker and displays a simple message: - 试试这个 鲜活范例 + 试试这个 在线例子 它将在plunker中加载这个范例,并显示一条简短的消息 figure.image-display @@ -636,7 +636,7 @@ code-example(format=""). In the live example on plunker we transpile (AKA compile) to JavaScript in the browser on the fly. That's fine for a demo. That's not our preference for development or production. - 在plunker上的鲜活范例(live example)中,我们在浏览器中随时转译(也可以叫编译)到JavaScript。对于范例来说,这足够了。 + 在plunker上的在线例子(live example)中,我们在浏览器中随时转译(也可以叫编译)到JavaScript。对于范例来说,这足够了。 但这并不是用在开发环境或产品环境中的推荐方式。 We recommend transpiling (AKA compiling) to JavaScript during a build phase diff --git a/public/docs/ts/latest/tutorial/index.jade b/public/docs/ts/latest/tutorial/index.jade index 439f219942..e394d340bd 100644 --- a/public/docs/ts/latest/tutorial/index.jade +++ b/public/docs/ts/latest/tutorial/index.jade @@ -48,7 +48,7 @@ include ../_util-fns :marked [Run the live example](/resources/live-examples/tutorial/ts/plnkr.html) - [运行鲜活范例](/resources/live-examples/tutorial/ts/plnkr.html) + [运行在线例子](/resources/live-examples/tutorial/ts/plnkr.html) // #docregion main .l-main-section diff --git a/public/docs/ts/latest/tutorial/toh-pt1.jade b/public/docs/ts/latest/tutorial/toh-pt1.jade index d8625856d4..3333d5cdcd 100644 --- a/public/docs/ts/latest/tutorial/toh-pt1.jade +++ b/public/docs/ts/latest/tutorial/toh-pt1.jade @@ -10,7 +10,7 @@ include ../_util-fns [Run the live example for part 1](/resources/live-examples/toh-1/ts/plnkr.html) - [运行第一部分的鲜活范例](/resources/live-examples/toh-1/ts/plnkr.html) + [运行第一部分的在线例子](/resources/live-examples/toh-1/ts/plnkr.html) Create a folder called `angular2-tour-of-heroes` and follow the [QuickStart](../quickstart.html) steps which provide the prerequisites, the folder structure, and the core files for our Tour of Heroes. @@ -260,7 +260,7 @@ code-example(language="html"). [Run the live example for part 1](/resources/live-examples/toh-1/ts/plnkr.html) - [运行第一部分的鲜活范例](/resources/live-examples/toh-1/ts/plnkr.html) + [运行第一部分的在线例子](/resources/live-examples/toh-1/ts/plnkr.html) Here's the complete `app.component.ts` as it stands now: diff --git a/public/docs/ts/latest/tutorial/toh-pt2.jade b/public/docs/ts/latest/tutorial/toh-pt2.jade index 3afb4a00a6..311b9658c8 100644 --- a/public/docs/ts/latest/tutorial/toh-pt2.jade +++ b/public/docs/ts/latest/tutorial/toh-pt2.jade @@ -11,7 +11,7 @@ include ../_util-fns [Run the live example for part 2](/resources/live-examples/toh-2/ts/plnkr.html) - [运行第二部分的鲜活范例](/resources/live-examples/toh-2/ts/plnkr.html) + [运行第二部分的在线例子](/resources/live-examples/toh-2/ts/plnkr.html) Let’s take stock of what we’ll need to display a list of heroes. First, we need a list of heroes. We want to display those heroes in the view’s template, @@ -482,7 +482,7 @@ code-example(format="." language="bash"). [Run the live example for part 2](/resources/live-examples/toh-2/ts/plnkr.html) - [运行第二部分的鲜活范例](/resources/live-examples/toh-2/ts/plnkr.html) + [运行第二部分的在线例子](/resources/live-examples/toh-2/ts/plnkr.html) ### The Road Ahead ### 前方的路 diff --git a/public/docs/ts/latest/tutorial/toh-pt3.jade b/public/docs/ts/latest/tutorial/toh-pt3.jade index efb2d35e0f..5ea8c9d9ad 100644 --- a/public/docs/ts/latest/tutorial/toh-pt3.jade +++ b/public/docs/ts/latest/tutorial/toh-pt3.jade @@ -9,7 +9,7 @@ include ../_util-fns [Run the live example for part 3](/resources/live-examples/toh-3/ts/plnkr.html) - [运行第三部分的鲜活范例](/resources/live-examples/toh-3/ts/plnkr.html) + [运行第三部分的在线例子](/resources/live-examples/toh-3/ts/plnkr.html) .l-main-section :marked @@ -378,7 +378,7 @@ code-example(format=".") [Run the live example for part 3](/resources/live-examples/toh-3/ts/plnkr.html). - [运行第三部分的鲜活范例](/resources/live-examples/toh-3/ts/plnkr.html). + [运行第三部分的在线例子](/resources/live-examples/toh-3/ts/plnkr.html). .l-main-section :marked diff --git a/public/docs/ts/latest/tutorial/toh-pt4.jade b/public/docs/ts/latest/tutorial/toh-pt4.jade index bb04bd5ce2..243c04e496 100644 --- a/public/docs/ts/latest/tutorial/toh-pt4.jade +++ b/public/docs/ts/latest/tutorial/toh-pt4.jade @@ -28,7 +28,7 @@ include ../_util-fns :marked [Run the live example for part 4](/resources/live-examples/toh-4/ts/plnkr.html) - [运行第四部分的鲜活范例](/resources/live-examples/toh-4/ts/plnkr.html) + [运行第四部分的在线例子](/resources/live-examples/toh-4/ts/plnkr.html) .l-main-section :marked @@ -595,7 +595,7 @@ code-example(format="." language="html"). [Run the live example for part 4](/resources/live-examples/toh-4/ts/plnkr.html) - [运行第四部分的鲜活范例](/resources/live-examples/toh-4/ts/plnkr.html) + [运行第四部分的在线例子](/resources/live-examples/toh-4/ts/plnkr.html) ### The Road Ahead ### 前方的路 diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 5a1e0b8b1b..30541e4c20 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -33,7 +33,7 @@ figure.image-display :marked [Run the live example](/resources/live-examples/toh-5/ts/plnkr.html). - [运行鲜活范例](/resources/live-examples/toh-5/ts/plnkr.html). + [运行在线例子](/resources/live-examples/toh-5/ts/plnkr.html). .l-sub-section img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="弹出窗口" align="right" style="margin-right:-20px") :marked @@ -1082,7 +1082,7 @@ figure.image-display Review the sample source code [in the live example for this chapter](/resources/live-examples/toh-5/ts/plnkr.html). Verify that we have the following structure: - 在[本章的鲜活范例](/resources/live-examples/toh-5/ts/plnkr.html)中回顾范例代码。请验证一下我们已经有了下列结构: + 在[本章的在线例子](/resources/live-examples/toh-5/ts/plnkr.html)中回顾范例代码。请验证一下我们已经有了下列结构: .filetree .file angular2-tour-of-heroes