Zhicheng Wang
c618678281
fix: 人工修订自动翻译
...
fix: 标准化原文中的异常语句
2018-03-07 13:29:22 +08:00
Zhicheng Wang
73eb2d2d73
fix: 拆解单行的 td/th
2018-03-07 13:09:36 +08:00
Zhicheng Wang
77c2e039f6
fix: 人工修订自动翻译
...
fix: 只忽略 <div class="alert 元素
2018-03-07 12:57:17 +08:00
Zhicheng Wang
a94e7cba14
fix: 人工修订自动翻译
...
fix: 拆解 tr
fix: 特殊拆解 back to top
2018-03-07 12:45:12 +08:00
Zhicheng Wang
9adeb14f3a
fix: 人工修订自动翻译
2018-03-07 12:26:05 +08:00
Zhicheng Wang
abb1f1321b
fix: a 不再自动换行
...
fix: 修正自动翻译结果
2018-03-07 11:28:22 +08:00
Zhicheng Wang
0e0ffa481e
fix: 修正自动翻译结果
2018-03-07 11:25:56 +08:00
Zhicheng Wang
38af562aff
fix: 对 section 和 code-tabs 换行
2018-03-07 11:25:41 +08:00
Zhicheng Wang
51bd598826
fix: 修正自动翻译结果
2018-03-07 10:55:42 +08:00
Zhicheng Wang
d7d3589052
fix: 修正匹配#标题的正则表达式
2018-03-07 10:47:14 +08:00
Zhicheng Wang
076cd7940b
fix: 全面改用环视进行匹配,以免“吃掉”回车,影响下一个匹配
...
fix: html 标签中的属性匹配允许空格
2018-03-07 10:43:12 +08:00
Zhicheng Wang
1c028aee24
fix: 提交没错误的自动翻译结果
2018-03-07 10:20:29 +08:00
Zhicheng Wang
43e7e9fe8c
fix: 为单行拆解成多行结果增加缩进
2018-03-07 10:13:16 +08:00
Zhicheng Wang
400a6d0b8e
fix: 在正文首尾添加换行,以便统一处理
...
fix: 拆解 li
2018-03-07 10:08:37 +08:00
Zhicheng Wang
4c6b614064
fix: 拆解单行 li
2018-03-07 09:33:42 +08:00
Zhicheng Wang
4c10eb42b5
fix: 拆解单行 br
2018-03-07 09:29:06 +08:00
Zhicheng Wang
8dcffab9c8
fix: 拆解 div
2018-03-07 09:21:16 +08:00
Zhicheng Wang
16bd6edca0
fix: 错误的忽略了单行的 a 标签
2018-03-07 09:08:44 +08:00
Zhicheng Wang
151d8824ee
fix: 忽略更多字符
2018-03-07 08:48:31 +08:00
Zhicheng Wang
4ddf7348a4
fix: 解决其他元素的拆解问题
2018-03-07 08:42:26 +08:00
Zhicheng Wang
f89d728818
fix: 拆解其它单行块标签
2018-03-06 17:32:21 +08:00
Zhicheng Wang
fee2468d41
fix: 拆解单行自封闭 tag
2018-03-06 17:18:33 +08:00
Zhicheng Wang
73e4efa80d
fix: header 的拆解
2018-03-06 17:08:10 +08:00
Zhicheng Wang
206f6ecc4f
fix: 修正最后一版的全部翻译
2018-03-04 09:07:33 +08:00
Zhicheng Wang
585e377fa8
fix: 处理单 html tag 行的翻译问题
2018-03-03 21:05:33 +08:00
Zhicheng Wang
757526a6ed
fix: 当存在多个翻译时,自动使用最近的一个
2018-03-03 17:53:33 +08:00
Zhicheng Wang
a9132302fd
fix: 支持拆分标题行 "# xxx"
2018-03-03 17:47:09 +08:00
Zhicheng Wang
e6ede6bded
fix: 自动翻译了 http.md
2018-03-03 12:34:00 +08:00
Zhicheng Wang
80e318584a
feat: 批量翻译目录下的所有 markdown 文件
2018-03-03 12:00:01 +08:00
Zhicheng Wang
7f04568b62
fix: 翻译完 forms.md
2018-03-03 11:48:01 +08:00
Zhicheng Wang
eb73ad0027
feat: 抽取 html 标签包裹的单行文本(通常出现于表格中)
2018-03-03 11:45:03 +08:00
Zhicheng Wang
b8400fad7c
feat: 三行简化为两行
...
refactor: 抽取出工具函数
2018-03-03 11:01:57 +08:00
Zhicheng Wang
19f4ad46ae
refactor: extract checker functions
2018-03-03 08:13:52 +08:00
Zhicheng Wang
c2f0045a5e
feat: 只根据核心字符比较
...
feat: 处理列表和标题等不必紧跟换行符的格式
2018-03-02 14:25:07 +08:00
Zhicheng Wang
ee97046824
chore: 测试断言改为中文
2018-03-02 08:08:39 +08:00
Zhicheng Wang
0dbc49c7cc
feat: 提供根据字典翻译功能
2018-03-02 07:55:44 +08:00
Zhicheng Wang
40bd48bb2a
refactor: move to tools/translator
2018-03-01 22:35:54 +08:00
Zhicheng Wang
6642b82445
fix: heads in original and translation must be same level
2018-03-01 22:28:13 +08:00
Zhicheng Wang
53a7a4cbf5
feat: add auto checker
...
fix: some translations found by auto checker
2018-03-01 22:19:59 +08:00
Zhicheng Wang
1b786e0a72
feat: 中英字典收集工具
2018-03-01 20:25:40 +08:00
Zhicheng Wang
6120300d4a
feat: 中英字典收集工具
2018-03-01 20:09:22 +08:00
Zhicheng Wang
89060a39df
fix: 不正常的中英文段落合并
2018-02-28 13:44:53 +08:00
Zhicheng Wang
6b1d4a4890
fix: HttpModule => HttpClientModule
2018-02-28 13:22:43 +08:00
Zhicheng Wang
cacdf7b564
fix: 修正多行合并到一起的错误
2018-02-28 13:20:10 +08:00
Zhicheng Wang
f248973faa
fix: polyfills 译为腻子脚本
2018-02-28 13:17:39 +08:00
Zhicheng Wang
c08a3830df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/change-log.md
# aio/content/guide/component-styles.md
# aio/content/guide/deployment.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/pipes.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/marketing/resources.json
# aio/content/navigation.json
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
2018-02-28 13:13:29 +08:00
Zhicheng Wang
1531b0610d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.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.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/i18n.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/structural-directives.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/marketing/index.html
# aio/content/navigation.json
# aio/content/tutorial/index.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/src/app/embedded/api/api-list.component.ts
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/layout/footer/footer.component.html
# aio/src/app/layout/toc/toc.component.html
# aio/src/app/search/search.service.ts
# aio/src/styles/1-layouts/_marketing-layout.scss
# aio/yarn.lock
2018-02-28 08:08:59 +08:00
George Kalpakas
142117f6bb
fix(aio): do not show Properties/Methods sections if only internal members ( #22471 )
...
PR Close #22471
2018-02-27 15:17:22 -08:00
Jason Aden
79656e7f96
docs(aio): add Observable and Rx docs ( #21423 )
...
PR Close #21423
2018-02-27 11:24:31 -08:00
George Kalpakas
d100f1b187
build(aio): fix API docs breadcrumbs ( #22446 )
...
This also prevents some extra `<a>` elements inserted by the browser's
trying to fix the HTML structure, which also fixes the `.header-link`
added in ToC.
Fixes #22387
Closes #22437
PR Close #22446
2018-02-27 07:08:07 -08:00
Pete Bacon Darwin
4bd3e5f92f
build(aio): do not render "constructor()" heading in API docs ( #22380 )
...
Closes #22363
PR Close #22380
2018-02-27 07:07:16 -08:00
haoRchen
3f3be429c9
style(aio): updated padding-right for the .alert class in _heading-anchors.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-right to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
haoRchen
7e4c13f2de
style(aio): added padding-left to h3 in _subsection.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-left to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
Olivier Combe
82a791223c
docs: update i18n guide for projects that don't use the cli ( #21767 )
...
PR Close #21767
2018-02-26 17:51:58 -08:00
Pete Bacon Darwin
ef99126aea
test(aio): move forgotten e2e test to the correct folder ( #22445 )
...
PR Close #22445
2018-02-26 17:50:42 -08:00
Pete Bacon Darwin
c10c831b8e
build(aio): render subclasses + see-also block in the main flow ( #22445 )
...
Closes #22386
PR Close #22445
2018-02-26 17:50:42 -08:00
Ward Bell
a7e1f236ff
docs: testing guide for CLI ( #20697 )
...
- updates tests
- heavy prose revisions
- uses HttpClient (with angular-in-memory-web-api)
- test HeroService using `HttpClientTestingModule`
- scrub away most By.CSS
- fake async observable with `asyncData()`
- extensive Twain work
- different take on retryWhen
- remove app barrels (& systemjs.extras) which troubled plunker/systemjs
- add dummy export const to hero.ts (plunkr/systemjs fails w/o it)
- shrink and re-organize TOC
- add marble testing package and tests
- demonstrate the "no beforeEach()" test coding style
- add section on Http service testing
- prepare for stackblitz
- confirm works in plunker except excluded marble test
- add tests for avoidFile class feature of CodeExampleComponent
PR Close #20697
2018-02-26 13:40:23 -08:00
Pete Bacon Darwin
1f599818bd
build(aio): fix rendering of callable and constructable interface members ( #22428 )
...
Closes #22136
PR Close #22428
2018-02-26 13:35:15 -08:00
Pete Bacon Darwin
5a32d7e36f
build(aio): render default value for optional parameters ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
1ea41d48d3
build(aio): render whether parameters are optional ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
25a43041d2
build(aio): group API members by type in overview ( #22438 )
...
Now the overview groups the members in the following order:
* static properties
* static methods
* constructor
* instance properties
* instance members
Closes #22132
PR Close #22438
2018-02-26 13:34:04 -08:00
Jamie Krug
c593d69ce7
docs(aio): fix doc typo referring to `httpOptions` ( #22456 )
...
The variable name mention should match the actual tutorial code.
PR Close #22456
2018-02-26 13:32:44 -08:00
hariharanjv
1dcbc12fd3
docs(aio): Essential JS 2 url updated ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
ROOT\hariharanjv
ae2e85e8ef
docs(aio): Essential JS 2 UI Components. ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
Matias Niemelä
b2f366b3b7
fix(animations): only use the WA-polyfill alongside AnimationBuilder ( #22143 )
...
This patch removes the need to include the Web Animations API Polyfill
(web-animations-js) as a dependency. Angular will now fallback to using
CSS Keyframes in the event that `element.animate` is no longer supported
by the browser.
In the event that an application does use `AnimationBuilder` then the
web-animations-js polyfill is required to enable programmatic,
position-based access to an animation.
Closes #17496
PR Close #22143
2018-02-22 16:07:53 -08:00
Kapunahele Wong
9eecb0b27f
docs: fix deployment sample path ( #22048 )
...
PR Close #22048
2018-02-22 13:40:57 -08:00
Kapunahele Wong
022ad4a420
docs: fix ngmodules-jsmodules pre-req ( #22316 )
...
closes #22157
PR Close #22316
2018-02-22 11:20:47 -08:00
Kapunahele Wong
a4f9e8180b
docs: edit styleguide recommendation on components as elements ( #22074 )
...
Change recommendation on using attributes for components since there are use cases including the use of <button mat-button> in MD
Closes #19401 .
PR Close #22074
2018-02-22 11:20:21 -08:00
Marco Alvarado
b42921bbd2
docs(aio): updates directive event hooks real capabilities ( #16654 )
...
Minor documentation update to include event hooks that were assumed to only work on components.
Closes angular/angular#10221
PR Close #16654
2018-02-21 14:51:04 -08:00
zhilich
722dec11b0
docs(aio): Wrong code example. Form status field was added later in the guide. ( #21275 )
...
PR Close #21275
2018-02-21 11:06:47 -08:00
Kapunahele Wong
1c1cbba04b
docs: add ngStyle to cheat sheet ( #22070 )
...
PR Close #22070
2018-02-20 16:08:15 -08:00
Ro Savage
3b692a55a7
docs(aio): fix incorrect quote mark usage ( #22335 )
...
PR Close #22335
2018-02-20 15:42:55 -08:00
Oussama Ben Brahim
69a0578e00
docs(aio): fix the css of the heroes component's buttons ( #22333 )
...
Fixes #22222
PR Close #22333
2018-02-20 15:41:56 -08:00
Pascal Zwick
b5ca275590
docs(aio): Fix name of component ( #22332 )
...
PR Close #22332
2018-02-20 15:41:35 -08:00
Stephen Fluin
519f022b02
docs(aio): update installed mobile tool list ( #22331 )
...
PR Close #22331
2018-02-20 15:41:15 -08:00
Jeff Cross
f6120c09e7
docs(aio): add Nx and Angular Enterprise Playbook to resources ( #22321 )
...
PR Close #22321
2018-02-20 10:09:33 -08:00
Johannes Hoppe
28b23f954c
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. second version of the text. thanks!
PR Close #22163
2018-02-18 15:12:13 -08:00
Johannes Hoppe
ad17e5e791
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. many thanks for reviewing this
PR Close #22163
2018-02-18 15:12:13 -08:00
George Kalpakas
4ec40c6ab2
fix(aio): improve announcement-bar layout with wide logos ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
Joe Eames
80d424798e
docs(aio): added ngconf announcement ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
George Kalpakas
978f97cc59
test(aio): increase `docs-test` timeouts to prevent flakes on Travis ( #22261 )
...
PR Close #22261
2018-02-16 14:46:23 -08:00
Oussama Ben Brahim
f1a063298e
feat(core): set preserveWhitespaces to false by default ( #22046 )
...
Fixes #22027
PR Close #22046
2018-02-16 09:06:14 -08:00
Stefanie Fluin
7078fbffb4
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-15 09:52:32 -08:00
Matias Niemelä
ba9cd5bbc4
Revert "fix(aio): improve printing styles ( #19651 )"
...
This reverts commit b54ad053f9
.
2018-02-14 22:55:24 -05:00
Stefanie Fluin
b54ad053f9
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-14 18:49:58 -05:00
Pat
f4697f351e
docs: typo - components should be possessive ( #22172 )
...
PR Close #22172
2018-02-14 15:06:52 -05:00
Kapunahele Wong
3a0b5a928c
docs(aio): fix extraneous divs ( #22069 )
...
PR Close #22069
2018-02-14 15:02:36 -05:00
Oussama Ben Brahim
eb48750705
docs(aio): fix typo in "preserveWhitespaces" example ( #22182 )
...
Fixes #22147
PR Close #22182
2018-02-12 15:57:42 -08:00
mgmarlow
7f9b1b78f6
docs(aio): add angular-playground to resources ( #22042 )
...
PR Close #22042
2018-02-12 14:30:58 -08:00
Johannes Hoppe
1e9484673d
docs(aio): add angular.schule to resources ( #22164 )
...
adds a link to our website. many thanks for reviewing this
PR Close #22164
2018-02-12 10:01:23 -08:00
Suguru Inatomi
88bec238ac
fix(aio): remove broken span closing tag ( #22146 )
...
PR Close #22146
2018-02-12 10:01:10 -08:00
yerkebulan
a57df4ee20
docs(aio): put structural directives back in the nav ( #21856 )
...
PR Close #21856
2018-02-12 10:00:14 -08:00
Pete Bacon Darwin
5fc77c90cb
fix(aio): do not rewrite /styleguide URL in Service Worker ( #22085 )
...
This URL needs to be redirected via the server, so
we must exclude it from being rewitten.
Closes #22078
PR Close #22085
2018-02-09 13:10:35 -08:00
Mikhail Burshteyn
c3484450b8
docs: fix typo in http.md ( #22058 )
...
PR Close #22058
2018-02-09 13:10:23 -08:00
Pete Bacon Darwin
fbef94a8ee
feat(aio): enable data driven homepage announcements ( #22043 )
...
PR Close #22043
2018-02-09 13:10:11 -08:00
Pete Bacon Darwin
7007f51c35
feat(aio): first pass API docs redesign ( #21874 )
...
Includes:
* display ToC for API docs
* update dgeni-packages to 0.24.1
* add floating sidebar in API docs
* add breadcrumbs and structured data for Google crawler
* improved rendering of method overloads
* properties rendered in a table
* params rendered with docs
* removal of outdated "infobox" from all API docs
PR Close #21874
2018-02-09 13:05:16 -08:00
Trotyl
bc1e22922a
docs(aio): several fix for ngmodule guides ( #21517 )
...
PR Close #21517
2018-02-09 13:03:47 -08:00
Pete Bacon Darwin
67cf7128ae
docs(aio): remove ngATL banner from homepage ( #22060 )
...
Closes #22029
PR Close #22060
2018-02-07 16:10:17 -08:00
Kapunahele Wong
83d43ac850
docs(aio): remove lifecycle hooks img ( #21425 )
...
PR Close #21425
2018-02-07 16:09:44 -08:00
Jesus Rodriguez
cd25939be9
build(aio): update examples to CLI to 1.6.5 ( #21222 )
...
PR Close #21222
2018-02-07 16:09:26 -08:00