diff --git a/aio/content/guide/api-page-class.md b/aio/content/guide/api-page-class.md index 2a5c03d2e4..55cd6b10be 100644 --- a/aio/content/guide/api-page-class.md +++ b/aio/content/guide/api-page-class.md @@ -17,11 +17,7 @@ -
- -Class description goes here. This is a short and to the point one or two sentence description that easily introduces the reader to the class. - -
+Class description goes here. This is a short and to the point one or two sentence description that easily introduces the reader to the class.
- -The longer class description goes here which can include multiple paragraphs. - -
+The longer class description goes here which can include multiple paragraphs.
Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. Ham hock picanha burgdoggen pork belly rump bacon cupim. Bacon kielbasa sirloin shank strip steak ground round. Bresaola cow salami meatloaf pork chop leberkas flank turducken biltong meatball chuck pork tri-tip chicken. Ribeye corned beef shoulder, meatloaf strip steak jerky porchetta capicola alcatra ham. @@ -112,7 +104,6 @@ The longer class description goes here which can include multiple paragraphs.@@ -167,6 +158,7 @@ The longer class description goes here which can include multiple paragraphs. |
@@ -190,6 +182,7 @@ The longer class description goes here which can include multiple paragraphs. |
@@ -213,6 +206,7 @@ The longer class description goes here which can include multiple paragraphs. |
- - -Description goes here - - +Description goes here - - -Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. Ham hock picanha burgdoggen pork belly rump bacon cupim. Bacon kielbasa sirloin shank strip steak ground round. Bresaola cow salami meatloaf pork chop leberkas flank turducken biltong meatball chuck pork tri-tip chicken. Ribeye corned beef shoulder, meatloaf strip steak jerky porchetta capicola alcatra ham. - - +Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. Ham hock picanha burgdoggen pork belly rump bacon cupim. Bacon kielbasa sirloin shank strip steak ground round. Bresaola cow salami meatloaf pork chop leberkas flank turducken biltong meatball chuck pork tri-tip chicken. Ribeye corned beef shoulder, meatloaf strip steak jerky porchetta capicola alcatra ham. |
- - -Description goes here - - +Description goes here @@ -303,19 +284,11 @@ Description goes here Returns-- -Returns information and results goes here. - - +Returns information and results goes here. Errors-- -Error information goes here - - +Error information goes here @@ -325,6 +298,7 @@ Error information goes here
Example: Descriptive Title of Method Example-- -Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. Ham hock picanha burgdoggen pork belly rump bacon cupim. Bacon kielbasa sirloin shank strip steak ground round. Bresaola cow salami meatloaf pork chop leberkas flank turducken biltong meatball chuck pork tri-tip chicken. Ribeye corned beef shoulder, meatloaf strip steak jerky porchetta capicola alcatra ham. - - +Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. Ham hock picanha burgdoggen pork belly rump bacon cupim. Bacon kielbasa sirloin shank strip steak ground round. Bresaola cow salami meatloaf pork chop leberkas flank turducken biltong meatball chuck pork tri-tip chicken. Ribeye corned beef shoulder, meatloaf strip steak jerky porchetta capicola alcatra ham. |
- -Intro description text about what the example is and how it can be used. - -
+Intro description text about what the example is and how it can be used.
- -Further explanation provided as needed. Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball. - -
+Further explanation provided as needed. Bacon ipsum dolor amet pork belly capicola sirloin venison alcatra ground round ham hock jowl turkey picanha bresaola pancetta brisket chicken fatback. Burgdoggen kevin salami jowl shoulder jerky leberkas meatball.
diff --git a/aio/content/guide/attribute-directives.md b/aio/content/guide/attribute-directives.md index d996857d5c..404a8ed975 100644 --- a/aio/content/guide/attribute-directives.md +++ b/aio/content/guide/attribute-directives.md @@ -522,12 +522,14 @@ The final source code follows: 最终的源码如下:import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
+
|
+
---|
@@ -121,6 +126,7 @@ is available to declarations of this module.
|
@@ -310,6 +317,7 @@ is available to declarations of this module.
|
|
+
---|
@@ -376,6 +386,7 @@ is available to declarations of this module.
|
@@ -389,6 +400,7 @@ is available to declarations of this module.
|
|
+
---|
@@ -419,6 +433,7 @@ is available to declarations of this module.
|
|
+
|
---|---|
@@ -481,11 +498,13 @@ is available to declarations of this module.
|
Declares that a class has dependencies that should be injected into the constructor when the dependency injector is creating an instance of this class. + |
|
+
|
---|---|
@@ -514,11 +535,7 @@ is available to declarations of this module.
| Specifies a CSS selector that identifies this directive within a template. Supported selectors include - -Does not support parent-child relationship selectors. - - +Does not support parent-child relationship selectors. |
@@ -535,6 +552,7 @@ Does not support parent-child relationship selectors.
@@ -602,6 +621,7 @@ so the @Directive configuration applies to components as well
|
|
+
---|
@@ -717,6 +739,7 @@ so the @Directive configuration applies to components as well
|
(implemented as class methods) + |
+
---|
@@ -843,6 +868,7 @@ so the @Directive configuration applies to components as well
|
@@ -896,6 +923,7 @@ so the @Directive configuration applies to components as well
|
|
+
---|
@@ -1022,6 +1052,7 @@ so the @Directive configuration applies to components as well
|
@@ -1280,6 +1296,7 @@ Use HTML tables to present tabular data. |
---|
@@ -1301,6 +1318,7 @@ Use HTML tables to present tabular data. |
@@ -1324,6 +1342,7 @@ Use HTML tables to present tabular data. |
@@ -1345,6 +1364,7 @@ Use HTML tables to present tabular data. |
@@ -1377,6 +1398,7 @@ Here is the markup for this table. |
---|
@@ -1398,6 +1420,7 @@ Here is the markup for this table. |
@@ -1421,6 +1444,7 @@ Here is the markup for this table. |
@@ -1442,6 +1466,7 @@ Here is the markup for this table. |
@@ -77,6 +78,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
---|
@@ -100,6 +102,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -122,6 +125,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -143,6 +147,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -164,6 +169,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -185,6 +191,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -206,6 +213,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -227,6 +235,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -250,6 +259,7 @@ calls the lifecycle hook methods in the following sequence at specific moments: |
@@ -338,6 +349,7 @@ Here's a brief description of each exercise: |
---|
@@ -356,6 +368,7 @@ Here's a brief description of each exercise: |
@@ -380,6 +393,7 @@ Here's a brief description of each exercise: |
@@ -400,6 +414,7 @@ Here's a brief description of each exercise: |
@@ -419,6 +434,7 @@ Here's a brief description of each exercise: |
@@ -438,6 +454,7 @@ Here's a brief description of each exercise: |
@@ -458,6 +475,7 @@ Here's a brief description of each exercise: |
@@ -486,6 +504,7 @@ Here's a brief description of each exercise: |
@@ -407,6 +409,7 @@ The following table summarizes the key characteristics of each feature module gr |
---|
@@ -493,6 +494,7 @@ It has a great deal of useful information including: |
---|
@@ -669,6 +672,7 @@ During each navigation, the `Router` emits navigation events through the `Router |
---|
@@ -2579,6 +2584,7 @@ to handle parameter access for both route parameters (`paramMap`) and query para |
---|
@@ -2876,6 +2875,7 @@ Here's a summary of the stand-alone functions, in order of likely utility: |
---|
@@ -3153,6 +3154,7 @@ Here are the most important static methods, in order of likely utility. |
---|
@@ -3412,6 +3417,7 @@ Here are the most useful methods for testers. |
---|
@@ -3693,6 +3700,7 @@ Here are the most useful `DebugElement` members for testers, in approximate orde |
---|
@@ -388,6 +389,7 @@ frameworks in how it actually works. |
---|
@@ -409,6 +411,7 @@ frameworks in how it actually works. |
@@ -430,6 +433,7 @@ frameworks in how it actually works. |
@@ -1015,6 +1020,7 @@ observing the following rules: |
---|
@@ -1038,6 +1044,7 @@ observing the following rules: |
@@ -1061,6 +1068,7 @@ observing the following rules: |
@@ -1084,6 +1092,7 @@ observing the following rules: |
@@ -1112,6 +1121,7 @@ observing the following rules: |
@@ -2910,6 +2921,7 @@ For PhoneCat you need to make the following changes in order to make things work |
---|
@@ -2933,6 +2945,7 @@ For PhoneCat you need to make the following changes in order to make things work |
@@ -2956,6 +2969,7 @@ For PhoneCat you need to make the following changes in order to make things work |
@@ -2979,6 +2993,7 @@ For PhoneCat you need to make the following changes in order to make things work |
@@ -3002,6 +3017,7 @@ For PhoneCat you need to make the following changes in order to make things work |
@@ -3025,6 +3041,7 @@ For PhoneCat you need to make the following changes in order to make things work |
\n 本章所引用的代码见
\n latest\n
", - "translation": "\n 最新版\n
", + "original": "latest", + "translation": "最新版", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n latest\n
", - "translation": "\n 最新版\n
", + "original": "latest", + "translation": "最新版", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { @@ -3475,13 +3470,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Browsers (Desktop & Mobile)\n
", - "translation": "\n 浏览器(桌面和移动)\n
", + "original": "Browsers (Desktop & Mobile)", + "translation": "浏览器(桌面和移动)", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Polyfills Required\n
", - "translation": "\n 需要的填充库\n
", + "original": "Polyfills Required", + "translation": "需要的填充库", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { @@ -3565,23 +3560,23 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Polyfill\n
", - "translation": "\n 填充库\n
", + "original": "Polyfill", + "translation": "填充库", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Licence\n
", - "translation": "\n 授权方式\n
", + "original": "Licence", + "translation": "授权方式", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Size*\n
", - "translation": "\n 大小*\n
", + "original": "Size*", + "translation": "大小*", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { - "original": "\n Public domain\n
", - "translation": "\n 公共域\n
", + "original": "Public domain", + "translation": "公共域", "sourceFile": "/Users/twer/private/GDE/content-1/guide/browser-support.md" }, { @@ -4185,7 +4180,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/cheatsheet.md" }, { - "original": "Declares that a class has dependencies that should be injected into the constructor when the dependency injector is creating an instance of this class.\n
", + "original": "", "translation": "声明一个类具有一些依赖,当依赖注入器试图创建该类的实例时,应该把这些依赖注入到该类的构造函数中。
", "sourceFile": "/Users/twer/private/GDE/content-1/guide/cheatsheet.md" }, @@ -4290,7 +4285,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/cheatsheet.md" }, { - "original": "(implemented as class methods)\n
", + "original": "", "translation": "由类的方法实现。
", "sourceFile": "/Users/twer/private/GDE/content-1/guide/cheatsheet.md" }, @@ -6910,13 +6905,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md" }, { - "original": "\n Future proofing: No need to remember @Injectable()
when you add a dependency later.\n
\n 面向未来: 没有必要记得在后来添加依赖的时候添加 @Injectable()
。\n
@Injectable()
when you add a dependency later.",
+ "translation": "面向未来: 没有必要记得在后来添加依赖的时候添加 @Injectable()
。",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md"
},
{
- "original": "\n Consistency: All services follow the same rules, and you don't have to wonder why a decorator is missing.\n
", - "translation": "\n 一致性:所有的服务都遵循同样的规则,不需要考虑为什么某个地方少了一个。\n
", + "original": "Consistency: All services follow the same rules, and you don't have to wonder why a decorator is missing.", + "translation": "一致性:所有的服务都遵循同样的规则,不需要考虑为什么某个地方少了一个。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md" }, { @@ -7250,13 +7245,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md" }, { - "original": "\n What if the dependency value isn't a class? Sometimes the thing you want to inject is a\n string, function, or object.\n
", - "translation": "\n 如果依赖值不是一个类呢?有时候想要注入的东西是一个字符串,函数或者对象。\n
", + "original": "What if the dependency value isn't a class? Sometimes the thing you want to inject is a\n string, function, or object.", + "translation": "如果依赖值不是一个类呢?有时候想要注入的东西是一个字符串,函数或者对象。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md" }, { - "original": "\n Applications often define configuration objects with lots of small facts\n (like the title of the application or the address of a web API endpoint)\n but these configuration objects aren't always instances of a class.\n They can be object literals such as this one:\n
", - "translation": "\n 应用程序经常为很多很小的因素定义配置对象(例如应用程序的标题或网络API终点的地址)。\n 但是这些配置对象不总是类的实例,它们可能是对象,如下面这个:\n
", + "original": "Applications often define configuration objects with lots of small facts\n (like the title of the application or the address of a web API endpoint)\n but these configuration objects aren't always instances of a class.\n They can be object literals such as this one:", + "translation": "应用程序经常为很多很小的因素定义配置对象(例如应用程序的标题或网络API终点的地址)。\n 但是这些配置对象不总是类的实例,它们可能是对象,如下面这个:", "sourceFile": "/Users/twer/private/GDE/content-1/guide/dependency-injection.md" }, { @@ -9605,33 +9600,33 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n State\n
", - "translation": "\n 状态\n
", + "original": "State", + "translation": "状态", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n Class if true\n
", - "translation": "\n 为真时的 CSS 类\n
", + "original": "Class if true", + "translation": "为真时的 CSS 类", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n Class if false\n
", - "translation": "\n 为假时的 CSS 类\n
", + "original": "Class if false", + "translation": "为假时的 CSS 类", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n The control has been visited.\n
", - "translation": "\n 控件被访问过。\n
", + "original": "The control has been visited.", + "translation": "控件被访问过。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n The control's value has changed.\n
", - "translation": "\n 控件的值变化了。\n
", + "original": "The control's value has changed.", + "translation": "控件的值变化了。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { - "original": "\n The control's value is valid.\n
", - "translation": "\n 控件的值有效。\n
", + "original": "The control's value is valid.", + "translation": "控件的值有效。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/forms.md" }, { @@ -12994,16 +12989,6 @@ "translation": "当Angular使用构造函数新建一个组件或指令后,就会按下面的顺序在特定时刻调用这些生命周期钩子方法:", "sourceFile": "/Users/twer/private/GDE/content-1/guide/lifecycle-hooks.md" }, - { - "original": "Hook\n
", - "translation": "\n 钩子\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/lifecycle-hooks.md" - }, - { - "original": "Purpose and Timing\n
", - "translation": "\n 目的和时机\n
Component\n
", - "translation": "\n 组件\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/lifecycle-hooks.md" - }, - { - "original": "Description\n
", - "translation": "\n 描述\n
\n\n Counter\n
", - "translation": "\n 计数器\n
", + "original": "Counter", + "translation": "计数器", "sourceFile": "/Users/twer/private/GDE/content-1/guide/lifecycle-hooks.md" }, { @@ -14595,18 +14570,18 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Feature Module\n
", - "translation": "\n 特性模块\n
", + "original": "Feature Module", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Guidelines\n
", - "translation": "\n 指导原则\n
", + "original": "Guidelines", + "translation": "指导原则", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Domain\n
", - "translation": "\n 领域\n
", + "original": "Domain", + "translation": "领域", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -14650,8 +14625,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Routed\n
", - "translation": "\n 路由特性模块\n
", + "original": "Routed", + "translation": "路由特性模块", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -14695,8 +14670,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Routing\n
", - "translation": "\n 路由模块\n
", + "original": "Routing", + "translation": "路由模块", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -14770,8 +14745,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Service\n
", - "translation": "\n 服务\n
", + "original": "Service", + "translation": "服务", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -14795,8 +14770,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Widget\n
", - "translation": "\n 窗口部件\n
", + "original": "Widget", + "translation": "窗口部件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -14835,173 +14810,173 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Feature Module\n
", - "translation": "\n 特性模块\n
", + "original": "Feature Module", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Declarations\n
", - "translation": "\n 声明`declarations`\n
", + "original": "Declarations", + "translation": "声明`declarations`", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Providers\n
", - "translation": "\n 提供商`providers`\n
", + "original": "Providers", + "translation": "提供商`providers`", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Exports\n
", - "translation": "\n 导出什么\n
", + "original": "Exports", + "translation": "导出什么", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Imported By\n
", - "translation": "\n 被谁导入\n
", + "original": "Imported By", + "translation": "被谁导入", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Examples\n
", - "translation": "\n 范例\n
", + "original": "Examples", + "translation": "范例", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Domain\n
", - "translation": "\n 领域\n
", + "original": "Domain", + "translation": "领域", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Top component\n
", - "translation": "\n 顶级组件\n
", + "original": "Top component", + "translation": "顶级组件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Feature, AppModule
\n
\n 特性模块和AppModule
\n
AppModule
",
+ "translation": "特性模块和AppModule
",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n ContactModule
(before routing)\n
\n ContactModule
(路由之前的那个例子)\n
ContactModule
(before routing)",
+ "translation": "ContactModule
(路由之前的那个例子)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n Routed\n
", - "translation": "\n 路由\n
", + "original": "Routed", + "translation": "路由", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Nobody\n
", - "translation": "\n 无\n
", + "original": "Nobody", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n ContactModule
, HeroModule
, CrisisModule
\n
\n ContactModule
、HeroModule
、CrisisModule
\n
ContactModule
, HeroModule
, CrisisModule
",
+ "translation": "ContactModule
、HeroModule
、CrisisModule
",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n Routing\n
", - "translation": "\n 路由\n
", + "original": "Routing", + "translation": "路由", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n HttpModule
, CoreModule
\n
\n HttpModule
、CoreModule
\n
HttpModule
, CoreModule
",
+ "translation": "HttpModule
、CoreModule
",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n Service\n
", - "translation": "\n 服务\n
", + "original": "Service", + "translation": "服务", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n HttpModule
, CoreModule
\n
\n HttpModule
、CoreModule
\n
HttpModule
, CoreModule
",
+ "translation": "HttpModule
、CoreModule
",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n Widget\n
", - "translation": "\n 窗口部件\n
", + "original": "Widget", + "translation": "窗口部件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Feature\n
", - "translation": "\n 特性模块\n
", + "original": "Feature", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n CommonModule
, SharedModule
\n
\n CommonModule
、SharedModule
\n
CommonModule
, SharedModule
",
+ "translation": "CommonModule
、SharedModule
",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
@@ -15155,13 +15130,13 @@
"sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md"
},
{
- "original": "\n Property\n
", - "translation": "\n 属性\n
", + "original": "Property", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule-faq.md" }, { @@ -15345,7 +15320,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, { - "original": "**NgModules** help organize an application into cohesive blocks of functionality.\n", + "original": "", "translation": "**Angular 模块**能帮你把应用组织成多个内聚的功能块。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, @@ -16130,7 +16105,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, { - "original": "While you can do everything within the root module,\nfeature modules help you partition the app into areas of specific interest and purpose.\n", + "original": "", "translation": "虽然这些都能在根模块中做,但特性模块可以帮助我们把应用切分成具有特定关注点和目标的不同区域。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, @@ -16680,7 +16655,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, { - "original": "`UserService` is an application-wide singleton.\nYou don't want each module to have its own separate instance.\nYet there is [a real danger](guide/ngmodule-faq#q-why-bad) of that happening\n\nif the `SharedModule` provides the `UserService`.", + "original": "if the `SharedModule` provides the `UserService`.", "translation": "`UserService`是全应用级单例。\n我们不希望每个模块都各自有它的实例。\n而如果由`SharedModule`提供`UserService`,就会导致[铁板钉钉的危险](guide/ngmodule-faq#q-why-bad)。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, @@ -16935,7 +16910,7 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, { - "original": "Only the root `AppModule` should import the `CoreModule`.\n[Bad things happen](guide/ngmodule-faq#q-why-bad) if a lazy-loaded module imports it.\n", + "original": "", "translation": "只有根模块`AppModule`才能导入`CoreModule`。\n 如果惰性加载模块导入了它,就会[出问题](guide/ngmodule-faq#q-why-bad)。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/ngmodule.md" }, @@ -17725,8 +17700,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/pipes.md" }, { - "original": "\n Property\n
", - "translation": "\n 属性\n
", + "original": "Property", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-1/guide/reactive-forms.md" }, { - "original": "\n Description\n
", - "translation": "\n 说明\n
", + "original": "Description", + "translation": "说明", "sourceFile": "/Users/twer/private/GDE/content-1/guide/reactive-forms.md" }, { @@ -19885,123 +19860,118 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Router Part\n
", - "translation": "\n 路由器部件\n
", + "original": "Router Part", + "translation": "路由器部件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Meaning\n
", - "translation": "\n 含义\n
", + "original": "Meaning", + "translation": "含义", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Router
\n
\n Router
(路由器)\n
Router
",
+ "translation": "Router
(路由器)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n Displays the application component for the active URL.\n Manages navigation from one component to the next.\n
", - "translation": "\n 为激活的URL显示应用组件。管理从一个组件到另一个组件的导航\n
", + "original": "Displays the application component for the active URL.\n Manages navigation from one component to the next.", + "translation": "为激活的URL显示应用组件。管理从一个组件到另一个组件的导航", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n RouterModule
\n
\n RouterModule
(路由器模块)\n
RouterModule
",
+ "translation": "RouterModule
(路由器模块)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n A separate NgModule that provides the necessary service providers\n and directives for navigating through application views.\n
", - "translation": "\n 一个独立的Angular模块,用于提供所需的服务提供商,以及用来在应用视图之间进行导航的指令。\n
", + "original": "A separate NgModule that provides the necessary service providers\n and directives for navigating through application views.", + "translation": "一个独立的Angular模块,用于提供所需的服务提供商,以及用来在应用视图之间进行导航的指令。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Routes
\n
\n Routes
(路由数组)\n
Routes
",
+ "translation": "Routes
(路由数组)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n Defines an array of Routes, each mapping a URL path to a component.\n
", - "translation": "\n 定义了一个路由数组,每一个都会把一个URL路径映射到一个组件。\n
", + "original": "Defines an array of Routes, each mapping a URL path to a component.", + "translation": "定义了一个路由数组,每一个都会把一个URL路径映射到一个组件。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Route
\n
\n Route
(路由)\n
Route
",
+ "translation": "Route
(路由)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n Defines how the router should navigate to a component based on a URL pattern.\n Most routes consist of a path and a component type.\n
", - "translation": "\n 定义路由器该如何根据URL模式(pattern)来导航到组件。大多数路由都由路径和组件类构成。\n
", + "original": "Defines how the router should navigate to a component based on a URL pattern.\n Most routes consist of a path and a component type.", + "translation": "定义路由器该如何根据URL模式(pattern)来导航到组件。大多数路由都由路径和组件类构成。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n RouterOutlet
\n
\n RouterOutlet
(路由出口)\n
RouterOutlet
",
+ "translation": "RouterOutlet
(路由出口)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n The directive (<router-outlet>
) that marks where the router displays a view.\n
\n 该指令(<router-outlet>
)用来标记出路由器该在哪里显示视图。\n
<router-outlet>
) that marks where the router displays a view.",
+ "translation": "该指令(<router-outlet>
)用来标记出路由器该在哪里显示视图。",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n RouterLink
\n
\n RouterLink
(路由链接)\n
RouterLink
",
+ "translation": "RouterLink
(路由链接)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n The directive for binding a clickable HTML element to\n a route. Clicking an element with a routerLink
directive\n that is bound to a link parameters array triggers a navigation.\n
\n 该指令用来把一个可点击的HTML元素绑定到路由。\n 点击带有绑定到字符串或链接参数数组的routerLink
指令的元素就会触发一次导航。\n
routerLink
directive\n that is bound to a link parameters array triggers a navigation.",
+ "translation": "该指令用来把一个可点击的HTML元素绑定到路由。\n 点击带有绑定到字符串或链接参数数组的routerLink
指令的元素就会触发一次导航。",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n RouterLinkActive
\n
\n RouterLinkActive
(活动路由链接)\n
RouterLinkActive
",
+ "translation": "RouterLinkActive
(活动路由链接)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n The directive for adding/removing classes from an HTML element when an associated\n routerLink
contained on or inside the element becomes active/inactive.\n
\n 当HTML元素上或元素内的routerLink
变为激活或非激活状态时,该指令为这个HTML元素添加或移除CSS类。\n
routerLink
contained on or inside the element becomes active/inactive.",
+ "translation": "当HTML元素上或元素内的routerLink
变为激活或非激活状态时,该指令为这个HTML元素添加或移除CSS类。",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n ActivatedRoute
\n
\n ActivatedRoute
(激活的路由)\n
ActivatedRoute
",
+ "translation": "ActivatedRoute
(激活的路由)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n A service that is provided to each route component that contains route specific\n information such as route parameters, static data, resolve data, global query params, and the global fragment.\n
", - "translation": "\n 为每个路由组件提供提供的一个服务,它包含特定于路由的信息,比如路由参数、静态数据、解析数据、全局查询参数和全局碎片(fragment)。\n
", + "original": "A service that is provided to each route component that contains route specific\n information such as route parameters, static data, resolve data, global query params, and the global fragment.", + "translation": "为每个路由组件提供提供的一个服务,它包含特定于路由的信息,比如路由参数、静态数据、解析数据、全局查询参数和全局碎片(fragment)。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n RouterState
\n
\n RouterState
(路由器状态)\n
RouterState
",
+ "translation": "RouterState
(路由器状态)",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n The current state of the router including a tree of the currently activated\n routes together with convenience methods for traversing the route tree.\n
", - "translation": "\n 路由器的当前状态包含了一棵由程序中激活的路由构成的树。它包含一些用于遍历路由树的快捷方法。\n
", + "original": "The current state of the router including a tree of the currently activated\n routes together with convenience methods for traversing the route tree.", + "translation": "路由器的当前状态包含了一棵由程序中激活的路由构成的树。它包含一些用于遍历路由树的快捷方法。", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n Link parameters array\n
", - "translation": "\n 链接参数数组\n
", + "original": "Link parameters array", + "translation": "链接参数数组", "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" }, { - "original": "\n An array that the router interprets as a routing instruction.\n You can bind that array toa RouterLink
or pass the array as an argument to\n the Router.navigate
method.\n
\n 这个数组会被路由器解释成一个路由操作指南。我们可以把一个RouterLink
绑定到该数组,或者把它作为参数传给Router.navigate
方法。\n
RouterLink
or pass the array as an argument to\n the Router.navigate
method.",
+ "translation": "这个数组会被路由器解释成一个路由操作指南。我们可以把一个RouterLink
绑定到该数组,或者把它作为参数传给Router.navigate
方法。",
"sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md"
},
{
- "original": "\n Routing component\n
", - "translation": "\n 路由组件\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/router.md" - }, - { - "original": " An Angular component with a RouterOutlet
that displays views based on router navigations.\n
\n 一个带有RouterOutlet
的Angular组件,它根据路由器的导航来显示相应的视图。\n
\n File\n
", - "translation": "\n 文件\n
", + "original": "File", + "translation": "文件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/setup.md" }, { - "original": "\n Purpose\n
", - "translation": "\n 用途\n
", + "original": "Purpose", + "translation": "用途", "sourceFile": "/Users/twer/private/GDE/content-1/guide/setup.md" }, { @@ -25250,13 +25220,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { @@ -25305,13 +25275,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { @@ -25485,13 +25455,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/styleguide.md" }, { @@ -27665,78 +27635,48 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Data direction\n
", - "translation": "\n 数据方向\n
", + "original": "Data direction", + "translation": "数据方向", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Syntax\n
", - "translation": "\n 语法\n
", + "original": "Syntax", + "translation": "语法", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Type\n
", - "translation": "\n 绑定类型\n
", + "original": "Type", + "translation": "绑定类型", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n One-way\n
", - "translation": "\n 单向\n
", + "original": "One-way", + "translation": "单向", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n from data source\n
", - "translation": "\n 从数据源\n
", + "original": "from data source", + "translation": "从数据源", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n to view target\n
", - "translation": "\n 到视图目标\n
", + "original": "to view target", + "translation": "到视图目标", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Interpolation\n
", - "translation": "\n 插值表达式\n
", + "original": "Interpolation", + "translation": "插值表达式", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Class\n
", - "translation": "\n 类\n
", + "original": "Class", + "translation": "类", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Style\n
", - "translation": "\n 样式\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "One-way
", - "translation": "\n 单向\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "from view target
", - "translation": "\n 从视图目标\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "to data source\n
", - "translation": "\n 到数据源\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "\n Event\n
", - "translation": "\n 事件\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", - "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" - }, - { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", + "original": "Style", + "translation": "样式", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { @@ -27920,78 +27860,78 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Type\n
", - "translation": "\n 绑定类型\n
", + "original": "Type", + "translation": "绑定类型", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Target\n
", - "translation": "\n 目标\n
", + "original": "Target", + "translation": "目标", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Examples\n
", - "translation": "\n 范例\n
", + "original": "Examples", + "translation": "范例", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Element property\n
", - "translation": "\n 元素的 property\n
", + "original": "Element property", + "translation": "元素的 property", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Component property\n
", - "translation": "\n 组件的 property\n
", + "original": "Component property", + "translation": "组件的 property", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Directive property\n
", - "translation": "\n 指令的 property\n
", + "original": "Directive property", + "translation": "指令的 property", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Event\n
", - "translation": "\n 事件\n
", + "original": "Event", + "translation": "事件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Element event\n
", - "translation": "\n 元素的事件\n
", + "original": "Element event", + "translation": "元素的事件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Component event\n
", - "translation": "\n 组件的事件\n
", + "original": "Component event", + "translation": "组件的事件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Directive event\n
", - "translation": "\n 指令的事件\n
", + "original": "Directive event", + "translation": "指令的事件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", + "original": "Two-way", + "translation": "双向", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Event and property\n
", - "translation": "\n 事件与 property\n
", + "original": "Event and property", + "translation": "事件与 property", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Attribute (the exception)\n
", - "translation": "\n attribute(例外情况)\n
", + "original": "Attribute (the exception)", + "translation": "attribute(例外情况)", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Class\n
", - "translation": "\n CSS 类\n
", + "original": "Class", + "translation": "CSS 类", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Style\n
", - "translation": "\n 样式\n
", + "original": "Style", + "translation": "样式", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { @@ -29345,8 +29285,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { - "original": "\n Aliasing input/output properties\n
", - "translation": "\n 给输入/输出属性起别名\n
", + "original": "Aliasing input/output properties", + "translation": "给输入/输出属性起别名", "sourceFile": "/Users/twer/private/GDE/content-1/guide/template-syntax.md" }, { @@ -29665,13 +29605,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Technology\n
", - "translation": "\n 技术\n
", + "original": "Technology", + "translation": "技术", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Purpose\n
", - "translation": "\n 目的\n
", + "original": "Purpose", + "translation": "目的", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -29680,8 +29620,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Angular testing utilities\n
", - "translation": "\n Angular测试工具\n
", + "original": "Angular testing utilities", + "translation": "Angular测试工具", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -31895,13 +31835,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Function\n
", - "translation": "\n 函数\n
", + "original": "Function", + "translation": "函数", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -32000,13 +31940,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Methods\n
", - "translation": "\n 方法\n
", + "original": "Methods", + "translation": "方法", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -32130,13 +32070,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Properties\n
", - "translation": "\n 属性\n
", + "original": "Properties", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -32185,13 +32125,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Methods\n
", - "translation": "\n 方法\n
", + "original": "Methods", + "translation": "方法", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -32270,13 +32210,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Member\n
", - "translation": "\n 成员\n
", + "original": "Member", + "translation": "成员", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -32410,13 +32350,13 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n File\n
", - "translation": "\n 文件\n
", + "original": "File", + "translation": "文件", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-1/guide/testing.md" }, { @@ -33335,33 +33275,33 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Binding definition\n
", - "translation": "\n 绑定定义\n
", + "original": "Binding definition", + "translation": "绑定定义", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Template syntax\n
", - "translation": "\n 模板语法\n
", + "original": "Template syntax", + "translation": "模板语法", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Attribute binding\n
", - "translation": "\n 属性(Attribute)绑定\n
", + "original": "Attribute binding", + "translation": "属性(Attribute)绑定", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Expression binding\n
", - "translation": "\n 表达式绑定\n
", + "original": "Expression binding", + "translation": "表达式绑定", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n One-way binding\n
", - "translation": "\n 单向绑定\n
", + "original": "One-way binding", + "translation": "单向绑定", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Two-way binding\n
", - "translation": "\n 双向绑定\n
", + "original": "Two-way binding", + "translation": "双向绑定", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { @@ -34320,18 +34260,18 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Previous code\n
", - "translation": "\n 老代码\n
", + "original": "Previous code", + "translation": "老代码", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n New code\n
", - "translation": "\n 新代码\n
", + "original": "New code", + "translation": "新代码", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { - "original": "\n Notes\n
", - "translation": "\n 说明\n
", + "original": "Notes", + "translation": "说明", "sourceFile": "/Users/twer/private/GDE/content-1/guide/upgrade.md" }, { @@ -34770,8 +34710,8 @@ "sourceFile": "/Users/twer/private/GDE/content-1/guide/visual-studio-2015.md" }, { - "original": "\n 本章所引用的代码见
\n latest\n
", - "translation": "\n 最新版\n
", + "original": "latest", + "translation": "最新版", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n latest\n
", - "translation": "\n 最新版\n
", + "original": "latest", + "translation": "最新版", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { @@ -3080,13 +3075,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Browsers (Desktop & Mobile)\n
", - "translation": "\n 浏览器(桌面和移动)\n
", + "original": "Browsers (Desktop & Mobile)", + "translation": "浏览器(桌面和移动)", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Polyfills Required\n
", - "translation": "\n 需要的填充库\n
", + "original": "Polyfills Required", + "translation": "需要的填充库", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { @@ -3180,23 +3175,23 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Polyfill\n
", - "translation": "\n 填充库\n
", + "original": "Polyfill", + "translation": "填充库", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Licence\n
", - "translation": "\n 授权方式\n
", + "original": "Licence", + "translation": "授权方式", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Size*\n
", - "translation": "\n 大小*\n
", + "original": "Size*", + "translation": "大小*", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { - "original": "\n Public domain\n
", - "translation": "\n 公共域\n
", + "original": "Public domain", + "translation": "公共域", "sourceFile": "/Users/twer/private/GDE/content-2/guide/browser-support.md" }, { @@ -3805,7 +3800,7 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/cheatsheet.md" }, { - "original": "Declares that a class has dependencies that should be injected into the constructor when the dependency injector is creating an instance of this class.\n
", + "original": "", "translation": "声明一个类具有一些依赖,当依赖注入器试图创建该类的实例时,应该把这些依赖注入到该类的构造函数中。
", "sourceFile": "/Users/twer/private/GDE/content-2/guide/cheatsheet.md" }, @@ -3910,7 +3905,7 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/cheatsheet.md" }, { - "original": "(implemented as class methods)\n
", + "original": "", "translation": "由类的方法实现。
", "sourceFile": "/Users/twer/private/GDE/content-2/guide/cheatsheet.md" }, @@ -8165,33 +8160,33 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n State\n
", - "translation": "\n 状态\n
", + "original": "State", + "translation": "状态", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n Class if true\n
", - "translation": "\n 为真时的 CSS 类\n
", + "original": "Class if true", + "translation": "为真时的 CSS 类", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n Class if false\n
", - "translation": "\n 为假时的 CSS 类\n
", + "original": "Class if false", + "translation": "为假时的 CSS 类", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n The control has been visited.\n
", - "translation": "\n 控件被访问过。\n
", + "original": "The control has been visited.", + "translation": "控件被访问过。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n The control's value has changed.\n
", - "translation": "\n 控件的值变化了。\n
", + "original": "The control's value has changed.", + "translation": "控件的值变化了。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { - "original": "\n The control's value is valid.\n
", - "translation": "\n 控件的值有效。\n
", + "original": "The control's value is valid.", + "translation": "控件的值有效。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/forms.md" }, { @@ -10999,16 +10994,6 @@ "translation": "当Angular使用构造函数新建一个组件或指令后,就会按下面的顺序在特定时刻调用这些生命周期钩子方法:", "sourceFile": "/Users/twer/private/GDE/content-2/guide/lifecycle-hooks.md" }, - { - "original": "Hook\n
", - "translation": "\n 钩子\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/lifecycle-hooks.md" - }, - { - "original": "Purpose and Timing\n
", - "translation": "\n 目的和时机\n
Component\n
", - "translation": "\n 组件\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/lifecycle-hooks.md" - }, - { - "original": "Description\n
", - "translation": "\n 描述\n
\n\n Counter\n
", - "translation": "\n 计数器\n
", + "original": "Counter", + "translation": "计数器", "sourceFile": "/Users/twer/private/GDE/content-2/guide/lifecycle-hooks.md" }, { @@ -12580,18 +12555,18 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Feature Module\n
", - "translation": "\n 特性模块\n
", + "original": "Feature Module", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Guidelines\n
", - "translation": "\n 指导原则\n
", + "original": "Guidelines", + "translation": "指导原则", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Domain\n
", - "translation": "\n 领域\n
", + "original": "Domain", + "translation": "领域", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -12635,8 +12610,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Routed\n
", - "translation": "\n 路由特性模块\n
", + "original": "Routed", + "translation": "路由特性模块", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -12680,8 +12655,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Routing\n
", - "translation": "\n 路由模块\n
", + "original": "Routing", + "translation": "路由模块", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -12755,8 +12730,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Service\n
", - "translation": "\n 服务\n
", + "original": "Service", + "translation": "服务", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -12780,8 +12755,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Widget\n
", - "translation": "\n 窗口部件\n
", + "original": "Widget", + "translation": "窗口部件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -12820,173 +12795,173 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Feature Module\n
", - "translation": "\n 特性模块\n
", + "original": "Feature Module", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Declarations\n
", - "translation": "\n 声明`declarations`\n
", + "original": "Declarations", + "translation": "声明`declarations`", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Providers\n
", - "translation": "\n 提供商`providers`\n
", + "original": "Providers", + "translation": "提供商`providers`", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Exports\n
", - "translation": "\n 导出什么\n
", + "original": "Exports", + "translation": "导出什么", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Imported By\n
", - "translation": "\n 被谁导入\n
", + "original": "Imported By", + "translation": "被谁导入", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Examples\n
", - "translation": "\n 范例\n
", + "original": "Examples", + "translation": "范例", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Domain\n
", - "translation": "\n 领域\n
", + "original": "Domain", + "translation": "领域", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Top component\n
", - "translation": "\n 顶级组件\n
", + "original": "Top component", + "translation": "顶级组件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Feature, AppModule
\n
\n 特性模块和AppModule
\n
AppModule
",
+ "translation": "特性模块和AppModule
",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n ContactModule
(before routing)\n
\n ContactModule
(路由之前的那个例子)\n
ContactModule
(before routing)",
+ "translation": "ContactModule
(路由之前的那个例子)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n Routed\n
", - "translation": "\n 路由\n
", + "original": "Routed", + "translation": "路由", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Nobody\n
", - "translation": "\n 无\n
", + "original": "Nobody", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n ContactModule
, HeroModule
, CrisisModule
\n
\n ContactModule
、HeroModule
、CrisisModule
\n
ContactModule
, HeroModule
, CrisisModule
",
+ "translation": "ContactModule
、HeroModule
、CrisisModule
",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n Routing\n
", - "translation": "\n 路由\n
", + "original": "Routing", + "translation": "路由", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n HttpModule
, CoreModule
\n
\n HttpModule
、CoreModule
\n
HttpModule
, CoreModule
",
+ "translation": "HttpModule
、CoreModule
",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n Service\n
", - "translation": "\n 服务\n
", + "original": "Service", + "translation": "服务", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n No\n
", - "translation": "\n 无\n
", + "original": "No", + "translation": "无", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n HttpModule
, CoreModule
\n
\n HttpModule
、CoreModule
\n
HttpModule
, CoreModule
",
+ "translation": "HttpModule
、CoreModule
",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n Widget\n
", - "translation": "\n 窗口部件\n
", + "original": "Widget", + "translation": "窗口部件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Rare\n
", - "translation": "\n 罕见\n
", + "original": "Rare", + "translation": "罕见", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Yes\n
", - "translation": "\n 有\n
", + "original": "Yes", + "translation": "有", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Feature\n
", - "translation": "\n 特性模块\n
", + "original": "Feature", + "translation": "特性模块", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n CommonModule
, SharedModule
\n
\n CommonModule
、SharedModule
\n
CommonModule
, SharedModule
",
+ "translation": "CommonModule
、SharedModule
",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
@@ -13130,13 +13105,13 @@
"sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md"
},
{
- "original": "\n Property\n
", - "translation": "\n 属性\n
", + "original": "Property", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule-faq.md" }, { @@ -13320,7 +13295,7 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule.md" }, { - "original": "**NgModules** help organize an application into cohesive blocks of functionality.\n", + "original": "", "translation": "**Angular 模块**能帮你把应用组织成多个内聚的功能块。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/ngmodule.md" }, @@ -14835,8 +14810,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/pipes.md" }, { - "original": "\n Property\n
", - "translation": "\n 属性\n
", + "original": "Property", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-2/guide/reactive-forms.md" }, { - "original": "\n Description\n
", - "translation": "\n 说明\n
", + "original": "Description", + "translation": "说明", "sourceFile": "/Users/twer/private/GDE/content-2/guide/reactive-forms.md" }, { @@ -16995,123 +16970,118 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Router Part\n
", - "translation": "\n 路由器部件\n
", + "original": "Router Part", + "translation": "路由器部件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Meaning\n
", - "translation": "\n 含义\n
", + "original": "Meaning", + "translation": "含义", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Router
\n
\n Router
(路由器)\n
Router
",
+ "translation": "Router
(路由器)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n Displays the application component for the active URL.\n Manages navigation from one component to the next.\n
", - "translation": "\n 为激活的URL显示应用组件。管理从一个组件到另一个组件的导航\n
", + "original": "Displays the application component for the active URL.\n Manages navigation from one component to the next.", + "translation": "为激活的URL显示应用组件。管理从一个组件到另一个组件的导航", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n RouterModule
\n
\n RouterModule
(路由器模块)\n
RouterModule
",
+ "translation": "RouterModule
(路由器模块)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n A separate NgModule that provides the necessary service providers\n and directives for navigating through application views.\n
", - "translation": "\n 一个独立的Angular模块,用于提供所需的服务提供商,以及用来在应用视图之间进行导航的指令。\n
", + "original": "A separate NgModule that provides the necessary service providers\n and directives for navigating through application views.", + "translation": "一个独立的Angular模块,用于提供所需的服务提供商,以及用来在应用视图之间进行导航的指令。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Routes
\n
\n Routes
(路由数组)\n
Routes
",
+ "translation": "Routes
(路由数组)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n Defines an array of Routes, each mapping a URL path to a component.\n
", - "translation": "\n 定义了一个路由数组,每一个都会把一个URL路径映射到一个组件。\n
", + "original": "Defines an array of Routes, each mapping a URL path to a component.", + "translation": "定义了一个路由数组,每一个都会把一个URL路径映射到一个组件。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Route
\n
\n Route
(路由)\n
Route
",
+ "translation": "Route
(路由)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n Defines how the router should navigate to a component based on a URL pattern.\n Most routes consist of a path and a component type.\n
", - "translation": "\n 定义路由器该如何根据URL模式(pattern)来导航到组件。大多数路由都由路径和组件类构成。\n
", + "original": "Defines how the router should navigate to a component based on a URL pattern.\n Most routes consist of a path and a component type.", + "translation": "定义路由器该如何根据URL模式(pattern)来导航到组件。大多数路由都由路径和组件类构成。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n RouterOutlet
\n
\n RouterOutlet
(路由出口)\n
RouterOutlet
",
+ "translation": "RouterOutlet
(路由出口)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n The directive (<router-outlet>
) that marks where the router displays a view.\n
\n 该指令(<router-outlet>
)用来标记出路由器该在哪里显示视图。\n
<router-outlet>
) that marks where the router displays a view.",
+ "translation": "该指令(<router-outlet>
)用来标记出路由器该在哪里显示视图。",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n RouterLink
\n
\n RouterLink
(路由链接)\n
RouterLink
",
+ "translation": "RouterLink
(路由链接)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n The directive for binding a clickable HTML element to\n a route. Clicking an element with a routerLink
directive\n that is bound to a link parameters array triggers a navigation.\n
\n 该指令用来把一个可点击的HTML元素绑定到路由。\n 点击带有绑定到字符串或链接参数数组的routerLink
指令的元素就会触发一次导航。\n
routerLink
directive\n that is bound to a link parameters array triggers a navigation.",
+ "translation": "该指令用来把一个可点击的HTML元素绑定到路由。\n 点击带有绑定到字符串或链接参数数组的routerLink
指令的元素就会触发一次导航。",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n RouterLinkActive
\n
\n RouterLinkActive
(活动路由链接)\n
RouterLinkActive
",
+ "translation": "RouterLinkActive
(活动路由链接)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n The directive for adding/removing classes from an HTML element when an associated\n routerLink
contained on or inside the element becomes active/inactive.\n
\n 当HTML元素上或元素内的routerLink
变为激活或非激活状态时,该指令为这个HTML元素添加或移除CSS类。\n
routerLink
contained on or inside the element becomes active/inactive.",
+ "translation": "当HTML元素上或元素内的routerLink
变为激活或非激活状态时,该指令为这个HTML元素添加或移除CSS类。",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n ActivatedRoute
\n
\n ActivatedRoute
(激活的路由)\n
ActivatedRoute
",
+ "translation": "ActivatedRoute
(激活的路由)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n A service that is provided to each route component that contains route specific\n information such as route parameters, static data, resolve data, global query params, and the global fragment.\n
", - "translation": "\n 为每个路由组件提供提供的一个服务,它包含特定于路由的信息,比如路由参数、静态数据、解析数据、全局查询参数和全局碎片(fragment)。\n
", + "original": "A service that is provided to each route component that contains route specific\n information such as route parameters, static data, resolve data, global query params, and the global fragment.", + "translation": "为每个路由组件提供提供的一个服务,它包含特定于路由的信息,比如路由参数、静态数据、解析数据、全局查询参数和全局碎片(fragment)。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n RouterState
\n
\n RouterState
(路由器状态)\n
RouterState
",
+ "translation": "RouterState
(路由器状态)",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n The current state of the router including a tree of the currently activated\n routes together with convenience methods for traversing the route tree.\n
", - "translation": "\n 路由器的当前状态包含了一棵由程序中激活的路由构成的树。它包含一些用于遍历路由树的快捷方法。\n
", + "original": "The current state of the router including a tree of the currently activated\n routes together with convenience methods for traversing the route tree.", + "translation": "路由器的当前状态包含了一棵由程序中激活的路由构成的树。它包含一些用于遍历路由树的快捷方法。", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n Link parameters array\n
", - "translation": "\n 链接参数数组\n
", + "original": "Link parameters array", + "translation": "链接参数数组", "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" }, { - "original": "\n An array that the router interprets as a routing instruction.\n You can bind that array toa RouterLink
or pass the array as an argument to\n the Router.navigate
method.\n
\n 这个数组会被路由器解释成一个路由操作指南。我们可以把一个RouterLink
绑定到该数组,或者把它作为参数传给Router.navigate
方法。\n
RouterLink
or pass the array as an argument to\n the Router.navigate
method.",
+ "translation": "这个数组会被路由器解释成一个路由操作指南。我们可以把一个RouterLink
绑定到该数组,或者把它作为参数传给Router.navigate
方法。",
"sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md"
},
{
- "original": "\n Routing component\n
", - "translation": "\n 路由组件\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/router.md" - }, - { - "original": " An Angular component with a RouterOutlet
that displays views based on router navigations.\n
\n 一个带有RouterOutlet
的Angular组件,它根据路由器的导航来显示相应的视图。\n
\n File\n
", - "translation": "\n 文件\n
", + "original": "File", + "translation": "文件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/setup.md" }, { - "original": "\n Purpose\n
", - "translation": "\n 用途\n
", + "original": "Purpose", + "translation": "用途", "sourceFile": "/Users/twer/private/GDE/content-2/guide/setup.md" }, { @@ -22360,13 +22330,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { @@ -22415,13 +22385,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { @@ -22595,13 +22565,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n Symbol Name\n
", - "translation": "\n 符号名\n
", + "original": "Symbol Name", + "translation": "符号名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { - "original": "\n File Name\n
", - "translation": "\n 文件名\n
", + "original": "File Name", + "translation": "文件名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/styleguide.md" }, { @@ -24775,78 +24745,48 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Data direction\n
", - "translation": "\n 数据方向\n
", + "original": "Data direction", + "translation": "数据方向", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Syntax\n
", - "translation": "\n 语法\n
", + "original": "Syntax", + "translation": "语法", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Type\n
", - "translation": "\n 绑定类型\n
", + "original": "Type", + "translation": "绑定类型", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n One-way\n
", - "translation": "\n 单向\n
", + "original": "One-way", + "translation": "单向", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n from data source\n
", - "translation": "\n 从数据源\n
", + "original": "from data source", + "translation": "从数据源", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n to view target\n
", - "translation": "\n 到视图目标\n
", + "original": "to view target", + "translation": "到视图目标", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Interpolation\n
", - "translation": "\n 插值表达式\n
", + "original": "Interpolation", + "translation": "插值表达式", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Class\n
", - "translation": "\n 类\n
", + "original": "Class", + "translation": "类", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Style\n
", - "translation": "\n 样式\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "One-way
", - "translation": "\n 单向\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "from view target
", - "translation": "\n 从视图目标\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "to data source\n
", - "translation": "\n 到数据源\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "\n Event\n
", - "translation": "\n 事件\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", - "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" - }, - { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", + "original": "Style", + "translation": "样式", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { @@ -25030,78 +24970,78 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Type\n
", - "translation": "\n 绑定类型\n
", + "original": "Type", + "translation": "绑定类型", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Target\n
", - "translation": "\n 目标\n
", + "original": "Target", + "translation": "目标", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Examples\n
", - "translation": "\n 范例\n
", + "original": "Examples", + "translation": "范例", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Element property\n
", - "translation": "\n 元素的 property\n
", + "original": "Element property", + "translation": "元素的 property", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Component property\n
", - "translation": "\n 组件的 property\n
", + "original": "Component property", + "translation": "组件的 property", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Directive property\n
", - "translation": "\n 指令的 property\n
", + "original": "Directive property", + "translation": "指令的 property", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Event\n
", - "translation": "\n 事件\n
", + "original": "Event", + "translation": "事件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Element event\n
", - "translation": "\n 元素的事件\n
", + "original": "Element event", + "translation": "元素的事件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Component event\n
", - "translation": "\n 组件的事件\n
", + "original": "Component event", + "translation": "组件的事件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Directive event\n
", - "translation": "\n 指令的事件\n
", + "original": "Directive event", + "translation": "指令的事件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Two-way\n
", - "translation": "\n 双向\n
", + "original": "Two-way", + "translation": "双向", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Event and property\n
", - "translation": "\n 事件与 property\n
", + "original": "Event and property", + "translation": "事件与 property", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Attribute (the exception)\n
", - "translation": "\n attribute(例外情况)\n
", + "original": "Attribute (the exception)", + "translation": "attribute(例外情况)", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Class\n
", - "translation": "\n CSS 类\n
", + "original": "Class", + "translation": "CSS 类", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Style\n
", - "translation": "\n 样式\n
", + "original": "Style", + "translation": "样式", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { @@ -26405,8 +26345,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { - "original": "\n Aliasing input/output properties\n
", - "translation": "\n 给输入/输出属性起别名\n
", + "original": "Aliasing input/output properties", + "translation": "给输入/输出属性起别名", "sourceFile": "/Users/twer/private/GDE/content-2/guide/template-syntax.md" }, { @@ -26725,13 +26665,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Technology\n
", - "translation": "\n 技术\n
", + "original": "Technology", + "translation": "技术", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Purpose\n
", - "translation": "\n 目的\n
", + "original": "Purpose", + "translation": "目的", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -26740,8 +26680,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Angular testing utilities\n
", - "translation": "\n Angular测试工具\n
", + "original": "Angular testing utilities", + "translation": "Angular测试工具", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -28955,13 +28895,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Function\n
", - "translation": "\n 函数\n
", + "original": "Function", + "translation": "函数", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -29060,13 +29000,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Methods\n
", - "translation": "\n 方法\n
", + "original": "Methods", + "translation": "方法", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -29190,13 +29130,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Properties\n
", - "translation": "\n 属性\n
", + "original": "Properties", + "translation": "属性", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -29245,13 +29185,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Methods\n
", - "translation": "\n 方法\n
", + "original": "Methods", + "translation": "方法", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -29330,13 +29270,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Member\n
", - "translation": "\n 成员\n
", + "original": "Member", + "translation": "成员", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -29470,13 +29410,13 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n File\n
", - "translation": "\n 文件\n
", + "original": "File", + "translation": "文件", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { - "original": "\n Description\n
", - "translation": "\n 描述\n
", + "original": "Description", + "translation": "描述", "sourceFile": "/Users/twer/private/GDE/content-2/guide/testing.md" }, { @@ -30395,33 +30335,33 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Binding definition\n
", - "translation": "\n 绑定定义\n
", + "original": "Binding definition", + "translation": "绑定定义", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Template syntax\n
", - "translation": "\n 模板语法\n
", + "original": "Template syntax", + "translation": "模板语法", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Attribute binding\n
", - "translation": "\n 属性(Attribute)绑定\n
", + "original": "Attribute binding", + "translation": "属性(Attribute)绑定", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Expression binding\n
", - "translation": "\n 表达式绑定\n
", + "original": "Expression binding", + "translation": "表达式绑定", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n One-way binding\n
", - "translation": "\n 单向绑定\n
", + "original": "One-way binding", + "translation": "单向绑定", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Two-way binding\n
", - "translation": "\n 双向绑定\n
", + "original": "Two-way binding", + "translation": "双向绑定", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { @@ -31380,18 +31320,18 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Previous code\n
", - "translation": "\n 老代码\n
", + "original": "Previous code", + "translation": "老代码", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n New code\n
", - "translation": "\n 新代码\n
", + "original": "New code", + "translation": "新代码", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { - "original": "\n Notes\n
", - "translation": "\n 说明\n
", + "original": "Notes", + "translation": "说明", "sourceFile": "/Users/twer/private/GDE/content-2/guide/upgrade.md" }, { @@ -31830,8 +31770,8 @@ "sourceFile": "/Users/twer/private/GDE/content-2/guide/visual-studio-2015.md" }, { - "original": "