fix: translation mistake

This commit is contained in:
Zhicheng Wang 2017-08-22 21:12:48 +08:00
parent 2612cd33ee
commit 5976e2a35f
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ the `HeroFormComponent` component visible throughout this module.
If a component, directive, or pipe belongs to a module in the `imports` array, _don't_ re-declare it in the `declarations` array. If a component, directive, or pipe belongs to a module in the `imports` array, _don't_ re-declare it in the `declarations` array.
If you wrote it and it should belong to this module, _do_ declare it in the `declarations` array. If you wrote it and it should belong to this module, _do_ declare it in the `declarations` array.
如果组件、指令或管道出现在模块的`imports`数组中_不要_把它声明在`declarations`数组中。 如果某个组件、指令或管道是属于`imports`中所导入的某个模块的那就_不能再_把它再声明到本模块的`declarations`数组中。
如果它是你自己写的,并且属于当前模块_就要_把它声明在`declarations`数组中。 如果它是你自己写的,并且确实属于当前模块,*才应该*把它声明在`declarations`数组中。
</div> </div>