diff --git a/public/docs/ts/latest/guide/animations.jade b/public/docs/ts/latest/guide/animations.jade index 7cbee8ea68..d32a8ca554 100644 --- a/public/docs/ts/latest/guide/animations.jade +++ b/public/docs/ts/latest/guide/animations.jade @@ -83,7 +83,7 @@ include ../_util-fns :marked The examples referenced in this chapter are available as a . - 本章中引用的这个例子可以到去体验。 + 本章中引用的这个例子可以到在线例子去体验。 a(id="example-transitioning-between-states") .l-main-section diff --git a/public/docs/ts/latest/guide/attribute-directives.jade b/public/docs/ts/latest/guide/attribute-directives.jade index 50ca554d54..379ec3ac54 100644 --- a/public/docs/ts/latest/guide/attribute-directives.jade +++ b/public/docs/ts/latest/guide/attribute-directives.jade @@ -19,7 +19,7 @@ block includes * [pass values into the directive using data binding](#bindings) * [使用数据绑定把值传到指令中](#bindings) - 试试。 + 试试在线例子。 ## Directives overview ## 指令概览 diff --git a/public/docs/ts/latest/guide/component-styles.jade b/public/docs/ts/latest/guide/component-styles.jade index dd3746f4d0..32cd22da9b 100644 --- a/public/docs/ts/latest/guide/component-styles.jade +++ b/public/docs/ts/latest/guide/component-styles.jade @@ -35,7 +35,7 @@ block includes Run the of the code shown in this chapter. - 运行本章这些代码的。 + 运行本章这些代码的在线例子。 .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 83612ecd62..075eb56d41 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -31,7 +31,7 @@ block includes Run the . - 运行. + 运行在线例子. .l-main-section#why-di :marked diff --git a/public/docs/ts/latest/guide/displaying-data.jade b/public/docs/ts/latest/guide/displaying-data.jade index 12c36244a4..e137439908 100644 --- a/public/docs/ts/latest/guide/displaying-data.jade +++ b/public/docs/ts/latest/guide/displaying-data.jade @@ -38,7 +38,7 @@ figure.image-display The demonstrates all of the syntax and code snippets described in this chapter. - 这个演示了本章中描述的所有语法和代码片段。 + 这个在线例子演示了本章中描述的所有语法和代码片段。 .l-main-section#interpolation :marked diff --git a/public/docs/ts/latest/guide/hierarchical-dependency-injection.jade b/public/docs/ts/latest/guide/hierarchical-dependency-injection.jade index 759daf6009..2e63efffa8 100644 --- a/public/docs/ts/latest/guide/hierarchical-dependency-injection.jade +++ b/public/docs/ts/latest/guide/hierarchical-dependency-injection.jade @@ -23,7 +23,7 @@ block includes Try the . - 试试. + 试试在线例子. .l-main-section :marked diff --git a/public/docs/ts/latest/guide/lifecycle-hooks.jade b/public/docs/ts/latest/guide/lifecycle-hooks.jade index b074ba25d8..a85fc99da0 100644 --- a/public/docs/ts/latest/guide/lifecycle-hooks.jade +++ b/public/docs/ts/latest/guide/lifecycle-hooks.jade @@ -334,7 +334,7 @@ block other-angular-subsystems demonstrates the lifecycle hooks in action through a series of exercises presented as components under the control of the root `AppComponent`. - 通过在受控于根组件`AppComponent`的一些组件上进行的一系列练习,演示了生命周期钩子的运作方式。 + 在线例子通过在受控于根组件`AppComponent`的一些组件上进行的一系列练习,演示了生命周期钩子的运作方式。 They follow a common pattern: a *parent* component serves as a test rig for diff --git a/public/docs/ts/latest/guide/pipes.jade b/public/docs/ts/latest/guide/pipes.jade index 71e7664833..0c0e110422 100644 --- a/public/docs/ts/latest/guide/pipes.jade +++ b/public/docs/ts/latest/guide/pipes.jade @@ -30,7 +30,7 @@ block includes Try the . 欢迎来到Angular“管道(Pipe)”的世界!我们可以把这种简单的“值-显示”转换器声明在HTML中。 - 试试。 + 试试在线例子。 .l-main-section :marked @@ -277,7 +277,7 @@ figure.image-display If we try the , we can probe its behavior by changing the value and the optional exponent in the template. - 如果我们试一下这个,就可以通过修改值和模板中的可选部分来体会其行为。 + 如果我们试一下这个在线例子,就可以通过修改值和模板中的可选部分来体会其行为。 ## Power Boost Calculator (extra-credit) ## 能力倍增计算器(加分项) @@ -355,7 +355,7 @@ a#change-detection When we run the sample now we see odd behavior (try it in the ). Every hero we add is a flying hero but none of them are displayed. - 当运行例子时,我们看到一种奇怪的行为(试试)。添加的每个英雄都是会飞行的英雄,但是没有一个被显示出来。 + 当运行例子时,我们看到一种奇怪的行为(试试在线例子)。添加的每个英雄都是会飞行的英雄,但是没有一个被显示出来。 Although we're not getting the behavior we want, Angular isn't broken. It's just using a different change detection algorithm — one that ignores changes to the list or any of its items. diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index 8735f7435a..91578a32b4 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -590,7 +590,7 @@ table The full source is available in the . - 完整代码可以在中找到。 + 完整代码可以在在线例子中找到。 :marked Our client is the Hero Employment Agency. @@ -618,7 +618,7 @@ table Run the . It opens in the *Crisis Center*. We'll come back to that. - 运行。它打开了*危机中心*,一会儿我们就会回到那里。 + 运行在线例子。它打开了*危机中心*,一会儿我们就会回到那里。 Click the *Heroes* link. We're presented with a list of Heroes. @@ -1894,7 +1894,7 @@ code-example(language="bash"). row because it demonstrates the final state of the application which includes the steps we're *about* to cover. At the moment we're describing the state of affairs *prior* to those steps. - *没有*高亮选中的行,因为它演示的是应用的最终状态,因此包含了我们*即将*示范的步骤。 + 在线例子*没有*高亮选中的行,因为它演示的是应用的最终状态,因此包含了我们*即将*示范的步骤。 此刻,我们描述的仍是那些步骤*之前*的状态。 :marked @@ -3662,7 +3662,7 @@ h3#can-load-guard CanLoad守卫: 保护特性模块的加载 Please visit the and where you can download the final source code. - 本章中涉及到了很多背景知识,而且本应用程序也太大了,所以没法在这里显示。请访问,在那里你可以下载最终的源码。 + 本章中涉及到了很多背景知识,而且本应用程序也太大了,所以没法在这里显示。请访问在线例子,在那里你可以下载最终的源码。 .l-main-section diff --git a/public/docs/ts/latest/guide/security.jade b/public/docs/ts/latest/guide/security.jade index 22aa0e9bf9..9fae8c7cfb 100644 --- a/public/docs/ts/latest/guide/security.jade +++ b/public/docs/ts/latest/guide/security.jade @@ -43,7 +43,7 @@ block includes Try the of the code shown in this page. - 运行来试用本页的代码。 + 运行在线例子来试用本页的代码。 .l-main-section h2#report-issues Reporting vulnerabilities diff --git a/public/docs/ts/latest/guide/server-communication.jade b/public/docs/ts/latest/guide/server-communication.jade index 366a94dd27..c49ba6d270 100644 --- a/public/docs/ts/latest/guide/server-communication.jade +++ b/public/docs/ts/latest/guide/server-communication.jade @@ -1217,4 +1217,4 @@ block redirect-to-web-api :marked See the full source code in the . - 要想查看完整的源代码,请参见。 + 要想查看完整的源代码,请参见在线例子。 diff --git a/public/docs/ts/latest/guide/structural-directives.jade b/public/docs/ts/latest/guide/structural-directives.jade index 33f9cf2f8f..cf8708c73f 100644 --- a/public/docs/ts/latest/guide/structural-directives.jade +++ b/public/docs/ts/latest/guide/structural-directives.jade @@ -28,7 +28,7 @@ block includes Try the . - 试试。 + 试试在线例子 .l-main-section diff --git a/public/docs/ts/latest/quickstart.jade b/public/docs/ts/latest/quickstart.jade index 736e0db2a4..e9d75fe579 100644 --- a/public/docs/ts/latest/quickstart.jade +++ b/public/docs/ts/latest/quickstart.jade @@ -47,7 +47,7 @@ figure.image-display :marked **Try it out**. Here's a link to a . - 点的链接来**试用一下**。 + 点在线例子的链接来**试用一下**。 You can also clone the entire QuickStart application from GitHub. @@ -564,7 +564,7 @@ block project-file-structure :marked To see the file contents, open the . - 要查看文件的内容,请打开。 + 要查看文件的内容,请打开在线例子。 .l-main-section :marked diff --git a/public/docs/ts/latest/tutorial/toh-pt1.jade b/public/docs/ts/latest/tutorial/toh-pt1.jade index d7716fcd2f..d49ce319a6 100644 --- a/public/docs/ts/latest/tutorial/toh-pt1.jade +++ b/public/docs/ts/latest/tutorial/toh-pt1.jade @@ -298,7 +298,7 @@ code-example(language="html"). Run the for this part. - 运行这部分的。 + 运行这部分的在线例子。 Here's the complete `app.component.ts` as it stands now: diff --git a/public/docs/ts/latest/tutorial/toh-pt3.jade b/public/docs/ts/latest/tutorial/toh-pt3.jade index 969b7f6fe4..ea6da2715a 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 for this part. - 运行这部分的。 + 运行这部分的在线例子。 .l-main-section @@ -413,7 +413,7 @@ code-example(format="."). Run the for this part. - 运行这部分的。 + 运行这部分的在线例子。 .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 4b86623ef8..764848fb32 100644 --- a/public/docs/ts/latest/tutorial/toh-pt4.jade +++ b/public/docs/ts/latest/tutorial/toh-pt4.jade @@ -30,7 +30,7 @@ include ../_util-fns Run the for this part. - 运行这部分的。 + 运行这部分的在线例子。 .l-main-section :marked @@ -657,7 +657,7 @@ a#child-component Run the for this part. - 运行这部分的。 + 运行这部分的在线例子。 ### The Road Ahead diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index fb26558772..07fd3d940f 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -54,7 +54,7 @@ figure.image-display :marked Run the for this part. - 运行这部分的。 + 运行这部分的在线例子。 +ifDocsFor('ts|js') .l-sub-section @@ -1424,7 +1424,7 @@ figure.image-display Review the sample source code in the for this chapter. Verify that we have the following structure: - 在中回顾本章的范例代码。 + 在在线例子中回顾本章的范例代码。 验证我们是否已经得到了如下结构: block file-tree-end diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index 66441d53d4..04bcb5a2d7 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -850,7 +850,7 @@ figure.image-display Review the sample source code in the for this chapter. Verify that we have the following structure: - 在中回顾本章的范例代码。 + 在在线例子中回顾本章的范例代码。 验证我们是否得到了如下结构: block filetree