From 28b069860090afaea08284a622cd3bb159fe531b Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Thu, 6 Jun 2019 08:03:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=86=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/getting-started/index.md | 7 +++++-- aio/content/navigation.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/aio/content/getting-started/index.md b/aio/content/getting-started/index.md index f1a35aca06..690f06665f 100644 --- a/aio/content/getting-started/index.md +++ b/aio/content/getting-started/index.md @@ -18,6 +18,8 @@ You don't need to install anything: you'll build the app using the [StackBlitz](
New to web development?
+
你是 Web 开发的新手吗?
+ You'll find many resources to complement the Angular docs. Mozilla's MDN docs include both [HTML](https://developer.mozilla.org/en-US/docs/Learn/HTML "Learning HTML: Guides and tutorials") and [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript "JavaScript") introductions. [TypeScript's docs](https://www.typescriptlang.org/docs/home.html "TypeScript documentation") include a 5-minute tutorial. Various online course platforms, such as [Udemy](http://www.udemy.com "Udemy online courses") and [Codeacademy](https://www.codecademy.com/ "Codeacademy online courses"), also cover web development basics. @@ -35,7 +37,7 @@ You'll find many resources to complement the Angular docs. Mozilla's MDN docs in

-Click here to create a new project in StackBlitz. +点此在 StackBlitz 上创建一个新项目

StackBlitz creates a starter Angular app. @@ -54,7 +56,7 @@ We've seeded this particular app with a top bar—containing the store name
-
StackBlitz tips
+
StackBlitz 提示
* Log into StackBlitz, so you can save and resume your work. If you have a GitHub account, you can log into StackBlitz with that account. @@ -120,6 +122,7 @@ Angular 的模板语法扩展了 HTML 和 JavaScript。在本节中,你将通 `*ngFor` 会导致 `
` 被列表中的每个商品都重复渲染一次。
+ `*ngFor` is a "structural directive". Structural directives shape or reshape the DOM's structure, typically by adding, removing, and manipulating the elements to which they are attached. Any directive with an * is a structural directive. `*ngFor` 是一个 "结构型指令"。结构型指令会通过添加、删除和操纵它们的宿主元素等方式塑造或重塑 DOM 的结构。任何带有 * 的指令都是结构型指令。 diff --git a/aio/content/navigation.json b/aio/content/navigation.json index 89676839ae..2750b8304d 100644 --- a/aio/content/navigation.json +++ b/aio/content/navigation.json @@ -523,7 +523,7 @@ ] }, { - "title": "Angular 库开发", + "title": "开发 Angular 库", "tooltip": "使用共享库扩展 Angular", "children": [ {