YuCheng Hu
ea5de990f7
提交代码进行测试
2021-04-05 12:11:12 -04:00
YuCheng Hu
03cab937c1
合并修改
2021-04-05 11:48:32 -04:00
YuCheng Hu
3ac61dbc20
提交构建测试文件
2021-04-04 11:03:27 -04:00
YuCheng Hu
c3645af932
更新组件
2021-04-04 10:45:50 -04:00
YuCheng Hu
e8ea7d562c
尝试更新使用代码跟踪和修改中文标题
2021-04-03 10:30:14 -04:00
YuCheng Hu
895f2fe818
针对新的版本提交没有提交的代码
2021-04-03 09:52:53 -04:00
YuCheng Hu
3d12ab7d35
提交
2021-04-03 09:50:33 -04:00
chenc
eff474b5b1
docs(core): 翻译错误
...
ViewEncapsulation.None -> ViewEncapsulation.ShadowDom
2021-03-26 13:21:29 +08:00
Zhicheng WANG
804d59058b
fix: 文字微调
2021-02-22 13:55:17 +08:00
yalikes
0d879255e3
add few Chinese translation to start-data.md
2021-02-22 12:44:57 +08:00
Maple13
ff9fb72487
Update component-overview.md
2021-02-22 12:43:06 +08:00
Maple13
faf63c0609
docs: Angular Component 概述 —— 声明组件的样式 段落中单词错误
...
要在单独的文件中声明组件的样式,就要把 `stylesUrls` 属性添加到 `@Component` 装饰器中。
stylesUrls 应该为 styleUrls
2021-02-22 12:43:06 +08:00
chenc
ad3a28a212
Update creating-libraries.md
...
库中的库 -> 一个库
图书馆 -> 库
删除多余的字 & 将 library 翻译成库
2021-02-20 13:41:10 +08:00
Zhicheng WANG
f2644906a2
fix: 去掉不恰当的翻译
2021-02-19 12:27:10 +08:00
Zhicheng WANG
4463aa9be9
fix: 补充遗漏的翻译
2021-02-19 11:41:34 +08:00
Zhicheng WANG
32b597d601
fix: typo
2021-02-19 11:41:34 +08:00
Zhicheng WANG
71ab685063
fix: 把结果显示为双语格式
2021-02-19 11:41:34 +08:00
Zhicheng WANG
06030e128e
fix: 翻译资源页
2021-02-18 09:14:38 +08:00
Zhicheng WANG
1dc2a6ee81
fix: 恢复英文版,准备翻译
2021-02-17 11:47:38 +08:00
Zhicheng WANG
cfdc94fae2
refactor: 用 globby 代替 klaw-sync
...
fix: 渲染更多内容
2021-02-09 22:15:45 +08:00
Zhicheng WANG
240e982090
fix: 使用固定的 APP_ID,以减少预先渲染的结果差异
2021-02-09 22:02:34 +08:00
Zhicheng WANG
582b756ce9
fix: CLI 文档中的已弃用标志翻译不正确。
2021-02-09 13:33:43 +08:00
Zhicheng WANG
2ff0ed7c7e
fix: 支持翻译 CLI 文档
2021-02-09 13:33:43 +08:00
Zhicheng WANG
e856d02da7
fix: 把()替换为半角()
2021-02-06 10:38:20 +08:00
Zhicheng WANG
45890e6df8
fix: 使用新的 @awesome-fe/translate 版本
2021-02-06 10:37:24 +08:00
Zhicheng WANG
9b60ef0392
docs: 翻译遗漏的文档
2021-02-05 17:59:29 +08:00
Zhicheng WANG
497a2bfaf1
fix: 去掉乱入的空白字符
2021-02-05 14:29:03 +08:00
Zhicheng WANG
3977fb897d
fix: 在搜索标题中显示中文内容
2021-02-05 09:08:48 +08:00
Zhicheng WANG
73bb7b552f
fix: 如果有中文名称,则显示中文名称
2021-02-04 22:21:14 +08:00
Zhicheng WANG
3b428a1118
docs: 翻译 API 文档
2021-02-04 21:56:10 +08:00
Zhicheng WANG
ade723a83d
fix: 修改 API 模板,以免模板中的内容和文档中的内容被错误识别为一对
2021-01-30 20:03:20 +08:00
Zhicheng WANG
97f58fdef2
fix: 修改为个人域名 ralph.wang
2021-01-29 19:55:49 +08:00
Zhicheng WANG
eb40a60682
fix: 老版本链接到中文站
2020-12-21 22:53:34 +08:00
Zhicheng WANG
977f1d107c
fix: 文字微调
2020-12-05 08:52:19 +08:00
Zhicheng WANG
f0df732cf8
fix: 添加资源链接
2020-12-04 20:39:32 +08:00
Zhicheng WANG
d4b884fe17
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/cli/index.md
# aio/content/guide/accessibility.md
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/angular-compiler-options.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cli-builder.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-styles.md
# aio/content/guide/creating-libraries.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection-navtree.md
# aio/content/guide/dependency-injection-providers.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/deprecations.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/file-structure.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/i18n.md
# aio/content/guide/ivy-compatibility.md
# aio/content/guide/language-service.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/module-types.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule-vs-jsmodule.md
# aio/content/guide/ngmodules.md
# aio/content/guide/observables-in-angular.md
# aio/content/guide/pipes.md
# aio/content/guide/providers.md
# aio/content/guide/releases.md
# aio/content/guide/route-animations.md
# aio/content/guide/router-tutorial.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/schematics-authoring.md
# aio/content/guide/schematics-for-libraries.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.md
# aio/content/guide/template-syntax.md
# aio/content/guide/template-typecheck.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade-setup.md
# aio/content/guide/user-input.md
# aio/content/guide/using-libraries.md
# aio/content/guide/web-worker.md
# aio/content/guide/workspace-config.md
# aio/content/marketing/docs.md
# aio/content/marketing/events.html
# aio/content/navigation.json
# aio/content/start/index.md
# aio/content/start/start-data.md
# aio/content/start/start-deployment.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt4.md
# aio/package.json
# aio/src/app/app.component.ts
# aio/src/app/layout/footer/footer.component.html
# aio/src/app/shared/custom-icon-registry.ts
# aio/src/environments/environment.stable.ts
# aio/tools/stackblitz-builder/builder.js
# aio/tools/transforms/angular-content-package/index.js
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# integration/ng_elements/e2e/app.e2e-spec.ts
# integration/ng_elements/src/app.ts
# packages/common/src/pipes/date_pipe.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/form_builder.ts
# packages/forms/src/model.ts
# packages/platform-browser/src/browser.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_link.ts
# packages/router/src/directives/router_link_active.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
2020-12-04 20:22:11 +08:00
Andrew Scott
68d4a74411
fix(core): Ensure OnPush ancestors are marked dirty when events occur ( #39833 )
...
We currently only wrap the event listener in the function which ensures
ancestors are marked for check when the listener is placed on an element
that has a native method for listening to an event. We actually need to do
this wrapping in all cases so that events that are attached to non-rendered
template items (`ng-template` and `ng-container`) also mark ancestors for check
when they receive the event.
fixes #39832
PR Close #39833
2020-11-25 14:39:19 -08:00
Ryan Russell
e148382bd0
docs(forms): Deprecate legacy options for FormBuilder.group ( #39769 )
...
DEPRECATION:
Mark the {[key: string]: any} type for the options property of the FormBuilder.group method as deprecated.
Using AbstractControlOptions gives the same functionality and is type-safe.
PR Close #39769
2020-11-25 14:28:11 -08:00
JiaLiPassion
c43267b912
build: update peerDependencies of zone.js to 0.10~0.11 ( #39809 )
...
`@angular/core` support zone.js `^0.10.2 and ^0.11.3`, so this PR updates the
peerDependencies to `^0.10.2 || ^ 0.11.3`, so the app will not show warning about
peer denepdency not consistent when using zone.js 0.10.x version.
PR Close #39809
2020-11-25 14:25:48 -08:00
Manfred Steyer
ba6945bfa9
docs(docs-infra): display angulararchitects.io in trainings ( #37139 )
...
This adds angulararchitects.io to the tranings section in the
resources.json file for angular.io. It also adds a description
for angulararchitects.io.
PR Close #37139
2020-11-25 12:33:08 -08:00
Adrien Crivelli
07f2e0c34e
docs: integrate webserver configuration ( #36553 )
...
The article previously referred was out of date. Most of the article content
was already duplicated here, or described how to generate multiple bundles. But
creating multiple bundles manually is now obsolete and the parameter `--localize`
should be preferred instead, because it is much faster.
This commit integrate the only interesting part left, relating to webserver configuration.
Co-authored-by: David Shevitz <dshevitz@google.com>
PR Close #36553
2020-11-25 12:30:08 -08:00
Charles Lyding
4def19f39f
test(compiler-cli): add TypeScript 4.1 typings integration test ( #39571 )
...
This change adds a typings test identical to the TypeScript 4.0 test but using TypeScript 4.1 instead.
PR Close #39571
2020-11-25 11:10:01 -08:00
Charles Lyding
318255a5f8
build: support building with TypeScript 4.1 ( #39571 )
...
TypeScript 4.1 is now used to build and test within the repository.
PR Close #39571
2020-11-25 11:10:01 -08:00
Charles Lyding
a7e7c211b5
feat(compiler-cli): add support for using TypeScript 4.1 ( #39571 )
...
This change enables projects to be built with TypeScript 4.1. Support for TypeScript 4.0 is also retained.
PR Close #39571
2020-11-25 11:10:00 -08:00
Pete Bacon Darwin
2786292780
test(compiler-cli): migrate i18n compliance tests ( #39661 )
...
This commit provides the machinery for the new file-based compliance test
approach for i18n tests, and migrates the i18n tests to this new format.
PR Close #39661
2020-11-25 11:08:39 -08:00
Pete Bacon Darwin
63dcfb2913
test(compiler-cli): update new compliance test partial rules ( #39661 )
...
There is now a dedicated rule for debugging generation of partial
golden files. The README has been updated accordingly.
PR Close #39661
2020-11-25 11:08:39 -08:00
rugk
6653028863
docs: make MDN link locale-indepenent ( #39842 )
...
`en-US` makes it link to the English (US) version.
This patch removes this and let's MDN auto-redirect to the user's preferred/selected language/website locale.
PR Close #39842
2020-11-25 11:05:04 -08:00
George Kalpakas
bf12f51b49
build(docs-infra): upgrade cli command docs sources to 70150e3f0 ( #39839 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](0defb1136...70150e3f0
):
**Modified**
- help/build.json
- help/deploy.json
- help/e2e.json
- help/extract-i18n.json
- help/run.json
- help/serve.json
- help/test.json
PR Close #39839
2020-11-25 11:03:46 -08:00
Basheer Ahmed
bfa197f564
fix(animations): replace copy of query selector node-list from "spread" to "for" ( #39646 )
...
For element queries that return sufficiently large NodeList
objects, using spread syntax to populate the results array
causes a RangeError due to the call stack limit being reached.
This commit updates the code to use regular "for" loop instead.
Fixes #38551 .
PR Close #39646
2020-11-25 11:01:58 -08:00
Pete Bacon Darwin
5684ac5e34
feat(localize): support Application Resource Bundle (ARB) translation file format ( #36795 )
...
The ARB format is a JSON file containing an object where the keys are the
message ids and the values are the translations.
It is extensible because it can also contain metadata about each message.
For example:
```
{
"@@locale": "...",
"message-id": "Translated message string",
"@message-id": {
"type": "text",
"description": "Some description text",
"x-locations": [{ "start": {"line": 23, "column": 145}, "file": "some/file.ts" }]
},
}
```
For more information, see:
https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification
PR Close #36795
2020-11-25 10:55:40 -08:00