diff --git a/aio/content/guide/dependency-injection-pattern.md b/aio/content/guide/dependency-injection-pattern.md index ddbbdf36c3..dc1f51e0e2 100644 --- a/aio/content/guide/dependency-injection-pattern.md +++ b/aio/content/guide/dependency-injection-pattern.md @@ -173,7 +173,7 @@ Now, if someone extends the `Engine` class, that is not `Car`'s problem. The _consumer_ of `Car` has the problem. The consumer must update the car creation code to something like this: -`Car` 的*消费者*也有这个问题。消费者必须更新创建这辆车的代码,就像这样: +`Car` 的*消费者*也有这个问题。消费者必须修改创建这辆车的代码,就像这样: diff --git a/aio/content/guide/displaying-data.md b/aio/content/guide/displaying-data.md index 837e0220f0..c0b8aabc0d 100644 --- a/aio/content/guide/displaying-data.md +++ b/aio/content/guide/displaying-data.md @@ -358,7 +358,7 @@ Next, update the template. At the moment it displays the hero's `id` and `name`. Fix that to display only the hero's `name` property. -接着,更新一下模板。 +接着,修改模板。 现在它显示的是英雄的 `id` 和 `name`。 要修复它,只显示英雄的 `name` 属性就行了。 diff --git a/aio/content/guide/dynamic-form.md b/aio/content/guide/dynamic-form.md index 6295df01e6..1ffe1469a1 100644 --- a/aio/content/guide/dynamic-form.md +++ b/aio/content/guide/dynamic-form.md @@ -213,7 +213,7 @@ directly since you imported `ReactiveFormsModule` from `AppModule`. and removing objects from the `questions` array. 关键是,你完全根据 `QuestionService` 返回的对象来控制英雄的工作申请表。 - 要维护这份问卷,只要非常简单的添加、更新和删除 `questions` 数组中的对象就可以了。 + 要维护这份问卷,只要非常简单的添加、修改和删除 `questions` 数组中的对象就可以了。 diff --git a/aio/content/guide/forms.md b/aio/content/guide/forms.md index cac106ee8c..1964fdaa12 100644 --- a/aio/content/guide/forms.md +++ b/aio/content/guide/forms.md @@ -877,7 +877,7 @@ that you add to the project as a sibling to `index.html`: Update the `` of `index.html` to include this style sheet: -更新 `index.html` 中的 ``,以包含这个样式表: +修改 `index.html` 中的 ``,以包含这个样式表: diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 96f28650a3..852ae421ea 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -2979,7 +2979,7 @@ Update the template with a [class binding](guide/template-syntax#class-binding). The binding adds the `selected` CSS class when the comparison returns `true` and removes it when `false`. Look for it within the repeated `
  • ` tag as shown here: -用[CSS 类绑定](guide/template-syntax#class-binding)更新模板,把它绑定到 `isSelected` 方法上。 +用 [CSS 类绑定](guide/template-syntax#class-binding)更新模板,把它绑定到 `isSelected` 方法上。 如果该方法返回 `true`,此绑定就会添加 CSS 类 `selected`,否则就移除它。 在 `
  • ` 标记中找到它,就像这样: @@ -4920,7 +4920,7 @@ when navigating. Since you'll be navigating to the *Admin Dashboard* route after logging in, you'll update it to handle the query parameters and fragment. -由于要在登录后导航到*危机管理*特征区的路由,所以你还得更新它,来处理这些全局查询参数和片段。 +由于要在登录后导航到*危机管理*特征区的路由,所以你还得修改它,来处理这些全局查询参数和片段。 diff --git a/aio/content/guide/upgrade.md b/aio/content/guide/upgrade.md index ad4cb74323..cbd65df7ec 100644 --- a/aio/content/guide/upgrade.md +++ b/aio/content/guide/upgrade.md @@ -2044,7 +2044,7 @@ The file contents remain: 现在,创建一个名叫 `AppModule` 的根 `NgModule` 类。 这里已经有了一个名叫 `app.module.ts` 的文件,其中存放着 AngularJS 的模块。 -把它改名为 `app.module.ng1.ts`,同时也要在 `index.html` 中更新对应的脚本名。 +把它改名为 `app.module.ng1.ts`,同时也要在 `index.html` 中修改对应的脚本名。 文件的内容保留: diff --git a/aio/content/guide/webpack.md b/aio/content/guide/webpack.md index 1cdbed67aa..f34b851679 100644 --- a/aio/content/guide/webpack.md +++ b/aio/content/guide/webpack.md @@ -772,7 +772,7 @@ Webpack generates file names with cache-busting hash. Thanks to the `HtmlWebpackPlugin`, you don't have to update the `index.html` file when the hash changes. Webpack 生成的文件名中带有“缓存无效哈希(cache-busting hash)”。 -感谢 `HtmlWebpackPlugin` 插件,当这些哈希值变化时,你就不用去更新 `index.html` 了。 +感谢 `HtmlWebpackPlugin` 插件,当这些哈希值变化时,你就不用去修改 `index.html` 了。 There are additional plugins: diff --git a/aio/content/tutorial/toh-pt6.md b/aio/content/tutorial/toh-pt6.md index d61d2a2b83..ea8fdc9bc3 100644 --- a/aio/content/tutorial/toh-pt6.md +++ b/aio/content/tutorial/toh-pt6.md @@ -1057,7 +1057,7 @@ You're at the end of your journey, and you've accomplished a lot. * You updated the components to allow adding, editing, and deleting of heroes. - 你更新了组件,以允许用户添加、编辑和删除英雄。 + 你修改了组件,以允许用户添加、编辑和删除英雄。 * You configured an in-memory web API.