From 4ba77c2ed1b987053ae97e9ae2d65d97f546205c Mon Sep 17 00:00:00 2001 From: pandaJ <2070255@qq.com> Date: Tue, 20 Mar 2018 19:12:30 +0800 Subject: [PATCH] fix(doc:i18n): fix doc (#1186) --- docs/i18n.en-US.md | 2 +- docs/i18n.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/i18n.en-US.md b/docs/i18n.en-US.md index 747d1a4cde3..3c28e123257 100755 --- a/docs/i18n.en-US.md +++ b/docs/i18n.en-US.md @@ -16,7 +16,7 @@ import { NZ_I18N, en_US } from 'ng-zorro-antd'; @NgModule({ ... imports : [ NgZorroAntdModule.forRoot() ], - providers : [ { provide: NZ_LOCALE, useValue: en_US } ], // set local i18n here + providers : [ { provide: NZ_I18N, useValue: en_US } ], // set local i18n here }) export class AppModule { } diff --git a/docs/i18n.zh-CN.md b/docs/i18n.zh-CN.md index 5d85b34ceee..a20a6819622 100755 --- a/docs/i18n.zh-CN.md +++ b/docs/i18n.zh-CN.md @@ -15,7 +15,7 @@ import { NZ_I18N, en_US } from 'ng-zorro-antd'; @NgModule({ ... imports : [ NgZorroAntdModule.forRoot() ], - providers : [ { provide: NZ_LOCALE, useValue: en_US } ], // 这里设置当前全局使用的语言包 + providers : [ { provide: NZ_I18N, useValue: en_US } ], // 这里设置当前全局使用的语言包 }) export class AppModule { }