From 9d1a89a77f47a958a69630ab7e8fbb957b3d29ad Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Tue, 4 Jun 2019 22:02:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E8=AE=A2=E5=AE=8C=E4=BA=86?= =?UTF-8?q?=E6=89=80=E6=9C=89=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/navigation.json | 46 ++++++++++++++++----------------- aio/content/tutorial/toh-pt1.md | 2 +- aio/content/tutorial/toh-pt2.md | 3 ++- aio/src/index.html | 2 +- 4 files changed, 27 insertions(+), 26 deletions(-) diff --git a/aio/content/navigation.json b/aio/content/navigation.json index cb11979d69..76130e7be3 100644 --- a/aio/content/navigation.json +++ b/aio/content/navigation.json @@ -476,8 +476,8 @@ }, { "url": "guide/app-shell", - "title": "App Shell", - "tooltip": "Enabling the App Shell in a CLI project." + "title": "应用外壳", + "tooltip": "在 CLI 项目中启用应用外壳。" }, { "url": "guide/service-worker-communications", @@ -513,7 +513,7 @@ { "url": "guide/upgrade-performance", "title": "更关注性能的升级方式", - "tooltip": "用更灵活的方式把 AngularJS 升级到 Angular" + "tooltip": "用更灵活的方式把 AngularJS 升级到 Angular。" }, { "url": "guide/ajs-quick-reference", @@ -539,40 +539,40 @@ { "url": "guide/creating-libraries", "title": "创建库", - "tooltip": "通过创建、发布和使用你自己的库来扩展 Angular" + "tooltip": "通过创建、发布和使用你自己的库来扩展 Angular。" } ] }, { - "title": "Schematics", - "tooltip": "Understanding schematics.", + "title": "原理图(Schematic)", + "tooltip": "理解原理图", "children": [ { "url": "guide/schematics", - "title": "Schematics Overview", - "tooltip": "Understand how schematics are used in Angular." + "title": "原理图概览", + "tooltip": "理解 Angular 如何使用原理图。" }, { "url": "guide/schematics-authoring", - "title": "Authoring Schematics", - "tooltip": "Understand the structure of a schematic." + "title": "制作原理图", + "tooltip": "理解原理图的结构。" }, { "url": "guide/schematics-for-libraries", - "title": "Schematics for Libraries", - "tooltip": "Use schematics to integrate your library with the Angular CLI." + "title": "库的原理图", + "tooltip": "使用原理图来把你的库集成进 Angular CLI 中。" } ] }, { "url": "guide/ivy", - "title": "Angular Ivy", - "tooltip": "Opting into Angular Ivy with Angular CLI." + "title": "Angular Ivy(常春藤)", + "tooltip": "在 Angular CLI 中可选的启用 Ivy。" }, { "url": "guide/web-worker", - "title": "Web Workers", - "tooltip": "Using Web Workers with Angular CLI." + "title": "Web Worker", + "tooltip": "在 Angular CLI 中使用 Web Worker。" } ] }, @@ -618,8 +618,8 @@ }, { "url": "guide/bazel", - "title": "Building with Bazel", - "tooltip": "How to set up your environment to build and test with Bazel." + "title": "使用 Bazel 进行构建", + "tooltip": "如何配置你的环境,以利用 Bazel 进行构建和测试。" }, { "url": "guide/testing", @@ -707,8 +707,8 @@ "url": "cli" }, { - "title": "Usage Analytics", - "tooltip": "For administrators, guide to gathering usage analytics from your users.", + "title": "使用情况分析", + "tooltip": "管理员如何从用户那里收集使用情况分析。", "url": "cli/usage-analytics-gathering" } ] @@ -779,9 +779,9 @@ "tooltip": "Angular 官方博客" }, { - "url": "analytics", - "title": "Usage Analytics", - "tooltip": "Angular Usage Analytics" + "url": "分析", + "title": "使用分析", + "tooltip": "Angular 使用情况分析" } ] }, diff --git a/aio/content/tutorial/toh-pt1.md b/aio/content/tutorial/toh-pt1.md index eff3cbaf30..08f428aaf3 100644 --- a/aio/content/tutorial/toh-pt1.md +++ b/aio/content/tutorial/toh-pt1.md @@ -24,7 +24,7 @@ Using the Angular CLI, generate a new component named `heroes`. The CLI creates a new folder, `src/app/heroes/`, and generates the four files of the `HeroesComponent`. -CLI 创建了一个新的文件夹 `src/app/heroes/`,并生成了 `HeroesComponent` 的三个文件。 +CLI 创建了一个新的文件夹 `src/app/heroes/`,并生成了 `HeroesComponent` 的四个文件。 The `HeroesComponent` class file is as follows: diff --git a/aio/content/tutorial/toh-pt2.md b/aio/content/tutorial/toh-pt2.md index 4ab5ad0e54..3ba210541c 100644 --- a/aio/content/tutorial/toh-pt2.md +++ b/aio/content/tutorial/toh-pt2.md @@ -67,6 +67,7 @@ Open the `HeroesComponent` template file and make the following changes: * Add an `

` at the top, 在顶部添加 `

`, + * Below it add an HTML unordered list (`