From b88204dffb8d095d2da95e6900e6eec48d61be69 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Mon, 21 Aug 2017 21:38:37 +0800 Subject: [PATCH] fix: typo #243 #244 #246 --- aio/content/guide/dependency-injection-in-action.md | 4 ++-- aio/content/translations/cn/about.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/dependency-injection-in-action.md b/aio/content/guide/dependency-injection-in-action.md index bb902d3c19..8e2e0ef2a6 100644 --- a/aio/content/guide/dependency-injection-in-action.md +++ b/aio/content/guide/dependency-injection-in-action.md @@ -906,7 +906,7 @@ The *token* is usually a class but [it doesn't have to be](guide/dependency-inje The *definition* object has a required property that specifies how to create the singleton instance of the service. In this case, the property. -该*定义*对象有一个主属性(即`userValue`),用来标识该提供商会如何新建和返回依赖。 +该*定义*对象有一个必填属性(即`useValue`),用来标识该提供商会如何新建和返回该服务的单例对象。 @@ -919,7 +919,7 @@ The *definition* object has a required property that specifies how to create th *Set the `useValue` property to a ***fixed value*** that the provider can return as the service instance (AKA, the "dependency object"). -把一个***固定的值**,也就是该提供商可以将其作为依赖对象返回的值,赋给`userValue`属性。 +把一个***固定的值**,也就是该提供商可以将其作为依赖对象返回的值,赋给`useValue`属性。 Use this technique to provide *runtime configuration constants* such as website base addresses and feature flags. You can use a *value provider* in a unit test to replace a production service with a fake or mock. diff --git a/aio/content/translations/cn/about.md b/aio/content/translations/cn/about.md index ba51ff6498..df3d12dc53 100644 --- a/aio/content/translations/cn/about.md +++ b/aio/content/translations/cn/about.md @@ -69,6 +69,8 @@ Angular 和 Grails 开发高校[教务管理系统](http://www.github.com/jwgl) - zhibinr(来自 Github ) - jin-xinchen(来自 Github ) - looding(来自 Github ) +- linyang4(来自 Github ) +- bluewaitor(来自 Github ) - 另外还有一些做好事不留名的活雷锋 想让你的名字也出现在这里吗?请提供[反馈、纠错](https://github.com/angular/angular-cn/issues)。