Skip to content

Commit 7963803

Browse files
asnowwolfZhicheng WANG
authored andcommitted
fix: 手动翻译/合并
fix: 修复编译错误
1 parent ed5904d commit 7963803

File tree

257 files changed

+521
-521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+521
-521
lines changed

assets/videos/NG0100.cn.srt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Angular 生命周期分解图,
300300

301301
65
302302
00:04:33,520 --> 00:04:37,200
303-
例如,我们组件中的这个 getter 方法会返回随机数
303+
比如,我们组件中的这个 getter 方法会返回随机数
304304

305305
66
306306
00:04:37,200 --> 00:04:40,400

generated/docs/api/animations/AnimationBuilder.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

generated/docs/api/animations/a_nimationb_uilder.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

generated/docs/api/animations/group.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

generated/docs/api/common.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

generated/docs/api/common/CommonModule.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"id": "api/common/DOCUMENT",
33
"title": "DOCUMENT",
4-
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.cn//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.cn/api/common\", \"name\": \"@angular/common\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.cn/api/common/DOCUMENT\", \"name\": \"DOCUMENT\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular-cn/edit/aio/packages/common/src/dom_tokens.ts?message=docs(common)%3A%20请简述你的修改...#L24-L23\" aria-label=\"提供编辑建议\" title=\"提供编辑建议\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular-cn/tree/12.1.0-next.1/packages/common/src/dom_tokens.ts#L24-L23\" aria-label=\"查看源码\" title=\"查看源码\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"document\">DOCUMENT<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/DOCUMENT#document\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label const\">const</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p translation-result=\"on\">表示主要渲染上下文的 DI 令牌。在浏览器中,这是 DOM 文档。</p><p translation-origin=\"off\">A DI Token representing the main rendering context. In a browser this is the DOM Document.</p>\n\n\n <p no-translate=\"\"><a href=\"api/common/DOCUMENT#description\">查看\"说明\"...</a></p>\n </section>\n \n\n \n\n \n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\">\n const <a href=\"api/common/DOCUMENT\" class=\"code-anchor\">DOCUMENT</a>: <a href=\"api/core/InjectionToken\" class=\"code-anchor\">InjectionToken</a>&#x3C;Document>;\n </code-example>\n\n \n\n \n \n<section class=\"description\">\n <h2 id=\"description\">说明<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/DOCUMENT#description\"><i class=\"material-icons\">link</i></a></h2>\n <p translation-result=\"on\">注意:当应用程序上下文和渲染上下文不同时(例如,在 Web Worker 中运行应用程序时),document 可能在应用程序上下文中不可用。</p><p translation-origin=\"off\">Note: Document might not be available in the Application Context when Application and Rendering\nContexts are not the same (e.g. when running the application in a Web Worker).</p>\n\n\n \n</section>\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/common\n - api/platform-browser/BrowserTransferStateModule\n - api/platform-server/ServerTransferStateModule\n - guide/aot-metadata-errors\n - guide/universal\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/DOCUMENT#description\n - api/common/DOCUMENT#document\n - api/core/InjectionToken\n - https://github.com/angular/angular-cn/edit/aio/packages/common/src/dom_tokens.ts?message=docs(common)%3A%20请简述你的修改...#L24-L23\n - https://github.com/angular/angular-cn/tree/12.1.0-next.1/packages/common/src/dom_tokens.ts#L24-L23\n-->"
5-
}
4+
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.cn//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.cn/api/common\", \"name\": \"@angular/common\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.cn/api/common/DOCUMENT\", \"name\": \"DOCUMENT\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular-cn/edit/aio/packages/common/src/dom_tokens.ts?message=docs(common)%3A%20请简述你的修改...#L24-L23\" aria-label=\"提供编辑建议\" title=\"提供编辑建议\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular-cn/tree/12.1.0-next.1/packages/common/src/dom_tokens.ts#L24-L23\" aria-label=\"查看源码\" title=\"查看源码\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"document\">DOCUMENT<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/DOCUMENT#document\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label const\">const</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p translation-result=\"on\">表示主要渲染上下文的 DI 令牌。在浏览器中,这是 DOM 文档。</p><p translation-origin=\"off\">A DI Token representing the main rendering context. In a browser this is the DOM Document.</p>\n\n\n <p no-translate=\"\"><a href=\"api/common/DOCUMENT#description\">查看\"说明\"...</a></p>\n </section>\n \n\n \n\n \n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\">\n const <a href=\"api/common/DOCUMENT\" class=\"code-anchor\">DOCUMENT</a>: <a href=\"api/core/InjectionToken\" class=\"code-anchor\">InjectionToken</a>&#x3C;Document>;\n </code-example>\n\n \n\n \n \n<section class=\"description\">\n <h2 id=\"description\">说明<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/DOCUMENT#description\"><i class=\"material-icons\">link</i></a></h2>\n <p translation-result=\"on\">注意:当应用程序上下文和渲染上下文不同时(比如,在 Web Worker 中运行应用程序时),document 可能在应用程序上下文中不可用。</p><p translation-origin=\"off\">Note: Document might not be available in the Application Context when Application and Rendering\nContexts are not the same (e.g. when running the application in a Web Worker).</p>\n\n\n \n</section>\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/common\n - api/platform-browser/BrowserTransferStateModule\n - api/platform-server/ServerTransferStateModule\n - guide/aot-metadata-errors\n - guide/universal\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/DOCUMENT#description\n - api/common/DOCUMENT#document\n - api/core/InjectionToken\n - https://github.com/angular/angular-cn/edit/aio/packages/common/src/dom_tokens.ts?message=docs(common)%3A%20请简述你的修改...#L24-L23\n - https://github.com/angular/angular-cn/tree/12.1.0-next.1/packages/common/src/dom_tokens.ts#L24-L23\n-->"
5+
}

generated/docs/api/common/DatePipe.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)