Zhicheng Wang
67cb21e6c1
fix: 翻译完了服务端渲染部分
2018-03-22 10:52:52 +08:00
Zhicheng Wang
37e19cd50b
feat: 自动在中英文之间添加空格,以改善排版
2018-03-20 17:15:36 +08:00
Zhicheng Wang
545d4b6c69
feat: 自动在中英文之间添加空格,以改善排版
2018-03-20 17:09:18 +08:00
Zhicheng Wang
e0fc873240
fix: minor fix and auto translate based on previous result
2018-03-18 07:44:33 +08:00
Zhicheng Wang
8a711cba59
refactor: 提供模糊匹配的功能(未完成)
2018-03-15 16:40:11 +08:00
Zhicheng Wang
0976dfe54c
fix: 更新翻译字典
2018-03-09 13:36:16 +08:00
Zhicheng Wang
d24f7c74f2
fix: 一级标题没有隐藏原始标题
...
fix: 中文标题的 id 应该只按照英文版生成,英文内容不再设置 id
2018-03-08 12:47:55 +08:00
Zhicheng Wang
8af121ee8f
翻译文档首页
2018-03-08 09:28:04 +08:00
Zhicheng Wang
8f74eecc96
fix: 更新字典
2018-03-07 16:16:33 +08:00
Zhicheng Wang
f906fa5b29
fix: 翻译合并完毕,去掉以前版本的字典,只使用上一版
2018-03-07 15:55:33 +08:00
Zhicheng Wang
20d593d067
fix: 修正残留错误
2018-03-07 15:48:58 +08:00
Zhicheng Wang
ba33ee016a
fix: 修正第一版和第二版的字典
...
fix: 修正原文过滤逻辑
2018-03-07 14:19:47 +08:00
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
38af562aff
fix: 对 section 和 code-tabs 换行
2018-03-07 11:25:41 +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
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
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
80e318584a
feat: 批量翻译目录下的所有 markdown 文件
2018-03-03 12:00: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
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
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
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