Commit Graph

11283 Commits

Author SHA1 Message Date
Zhicheng Wang 4fc343f796 docs(API): 翻译 ng_module 2018-08-31 14:04:55 +08:00
Zhicheng Wang f7541dda47 docs(API): 修订 2018-08-31 12:23:43 +08:00
Zhicheng Wang 46e428659a docs(API): 翻译了 ngIf 2018-08-31 10:35:36 +08:00
Zhicheng Wang 2cd125f40c docs(API): 改进标题行翻译方式
docs(API): 翻译了 directive.ts 中的所有 tsdoc
2018-08-31 09:01:12 +08:00
Zhicheng Wang fcfe9c581d docs(API): 翻译 ng_model 2018-08-30 13:43:39 +08:00
Zhicheng Wang 9f34b155c4 docs(API): 翻译 ng-for-of 2018-08-30 12:56:38 +08:00
Zhicheng Wang c3039b42a5 docs(API): 补充翻译时的注意事项 2018-08-30 12:27:10 +08:00
Zhicheng Wang 2dacd7f813 docs(API): 尝试对部分高频 API 进行翻译 - HttpClient 2018-08-30 12:22:02 +08:00
Zhicheng Wang dd9d8b9363 docs(blog): minor fixes 2018-08-30 09:48:14 +08:00
Zhicheng Wang 9d90de444e docs(blog): RxJS quick start 2018-08-30 09:25:00 +08:00
Zhicheng Wang bf853681df fix: select node 8 2018-08-24 16:07:39 +08:00
Eve dbcc55f386 fix:错别字及语法 2018-08-24 09:16:48 +08:00
Eve 93aea05ee1 update:dynamic-form.md 2018-08-24 09:16:48 +08:00
Zhicheng Wang 2721708915 fix: typo 2018-08-23 14:39:30 +08:00
Zhicheng Wang a43beabdb7 fix: typo 2018-08-23 14:38:38 +08:00
Zhicheng Wang 017ba00e92 fix: 部分内容显示源码 #327 2018-08-23 12:51:35 +08:00
Zhicheng Wang 57788ba3bb chore: add more CNAME 2018-08-15 14:08:37 +08:00
Zhicheng Wang e6991cd39a fix: 补充翻译内容。 2018-08-15 14:03:42 +08:00
Zhicheng Wang 54a47e84dc fix: 文字微调 2018-08-08 15:32:37 +08:00
Zhicheng Wang d3f9534441 fix: point to angular.cn 2018-08-08 15:27:40 +08:00
Zhicheng Wang cb84b1d1c6 feat: 汉化 API 模板 2018-08-08 15:15:56 +08:00
Zhicheng Wang b8dbc5d16e chore: add auto-publish script 2018-08-08 11:18:52 +08:00
Zhicheng Wang f6ad6c267e fix: 文字微调 2018-08-08 10:56:40 +08:00
Eve 6cd6f5ec82 补充上一条修订 2018-08-08 10:26:44 +08:00
Eve 937641f462 修订语法 2018-08-08 10:26:44 +08:00
Zhicheng Wang e5b37584be fix: 文字微调 2018-08-03 09:16:30 +08:00
Zhicheng Wang 7db1562617 fix: 文字微调 2018-07-28 09:44:39 +08:00
Zhicheng Wang 4008b34e36 docs: 翻译完了表单验证一章 2018-07-27 22:42:49 +08:00
Zhicheng Wang 966a29e072 fix: 修正合并时的错误 2018-07-27 20:22:07 +08:00
Zhicheng Wang a430e4d64f fix: broken link 2018-07-27 18:09:54 +08:00
Zhicheng Wang 83e1c89d2c fix: 修复 TypeScript 最新版本报的编译错误 2018-07-27 16:34:19 +08:00
Zhicheng Wang cefbad3c50 fix: (几乎完全重新)翻译了 reactive-form 2018-07-27 16:33:37 +08:00
Zhicheng Wang 2d485c6589 Merge remote-tracking branch 'en/master' into aio
# Conflicts:
#	aio/content/guide/animations.md
#	aio/content/guide/aot-compiler.md
#	aio/content/guide/api-page-class.md
#	aio/content/guide/architecture-components.md
#	aio/content/guide/architecture-modules.md
#	aio/content/guide/architecture-services.md
#	aio/content/guide/architecture.md
#	aio/content/guide/attribute-directives.md
#	aio/content/guide/browser-support.md
#	aio/content/guide/component-interaction.md
#	aio/content/guide/component-styles.md
#	aio/content/guide/dependency-injection-in-action.md
#	aio/content/guide/dependency-injection-pattern.md
#	aio/content/guide/dependency-injection.md
#	aio/content/guide/deployment.md
#	aio/content/guide/displaying-data.md
#	aio/content/guide/elements.md
#	aio/content/guide/form-validation.md
#	aio/content/guide/forms.md
#	aio/content/guide/frequent-ngmodules.md
#	aio/content/guide/glossary.md
#	aio/content/guide/hierarchical-dependency-injection.md
#	aio/content/guide/http.md
#	aio/content/guide/i18n.md
#	aio/content/guide/language-service.md
#	aio/content/guide/lifecycle-hooks.md
#	aio/content/guide/ngmodule-api.md
#	aio/content/guide/ngmodule-faq.md
#	aio/content/guide/npm-packages.md
#	aio/content/guide/observables.md
#	aio/content/guide/pipes.md
#	aio/content/guide/providers.md
#	aio/content/guide/quickstart.md
#	aio/content/guide/reactive-forms.md
#	aio/content/guide/releases.md
#	aio/content/guide/router.md
#	aio/content/guide/rx-library.md
#	aio/content/guide/security.md
#	aio/content/guide/service-worker-config.md
#	aio/content/guide/service-worker-getting-started.md
#	aio/content/guide/set-document-title.md
#	aio/content/guide/setup.md
#	aio/content/guide/structural-directives.md
#	aio/content/guide/styleguide.md
#	aio/content/guide/template-syntax.md
#	aio/content/guide/testing-observables.md
#	aio/content/guide/testing.md
#	aio/content/guide/typescript-configuration.md
#	aio/content/guide/universal.md
#	aio/content/guide/upgrade.md
#	aio/content/guide/user-input.md
#	aio/content/guide/visual-studio-2015.md
#	aio/content/guide/webpack.md
#	aio/content/marketing/resources.json
#	aio/content/navigation.json
#	aio/content/tutorial/toh-pt0.md
#	aio/content/tutorial/toh-pt1.md
#	aio/content/tutorial/toh-pt4.md
#	aio/content/tutorial/toh-pt5.md
#	aio/content/tutorial/toh-pt6.md
#	aio/src/app/custom-elements/api/api-list.component.ts
#	aio/src/app/custom-elements/live-example/live-example.component.html
#	aio/src/app/custom-elements/live-example/live-example.component.ts
#	aio/src/app/layout/doc-viewer/doc-viewer.component.ts
#	aio/src/styles/main.scss
#	aio/tools/transforms/remark-package/services/renderMarkdown.js
2018-07-27 10:51:18 +08:00
Zhicheng Wang 644084c32b fix: 把"本烹饪宝典"改为"本文" (#320) 2018-07-27 08:21:48 +08:00
Zhicheng Wang 19da605eae fix: 翻译微调 (#322)
fix: 增补鸣谢清单
2018-07-27 08:15:48 +08:00
Zhicheng Wang 0977e1f442 fix: 文字微调 2018-07-27 08:09:27 +08:00
Greg Magolan 601064e41d build(bazel): add comment about angular bazel rules API re-export from /index.bzl (#24663)
PR Close #24663
2018-07-26 17:02:21 -07:00
Greg Magolan e265ccd82c build(bazel): add comment for patch-types work-around (#24663)
PR Close #24663
2018-07-26 17:02:21 -07:00
Greg Magolan dd44f63c73 build(bazel): show bazel progress in CircleCI to prevent 10m timeout with no output (#24663)
PR Close #24663
2018-07-26 17:02:21 -07:00
Greg Magolan 1d051c5841 build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663)
PR Close #24663
2018-07-26 17:02:21 -07:00
George Wilde 323faf954b docs(router): Removed unneeded trailing text. (#24894)
PR Close #24894
2018-07-26 17:01:02 -07:00
Kang Li 1c4fc41249 Update displaying-data.md 2018-07-27 07:47:42 +08:00
Kang Li 5b483ae41e Update toh-pt2.md 2018-07-27 07:47:10 +08:00
Kang Li 2413301af8 Update template-syntax.md 2018-07-27 07:46:43 +08:00
Boxuan Li f04ae00dd2 architecture-modules.md: 修改错别字 2018-07-27 07:46:14 +08:00
Alex Rickabaugh 3169edd77a fix(ivy): don't crash in listLazyRoutes() (#25080)
This commit replaces the "not implemented" error when calling
listLazyRoutes() with an empty result, which will allow testing
in the CLI before listLazyRoutes() is implemented.

PR Close #25080
2018-07-26 16:38:10 -07:00
Alex Rickabaugh 8de304c15a fix(ivy): wait for preanalyze promises in loadNgStructureAsync() (#25080)
loadNgStructureAsync() for ngtsc has a bug where it returns a
Promise<Promise[]> instead of awaiting the entire array of Promises.

This commit uses Promise.all() to await the whole set.

PR Close #25080
2018-07-26 16:38:09 -07:00
Alex Rickabaugh 0d1d5898e3 fix(bazel): allow compile_strategy to be (privately) imported (#25080)
compile_strategy() is used to decide whether to build Angular code
using ngc (legacy) or ngtsc (local). In order for g3 BUILD rules
to switch properly and allow testing of Ivy in g3, they need to
import this function.

This commit removes the _ prefix which allows the function to be
imported.

PR Close #25080
2018-07-26 16:38:09 -07:00
Alex Rickabaugh 6fe865b080 fix(ivy): don't use a custom ts.CompilerHost for ngtsc (#25080)
ngtsc used to have a custom ts.CompilerHost which delegated to the plain
ts.CompilerHost. There's no need for this wrapper class and it causes
issues with CLI integration, so delete it.

PR Close #25080
2018-07-26 16:38:09 -07:00
Alex Rickabaugh e0c0c44d99 fix(ivy): allow relative imports of .d.ts files (#25080)
ngtsc used to assume that all .d.ts dependencies (that is, third party
packages) were imported via an absolute module path. It turns out this
assumption isn't valid; some build tools allow relative imports of
other compilation units.

In the absolute case, ngtsc assumes (and still does) that all referenced
types are available through the entrypoint from which an @NgModule was
imported. This commit adds support for relative imports, in which case
ngtsc will use relative path resolution to determine the imports.

PR Close #25080
2018-07-26 16:38:09 -07:00