YuCheng Hu
0bc3fd64dc
更新丢失的文件
2021-04-05 13:50:06 -04:00
YuCheng Hu
61bc0853fb
更新错误信息
2021-04-05 13:42:21 -04:00
YuCheng Hu
5d706b8e05
添加丢失的脚本文件
2021-04-05 13:31:48 -04:00
YuCheng Hu
b8ee510ab5
添加丢失的脚本
2021-04-05 13:29:43 -04:00
YuCheng Hu
51f965af77
提交没有添加的文件
2021-04-05 13:01:40 -04:00
YuCheng Hu
ec7f0adc66
validate-data.js 代码提交
2021-04-05 12:57:48 -04:00
YuCheng Hu
ea5de990f7
提交代码进行测试
2021-04-05 12:11:12 -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
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
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
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
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
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
George Kalpakas
23c36a24ed
test(docs-infra): disable the Selenium Promise Manager in docs examples e2e tests ( #39818 )
...
This commit disables the Selenium Promise Manager when running e2e tests
for docs examples in order to more closely align them with new apps
created with CLI v11. This change requires that any async operations in
tests are handled explicitly (e.g. using `async/await` or
`Promise#then()`).
PR Close #39818
2020-11-24 14:56:14 -08:00
George Kalpakas
1fd09277a6
test(docs-infra): remove redundant code from upgrade-module
e2e tests ( #39818 )
...
This commit removes some code that is no longer necessary for the
`upgrade-module` docs example e2e tests to run. It used to be necessary
in earlier version of Protractor but not any more.
PR Close #39818
2020-11-24 14:56:13 -08:00
George Kalpakas
4dba9fa530
test(docs-infra): fix the dependency-injection-in-action
e2e tests ( #39818 )
...
Previously, the tests made no meaningful assertions. It seems that the
intention was to ensure that some elements were present on the page, but
all the assertions did was verify that the corresponding
`ElementFinder`s were defined. The `ElementFinder`s would always be
defined, even if there were no corresponding elements on the page. In
fact, some of the `ElementFinder` selectors were incorrect, so they did
not match any actual elements.
This commit fixes the tests by fixing the `ElementFinder` selectors and
asserting that the elements are actually present on the page.
PR Close #39818
2020-11-24 14:56:12 -08:00
George Kalpakas
c7605ccf05
test(docs-infra): fix the dynamic-component-loader
e2e tests ( #39818 )
...
Previously, the test made no meaningful assertion. It seems that the
intention was to ensure that some elements were present on the page, but
all the assertions did was verify that the corresponding
`ElementFinder`s were defined. The `ElementFinder`s would always be
defined, even if there were no corresponding elements on the page. In
fact, some of the `ElementFinder` selectors were incorrect, so they did
not match any actual elements.
This commit fixes the tests by fixing the `ElementFinder` selectors and
asserting that the elements are actually present on the page.
PR Close #39818
2020-11-24 14:56:10 -08:00
George Kalpakas
3d2c2c40d8
build(docs-infra): update docs examples to Angular v11.0.1 ( #39818 )
...
This commit updates the docs examples to Angular v11.0.1. In addition to
updating the dependencies versions, it also updates the project's
structure and config to more closely match what a new v11 CLI app would
look like. See, also, the [diff][1] between a basic v10.1.3 CLI app and a
v11.0.2 one.
NOTE:
I refrained from disabling the Selenium Promise Manager (as seen
[here][2]) and switching all e2e tests to `async/await`, because that is
a big change and should be done in a separate commit/PR.
[1]: https://github.com/cexbrayat/angular-cli-diff/compare/10.1.3..11.0.2
[2]:
https://github.com/cexbrayat/angular-cli-diff/compare/10.1.3...11.0.2#diff-dbd675d74087d57cd084d6dd6ae24ae2eeff2ff0122680e12916052f8a843a29
PR Close #39818
2020-11-24 14:56:09 -08:00