Commit Graph

1790 Commits

Author SHA1 Message Date
Zhicheng Wang 8e571257cd 更新了“关于中文版”中的翻译状态 2016-06-06 09:52:45 +08:00
Zhimin(Rex) YE c16f003d51 review of npm-package.jade is done. 2016-06-05 22:48:50 +01:00
Zhimin(Rex) YE 0e073bb214 review of lifecycle-hooks is done. 2016-06-05 22:15:38 +01:00
Zhimin(Rex) YE 49a2deb37b guide/server-communication.jade review is done. 2016-06-05 17:19:22 +01:00
Georgios Kalpakas 2492ea6874 docs(upgrade): restrict component directive to elements
The `heroDetail` directive is shown as an example of a component directive, such as those built using the `.component()` helper in v1.5+. In order for the directive to be functionaly equivalent with the component directive created with `.component`, it needs to be restricted to elements only. (If the `restrict` is omitted, it defaults to `'AE'`, which would also match attributes.)

/cc @teropa
2016-06-05 14:59:19 +03:00
Zhicheng Wang 82f5b1c035 根据 [Joeylin] 的反馈意见,做出微调 2016-06-05 06:39:39 +08:00
Zhicheng Wang af77784480 根据 [Joeylin] 的反馈意见,做出微调 2016-06-05 06:38:58 +08:00
Zhimin(Rex) YE cb8818f171 patch up guide\dependency-injection.jade after official updates. 2016-06-04 19:54:25 +01:00
Zhimin(Rex) YE 633964ac2f Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-06-04 17:52:51 +01:00
Zhimin(Rex) YE 5ae026ced3 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/_examples/dependency-injection/ts/app/main.1.ts
#	public/docs/ts/latest/guide/dependency-injection.jade
2016-06-04 16:45:10 +01:00
Foxandxss 885aa04cc9 docs(webpack): add missing fake-async-test
closes #1571
2016-06-04 01:44:21 -07:00
Foxandxss c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
twinssbc 6f02f76fc2 docs: remove duplicated words in toh-pt6.jade
closes #1575
2016-06-04 01:25:41 -07:00
Anastasia Kozaeva 2f3cb405e8 Fix typo in 'Error Handling' section
closes #1592
Remove duplicate 'to'
2016-06-04 01:24:00 -07:00
Zhimin YE(Rex) d5650500c8 Removed @View Decorator
closes #1590
2016-06-04 01:22:09 -07:00
Zhicheng Wang 46f028b8eb 根据 [Joeylin] 的反馈意见,做出微调
在“关于中文版”中增加鸣谢名单
2016-06-04 16:17:34 +08:00
Foxandxss 1d294a831c docs(upgrade): escape script tags
closes #1584
2016-06-04 01:17:27 -07:00
Foxandxss 8fe68f414a docs(style-guide): fix 03-03 css class
closes #1582
2016-06-04 01:15:13 -07:00
Ward Bell 7edc32f350 docs(testing): more samples 2016-06-04 00:52:36 -07:00
Patrice Chalin 05864c2584 docs(dependency-injection): revised Dart and TS code and prose (#1573)
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Zhimin(Rex) YE 802da1f49f hierarchical-dependency-injection.jade review is done. 2016-06-02 23:04:09 +01:00
Zhimin(Rex) YE ce299be58b Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/quickstart.jade
2016-06-02 22:29:17 +01:00
Zhimin(Rex) YE 1774a1df4e component-styles.jade review is done. 2016-06-02 22:25:36 +01:00
Patrice Chalin 7570dc53ea chore(dart/api): remove generated files (#1587) 2016-06-02 10:44:51 -07:00
Zhimin YE (Rex) a9f871efae component-styles.jade review: started. 2016-06-02 17:06:58 +01:00
Patrice Chalin b48cde3a43 chore(_util-fns): generalize makeExample, drop makeProjExample (#1510)
+ Rename adjustExample{Path|Title} to adjustTsExample*4Dart
+ `makeExample` can now work with both doc folder relative and project
relative paths.
2016-06-02 17:06:03 +01:00
Zhimin YE (Rex) 5f8583fcb0 attribute directives' review is done. 2016-06-02 16:57:35 +01:00
Zhicheng Wang 05f4c9b8a0 微调 2016-06-02 18:59:15 +08:00
Zhimin YE (Rex) 9164069f36 adjustment to style-guide.jade references. 2016-06-02 09:30:16 +01:00
Zhimin YE (Rex) 57a0ca5873 translate new lines for style-guide, after merge. 2016-06-02 09:15:49 +01:00
Zhimin YE (Rex) dd4e887b47 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/component-communication.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-06-02 08:58:19 +01:00
Zhicheng Wang 0a917a99c4 微调 2016-06-02 15:17:55 +08:00
Zhicheng Wang 58dec1f30c cookbook - 1 to 2 初译完毕 2016-06-02 09:07:31 +08:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
Foxandxss c2c3177545 chore: convert all e2e specs to typescript 2016-06-01 16:17:06 -07:00
Foxandxss 3c3b83a34b chore(e2e): append errors after a failed spec
closes #1579
2016-06-01 11:20:35 -07:00
Foxandxss 6fd62e9baf docs(style-guide): make style guide code compliant with itself
closes #1578
2016-06-01 11:15:57 -07:00
Foxandxss 0a0f78f144 docs(style-guide): make barrels a consider
closes #1482
2016-06-01 10:59:41 -07:00
Foxandxss 743540363d docs(style-guide): rename validator to validate
closes #1489
2016-06-01 10:57:11 -07:00
NFM 3d27aa656c docs(style-guide): add the image width attribute
closes #1366
Adjust width 100% to 80%
2016-06-01 10:54:48 -07:00
Zhimin YE (Rex) 1a66785970 template-syntax review is done. 2016-06-01 16:52:34 +01:00
Zhimin YE (Rex) aa010fb920 添加了译注,解释deleteRequest属性是Output属性。 2016-06-01 14:56:54 +01:00
Zhimin YE (Rex) 16bc5bfea2 review @ 1860 for template-syntax.jade. 2016-06-01 14:34:21 +01:00
Zhicheng Wang 5a477b796b cookbook - 1 to 2 初译完毕 2016-06-01 21:32:28 +08:00
Zhicheng Wang bfc5c70349 cookbook - 组件相对路径 初译完毕
cookbook - 1 to 2 初译开始
其它微调
2016-06-01 18:34:22 +08:00
Zhimin YE (Rex) 72efc8f055 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	README.md
#	public/contribute.jade
#	public/docs/_examples/cb-component-communication/e2e-spec.ts
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/guide/webpack.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-01 09:51:27 +01:00
Anderson 301aadddde docs(toh-pt6): fix filename typo 2016-06-01 01:19:37 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Zhimin YE(Rex) eb48a71351 docs(architecture): fixed missing `` mark.
closes #1514
2016-06-01 01:03:51 -07:00
Ward Bell 2f115a3425 chore: fix broken devguide links as of May 31
Did not fix broken Dart and API links
2016-06-01 00:52:22 -07:00
Maksims Muižininkas 613d53e152 docs(architecture): correct link to testing
closes #1536
2016-05-31 23:23:54 -07:00
Christopher Thorne 2d27097d55 docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
2016-05-31 22:32:55 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Zhicheng Wang bea07ebfca 微调 2016-06-01 11:21:18 +08:00
Ward Bell ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR #1564
2016-05-31 18:36:22 -07:00
Patrice Chalin 5e50b2ef10 chore(util-fns): minor cleanup and refactoring (#1562)
This only impacts language dependent variable and path definitions:
- Removed deprecated variable.
- Hoisted useful variable definitions from quickstart into _util-fns.
- Minor fix in regexp of path translation function
2016-05-31 15:25:59 -07:00
Zhimin(Rex) YE 9ec2bbb8ae template-syntax review is half way@line 1228 2016-05-31 22:50:33 +01:00
Zhimin YE (Rex) 7cb918a800 partial review of template-syntax.jade. 2016-05-31 17:00:09 +01:00
Zhimin YE (Rex) 070dd1c9e1 guide/di review is done. 2016-05-31 15:40:05 +01:00
Zhicheng Wang 25f5698e71 对所有外站链接,直接开新窗口打开,修改小bug 2016-05-31 18:02:57 +08:00
Zhicheng Wang 1dc3b54fe0 当点击链接或按钮时,不再切换原文显示 2016-05-31 12:52:39 +08:00
Zhicheng Wang 20bf6c0085 翻译完了“升级”一章的新增部分
合并了测试索引
解决了移动设备上菜单显示不全的问题
文字微调
2016-05-31 12:35:37 +08:00
Zhicheng Wang 3c666d881e 修改了输入法笔误
解决了移动设备上菜单显示不全的问题
2016-05-31 07:30:15 +08:00
Zhimin(Rex) YE ac67a9c103 di review 2016-05-30 22:35:17 +01:00
Zhicheng Wang 752a152731 Merge remote-tracking branch 'origin/master'
upgrade.jade的附录没有翻译

# Conflicts:
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/upgrade.jade
#	public/docs/ts/latest/quickstart.jade
#	public/index.jade
2016-05-30 21:46:16 +08:00
Zhicheng Wang f5e25c2371 开发指南-测试 初译完毕 2016-05-30 19:23:17 +08:00
Zhicheng Wang 1f1b3e8496 开发指南-测试 pipe还剩半章 2016-05-30 16:39:21 +08:00
Zhicheng Wang b489d0a0a8 开发指南-测试 索引译完 2016-05-30 09:22:20 +08:00
Zhicheng Wang 61cb39cc0a 开发指南-测试 初译中…… 2016-05-30 08:54:35 +08:00
Foxandxss 2bc166c34f docs(toh): fix some header extensions
closes #1549
2016-05-29 14:36:10 -07:00
Foxandxss 9b2c54e77f chore: disable ngAnimate for ng1 protractor tests
closes #1543
2016-05-29 14:34:15 -07:00
Foxandxss 888dcf362a chore: remove note against node 6
closes #1540
2016-05-29 12:46:55 -07:00
Foxandxss 39408f8f8d docs(style-guide): remove dead code at 04-10
closes #1501
2016-05-29 12:44:46 -07:00
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -07:00
Foxandxss 0047919e2d docs(quickstart): update guide systemjs.config.js
closes #1542
2016-05-29 11:03:33 -07:00
Zhicheng Wang 8676cef5af 开发指南-webpack 初译完毕 2016-05-29 22:46:41 +08:00
Zhicheng Wang 348a673cb0 开发指南-从1.x升级 初译完毕 2016-05-29 17:20:36 +08:00
Zhicheng Wang ce2b8127cb 开发指南-从1.x升级 翻译了2/3左右
把所有“操作函数”统一改名为“操作符”,在此语境下不会被混淆
2016-05-29 14:23:53 +08:00
Zhimin(Rex) YE 399df5ae59 基础知识的DI-校对一半了 2016-05-28 23:10:39 +01:00
Zhimin(Rex) YE e8e1f88d60 表单审核完毕 2016-05-28 22:23:34 +01:00
Jeremy Wilken f9211fde33 docs(index) grammatical and message improvement on marketing speak.
closes #1527
2016-05-28 12:49:59 -07:00
Jesse Palmer 03f346b988 chore: removes past events
closes #1529
2016-05-28 09:43:21 -07:00
Foxandxss f5614e858d docs(style-guide): add more tests
closes #1532
2016-05-28 09:41:15 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -07:00
Tero Parviainen 4acbef19a8 docs(upgrade): add ngUpgrade guide version 2
closes #1538
This is a major reorganization of the Upgrade guide.

* Compatible with the new version of the AngularJS 1 PhoneCat
  tutorial.
* No longer switching Angular 1 code to SystemJS for PhoneCat,
  to allow beginning Angular 2 migration with fewer preparation
  steps. SystemJS switch now happens simultaneously with upgrade.
  (This is based on input from @joeeames)
* Testing moved to an appendix to make the main narrative
  shorter and easier to follow.
* Use component methods to do phone filtering and ordering
  instead of introducing pipes to replace filterFilter and orderByFilter.
* Cover issue with camelCase inputs on downgraded components.

For authors:

* All examples now fully integrated with the example boilerplate. Uses the
  same Angular 2 version as all other guides. E2E tests are executed
  along with all the others.
* Reduced number of PhoneCat versions from five to three.
* Each directory has a README explaining how to run it and what might
  be peculiar about it.

Closes angular/angular#8622
Relates to angular/angular.js#14416
Relates to angular/angular-phonecat#326
2016-05-28 09:33:06 -07:00
Ward Bell bd6d788ccb docs(chore): update samples to angular-in-mem-web-api v.0.0.11
Has RegExp query option needed for ToH 7: Http+Observables
2016-05-28 08:54:21 -07:00
Zhicheng Wang 0522f7671d 开发指南-从1.x升级 翻译了1/3左右 2016-05-28 20:54:33 +08:00
Zhicheng Wang e9c7c92483 开发指南-从1.x升级 开始翻译 2016-05-28 15:52:26 +08:00
Zhicheng Wang 55cd18616b 开发指南-TypeScript配置 初译完毕 2016-05-28 15:30:50 +08:00
Zhicheng Wang 101a16560b 开发指南-结构型指令 初译完毕 2016-05-28 14:31:05 +08:00
Zhicheng Wang 1d269cf6e6 开发指南-结构型指令 初译开始 2016-05-28 10:44:47 +08:00
Zhicheng Wang b792425125 开发指南-管道 初译完毕 2016-05-28 09:58:54 +08:00
Zhimin YE (Rex) f67c05c3b9 review of forms.jade, partly done. 2016-05-27 16:52:43 +01:00
Zhimin YE (Rex) 7ea5c39a47 removed () from english words in display-data.jade.
user-input.jade: review is completed.
_translate.scss: added selector for code within text - to change their font-family for chinese font.
2016-05-27 14:48:06 +01:00
Zhimin YE (Rex) 528bd0cfd4 review of displaying-data.jade is completed. 2016-05-27 11:23:39 +01:00
Zhicheng Wang 94243b9b52 更新了字体,适应更多设备 2016-05-27 17:43:49 +08:00
Zhimin YE (Rex) 7c6bf77fa0 Merge branch 'master' of https://github.com/angular/angular-cn 2016-05-27 10:42:03 +01:00
Zhimin YE (Rex) 4f3050aeed more review for displaying-data and appended english font-family. 2016-05-27 10:41:49 +01:00
Zhicheng Wang 88a86ff4a0 开发指南-管道 初译即将完成 2016-05-27 17:40:58 +08:00