fix: 修订完了所有文档

This commit is contained in:
Zhicheng WANG 2019-06-04 22:02:31 +08:00
parent df222c3a12
commit 9d1a89a77f
4 changed files with 27 additions and 26 deletions

View File

@ -476,8 +476,8 @@
}, },
{ {
"url": "guide/app-shell", "url": "guide/app-shell",
"title": "App Shell", "title": "应用外壳",
"tooltip": "Enabling the App Shell in a CLI project." "tooltip": "在 CLI 项目中启用应用外壳。"
}, },
{ {
"url": "guide/service-worker-communications", "url": "guide/service-worker-communications",
@ -513,7 +513,7 @@
{ {
"url": "guide/upgrade-performance", "url": "guide/upgrade-performance",
"title": "更关注性能的升级方式", "title": "更关注性能的升级方式",
"tooltip": "用更灵活的方式把 AngularJS 升级到 Angular" "tooltip": "用更灵活的方式把 AngularJS 升级到 Angular"
}, },
{ {
"url": "guide/ajs-quick-reference", "url": "guide/ajs-quick-reference",
@ -539,40 +539,40 @@
{ {
"url": "guide/creating-libraries", "url": "guide/creating-libraries",
"title": "创建库", "title": "创建库",
"tooltip": "通过创建、发布和使用你自己的库来扩展 Angular" "tooltip": "通过创建、发布和使用你自己的库来扩展 Angular"
} }
] ]
}, },
{ {
"title": "Schematics", "title": "原理图Schematic",
"tooltip": "Understanding schematics.", "tooltip": "理解原理图",
"children": [ "children": [
{ {
"url": "guide/schematics", "url": "guide/schematics",
"title": "Schematics Overview", "title": "原理图概览",
"tooltip": "Understand how schematics are used in Angular." "tooltip": "理解 Angular 如何使用原理图。"
}, },
{ {
"url": "guide/schematics-authoring", "url": "guide/schematics-authoring",
"title": "Authoring Schematics", "title": "制作原理图",
"tooltip": "Understand the structure of a schematic." "tooltip": "理解原理图的结构。"
}, },
{ {
"url": "guide/schematics-for-libraries", "url": "guide/schematics-for-libraries",
"title": "Schematics for Libraries", "title": "库的原理图",
"tooltip": "Use schematics to integrate your library with the Angular CLI." "tooltip": "使用原理图来把你的库集成进 Angular CLI 中。"
} }
] ]
}, },
{ {
"url": "guide/ivy", "url": "guide/ivy",
"title": "Angular Ivy", "title": "Angular Ivy(常春藤)",
"tooltip": "Opting into Angular Ivy with Angular CLI." "tooltip": "在 Angular CLI 中可选的启用 Ivy。"
}, },
{ {
"url": "guide/web-worker", "url": "guide/web-worker",
"title": "Web Workers", "title": "Web Worker",
"tooltip": "Using Web Workers with Angular CLI." "tooltip": "在 Angular CLI 中使用 Web Worker。"
} }
] ]
}, },
@ -618,8 +618,8 @@
}, },
{ {
"url": "guide/bazel", "url": "guide/bazel",
"title": "Building with Bazel", "title": "使用 Bazel 进行构建",
"tooltip": "How to set up your environment to build and test with Bazel." "tooltip": "如何配置你的环境,以利用 Bazel 进行构建和测试。"
}, },
{ {
"url": "guide/testing", "url": "guide/testing",
@ -707,8 +707,8 @@
"url": "cli" "url": "cli"
}, },
{ {
"title": "Usage Analytics", "title": "使用情况分析",
"tooltip": "For administrators, guide to gathering usage analytics from your users.", "tooltip": "管理员如何从用户那里收集使用情况分析。",
"url": "cli/usage-analytics-gathering" "url": "cli/usage-analytics-gathering"
} }
] ]
@ -779,9 +779,9 @@
"tooltip": "Angular 官方博客" "tooltip": "Angular 官方博客"
}, },
{ {
"url": "analytics", "url": "分析",
"title": "Usage Analytics", "title": "使用分析",
"tooltip": "Angular Usage Analytics" "tooltip": "Angular 使用情况分析"
} }
] ]
}, },

View File

@ -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 CLI creates a new folder, `src/app/heroes/`, and generates
the four files of the `HeroesComponent`. the four files of the `HeroesComponent`.
CLI 创建了一个新的文件夹 `src/app/heroes/`,并生成了 `HeroesComponent`个文件。 CLI 创建了一个新的文件夹 `src/app/heroes/`,并生成了 `HeroesComponent`个文件。
The `HeroesComponent` class file is as follows: The `HeroesComponent` class file is as follows:

View File

@ -67,6 +67,7 @@ Open the `HeroesComponent` template file and make the following changes:
* Add an `<h2>` at the top, * Add an `<h2>` at the top,
在顶部添加 `<h2>` 在顶部添加 `<h2>`
* Below it add an HTML unordered list (`<ul>`) * Below it add an HTML unordered list (`<ul>`)
然后添加表示无序列表的 HTML 元素(`<ul>` 然后添加表示无序列表的 HTML 元素(`<ul>`
@ -131,7 +132,7 @@ After the browser refreshes, the list of heroes appears.
### Style the heroes ### Style the heroes
### 给英雄“美容” ### 给英雄列表“美容”
The heroes list should be attractive and should respond visually when users The heroes list should be attractive and should respond visually when users
hover over and select a hero from the list. hover over and select a hero from the list.

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="zh-Hans">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">