diff --git a/aio/content/marketing/docs.md b/aio/content/marketing/docs.md index 5a00d7a79d..07314ef741 100644 --- a/aio/content/marketing/docs.md +++ b/aio/content/marketing/docs.md @@ -7,38 +7,31 @@ Angular is a platform that makes it easy to build applications with the web. Ang Angular 是一个开发平台。它能帮你更轻松的构建 Web 应用。Angular 集声明式模板、依赖注入、端到端工具和一些最佳实践于一身,为你解决开发方面的各种挑战。Angular 为开发者提升构建 Web、手机或桌面应用的能力。
- -
Get a Glimpse of Angular
- +
Angular 走马观花

A quick look at an Angular "hello world" application.

- +

快速体验 Angular 的 "hello world" 应用。

- +
- -
Get Going with Angular
- +
开始使用 Angular

Get going on your own environment with the Quickstart.

- +

跟随"快速上手"构建你的开发环境

- +
- -
Fundamentals
- +
基本原理

Learn Angular application fundamentals, starting with an architecture overview.

- +

学习 Angular 应用的基本原理。
从架构概览开始。

- +
-
## Assumptions @@ -56,8 +49,8 @@ Most Angular code can be written with just the latest JavaScript, using [types](https://www.typescriptlang.org/docs/handbook/classes.html "TypeScript Types") for dependency injection, and using [decorators](https://www.typescriptlang.org/docs/handbook/decorators.html "Decorators") for metadata. -本文档假设你已经熟悉了[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript "学习 JavaScript")和来自[最新标准](https://babeljs.io/learn-es2015/ "Latest JavaScript standards")的一些知识,比如 [类](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes "ES2015 类") 和 [模块](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import "ES2015 模块")。 -下列代码范例都是用最新版本的JavaScript写的,利用[类型](https://www.typescriptlang.org/docs/handbook/classes.html "TypeScript 类型")实现依赖注入,并使用[装饰器](https://www.typescriptlang.org/docs/handbook/decorators.html "装饰器")来提供元数据。 +本文档假设你已经熟悉了 [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript "Learn JavaScript") 和来自 [最新标准](https://babeljs.io/learn-es2015/ "Latest JavaScript standards") 的一些知识,比如 [类](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes "ES2015 Classes") 和 [模块](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import "ES2015 Modules")。 +下列代码范例都是用最新版本的JavaScript写的,利用 [类型](https://www.typescriptlang.org/docs/handbook/classes.html "TypeScript Types") 实现依赖注入,并使用[装饰器](https://www.typescriptlang.org/docs/handbook/decorators.html "Decorators")来提供元数据。 ## Feedback diff --git a/aio/content/navigation.json b/aio/content/navigation.json index e95d8bf6a1..cf1f2ea4d4 100644 --- a/aio/content/navigation.json +++ b/aio/content/navigation.json @@ -73,12 +73,12 @@ }, { "url": "tutorial/toh-pt2", - "title": "4. 主从结构", + "title": "4. 显示英雄列表", "tooltip": "第四部分:构建一个主从结构的页面,用于展现英雄列表" }, { "url": "tutorial/toh-pt3", - "title": "5. 多个组件", + "title": "5. 主从结构", "tooltip": "第五部分:把主从结构的页面重构成多个组件" }, { diff --git a/aio/tools/transforms/remark-package/services/translator.js b/aio/tools/transforms/remark-package/services/translator.js index 2528230218..9610e23af8 100644 --- a/aio/tools/transforms/remark-package/services/translator.js +++ b/aio/tools/transforms/remark-package/services/translator.js @@ -1,5 +1,5 @@ function mark(text) { - return text.replace(/<(h\d|header|p|a)(\b[\s\S]*?)>([\s\S]+?)<\/\1>/gi, function ($0, $1, $2, $3) { + return text.replace(/<(h\d|header|p|section)(\b[\s\S]*?)>([\s\S]+?)<\/\1>/gi, function ($0, $1, $2, $3) { const suffix = isTranslation($3) ? 'result' : 'origin=off'; return `<${$1} translation-${suffix} ${$2}>${$3}`; });