12178 Commits

Author SHA1 Message Date
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
yerkebulan
505ae752b6 docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used (#21984)
docs(aio): change HttpClientModule reference to HttpClient

docs(aio): capitalize Http to HTTP

docs(aio): fix typo mistake in 'universal' guide

docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide

PR Close #21984
2018-03-06 15:03:54 -08:00
Miško Hevery
363dfa5437 test(ivy): Back patch example (#22235)
PR Close #22235
2018-03-06 15:02:02 -08:00
Pete Bacon Darwin
b3d1761825 build(aio): compute and display short descriptions in methods (#22583)
Previously only export docs were displaying a short description.
Now methods in classes and interfaces also compute and render
the short description.

Closes #22500

PR Close #22583
2018-03-06 11:05:21 -08:00
Ward Bell
d0db9ded90 docs: fix cli-quickstart doc and specs (#22338)
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project

PR Close #22338
2018-03-06 09:41:53 -08:00
Alex Eagle
4c40812b71 fix(bazel): fixes for ng_package on Windows (#22597)
PR Close #22597
2018-03-06 07:52:48 -08:00
Jason Aden
fa974c7d4e fix(router): fix URL serialization so special characters are only encoded where needed (#22337)
This change brings Angular largely in line with how AngularJS previously serialized URLs. This is based on RFC 3986 and resolves issues such as the above #10280 where URLs could be parsed, re-serialized, then parsed again producing a different result on the second parsing.

Adjustments to be aware of in this commit:

* URI fragments will now serialize the same as query strings
* In the URI path or segments (portion prior to query string and/or fragment), the plus sign (`+`) and ampersand (`&`) will appear decoded
* In the URL path or segments, parentheses values (`(` and `)`) will now appear percent encoded as `%28` and `%29` respectively
* In the URL path or segments, semicolons will be encoded in their percent encoding `%3B`

NOTE: Parentheses and semicolons denoting auxillary routes or matrix params will still appear in their decoded form -- only parentheses and semicolons used as values in a segment or key/value pair for matrix params will be encoded.

While these changes are not considered breaking because applications should be decoding URLs and key/value pairs, it is possible that some unit tests will break if comparing hard-coded URLs in tests since that hard coded string will represent the old encoding. Therefore we are releasing this fix in the upcoming Angular v6 rather than adding it to a patch for v5.

Fixes: #10280

PR Close #22337
2018-03-06 06:58:08 -08:00
Pawel Kozlowski
2c75acc5b3 feat(ivy): add support for the ngProjectAs attribute (#22498)
PR Close #22498
2018-03-06 06:55:51 -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
Suguru Inatomi
f86d8ae0fd docs(compiler): fix a line about ivy library (#22579)
PR Close #22579
2018-03-05 21:25:43 -08:00
Pete Bacon Darwin
94bc277b1b fix(aio): tidy up embedded ToC styling (#22570)
The spacing didn't work well when the screen was narrow.

PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
8ea4c57174 fix(aio): reposition and shrink the API badges (#22570)
Closes #22130

PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
53b0fe8144 feat(aio): allow template to position embedded ToC (#22570)
Previously the doc-viewer would insert an embedded `<aio-toc>` element
into the DOM directly after the H1 element. Now it will not do this
if there is already a such element in the doc contents.

This allows the content-author/template-developer to position the ToC
for specific cases.

PR Close #22570
2018-03-05 21:25:09 -08:00
Igor Minar
2a1e3d191f docs: add info about the WebStorm plugin to BAZEL.md (#22572)
PR Close #22572
2018-03-05 21:24:23 -08:00
Kara Erickson
2c2b62f45f fix(ivy): preventDefault when listener returns false (#22529)
Closes #22495

PR Close #22529
2018-03-05 12:15:17 -08:00
Pete Bacon Darwin
58932c7f38 build(aio): indicate whether properties are read-only in API pages (#22584)
PR Close #22584
2018-03-05 10:15:37 -08:00
Pete Bacon Darwin
5bb9f64218 fixup! feat(aio): allow template to position embedded ToC (#22565)
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
405d97431f fixup! feat(aio): allow template to position embedded ToC (#22565)
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
41064fcb36 fix(aio): reposition and simplify github links (#22565)
Closes #22379

PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
b80fd6be58 build(aio): render whether API classes and members are abstract (#22563)
Closes #22537

PR Close #22563
2018-03-05 10:13:43 -08:00
SangKa.Z
3aea8fd5f3 docs(aio): fix table header (#22553)
PR Close #22553
2018-03-05 10:13:16 -08:00
Pete Bacon Darwin
b64139650c build(aio): class API template once again extends export-base (#22534)
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
1d2bdcb4d0 build(aio): render param descriptions for function exports (#22534)
Closes #22501

PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
12be311618 fix(aio): remove all links from toc titles (#22533)
The previous approach just removed the first `a` tag that
was found, but now that the header-link anchor is not at
the start of the heading, it could fail.

Closes #22493

PR Close #22533
2018-03-05 10:12:35 -08:00
Misko Hevery
51ca643c27 test(ivy): add injectAttribute spec (#22510)
PR Close #22510
2018-03-05 10:10:32 -08:00
Misko Hevery
69d359bb51 refactor(ivy): break compiler canonical test into smaller files (#22510)
PR Close #22510
2018-03-05 10:10:32 -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