更正individual的翻译
This commit is contained in:
parent
41b0cc800b
commit
e1fd53b9b3
|
@ -1231,7 +1231,7 @@ table(width="100%")
|
||||||
This allows you to set appropriate styles for individual components that won’t leak into
|
This allows you to set appropriate styles for individual components that won’t leak into
|
||||||
other parts of the application.
|
other parts of the application.
|
||||||
|
|
||||||
这让我们可以为一个独立组件设置合适的样式,而不用担心它被泄漏到程序中的其它部分。
|
这让我们可以为各个组件设置合适的样式,而不用担心它被泄漏到程序中的其它部分。
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
[Back to top](#top)
|
[Back to top](#top)
|
||||||
|
|
|
@ -172,7 +172,7 @@ a#why-default
|
||||||
We might not be writing modular code at all!
|
We might not be writing modular code at all!
|
||||||
|
|
||||||
因为如果没有开发人员的帮助,组件的位置是检测不到的。
|
因为如果没有开发人员的帮助,组件的位置是检测不到的。
|
||||||
Angular应用可能被用多种方式加载:SystemJS包、CommonJS包等等。
|
Angular应用可能被用多种方式加载:独立文件、SystemJS包、CommonJS包等等。
|
||||||
用来生成模块的格式可以是任何格式。
|
用来生成模块的格式可以是任何格式。
|
||||||
甚至可能完全没有写成模块化代码。
|
甚至可能完全没有写成模块化代码。
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ include ../_util-fns
|
||||||
the component responsible for rendering the details of each _individual_ question based on values in the data-bound question object.
|
the component responsible for rendering the details of each _individual_ question based on values in the data-bound question object.
|
||||||
|
|
||||||
它代表了问卷问题列表,每个问题都被绑定到一个`<df-question>`组件元素。
|
它代表了问卷问题列表,每个问题都被绑定到一个`<df-question>`组件元素。
|
||||||
`<df-question>`标签匹配到的是组件`DynamicFormQuestionComponent`,该组件的职责是根据每个问卷问题对象的值来动态渲染表单控件。
|
`<df-question>`标签匹配到的是组件`DynamicFormQuestionComponent`,该组件的职责是根据各个问卷问题对象的值来动态渲染表单控件。
|
||||||
|
|
||||||
+makeTabs(
|
+makeTabs(
|
||||||
`cb-dynamic-form/ts/app/dynamic-form-question.component.html,
|
`cb-dynamic-form/ts/app/dynamic-form-question.component.html,
|
||||||
|
|
|
@ -2018,7 +2018,7 @@ h3#route-animation 为路由组件添加动画
|
||||||
Using route animations on individual components is something we don't want to do throughout our entire application.
|
Using route animations on individual components is something we don't want to do throughout our entire application.
|
||||||
It would be better to animate routes based on **route paths**, a topic to cover in a future update to this chapter.
|
It would be better to animate routes based on **route paths**, a topic to cover in a future update to this chapter.
|
||||||
|
|
||||||
在整个应用程序中,我们并不想在独立组件中使用路由动画。
|
在整个应用程序中,我们并不想在每个组件中都使用路由动画。
|
||||||
我们认为基于**路由路径**进行路由动画会更好一些,本章将来的更新中会涉及到这个主题。
|
我们认为基于**路由路径**进行路由动画会更好一些,本章将来的更新中会涉及到这个主题。
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
|
|
Loading…
Reference in New Issue