Skip to content

Commit

Permalink
fix(doc:i18n): fix doc (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppjjzz authored and vthinkxie committed Mar 20, 2018
1 parent 5ca28a6 commit 4ba77c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/i18n.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 { }

Expand Down
2 changes: 1 addition & 1 deletion docs/i18n.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 { }

Expand Down

0 comments on commit 4ba77c2

Please sign in to comment.