内容微调
This commit is contained in:
parent
55dc7c9476
commit
fb22c0556c
|
@ -15,11 +15,15 @@
|
||||||
"subtitle": "帮我们构建面向未来的框架",
|
"subtitle": "帮我们构建面向未来的框架",
|
||||||
"autoformat": "true"
|
"autoformat": "true"
|
||||||
},
|
},
|
||||||
|
"resources": {
|
||||||
|
"title": "资源库",
|
||||||
|
"subtitle": "Angular 2的资源库"
|
||||||
|
},
|
||||||
"news": {
|
"news": {
|
||||||
"title": "新闻"
|
"title": "新闻"
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"title": "事件",
|
"title": "开发者会议",
|
||||||
"subtitle": "我们将在哪里开会"
|
"subtitle": "我们将在哪里开会"
|
||||||
},
|
},
|
||||||
"support": {
|
"support": {
|
||||||
|
@ -27,7 +31,7 @@
|
||||||
"subtitle": "从Angular社区获得支持"
|
"subtitle": "从Angular社区获得支持"
|
||||||
},
|
},
|
||||||
"presskit": {
|
"presskit": {
|
||||||
"title": "出版工具"
|
"title": "宣传资料"
|
||||||
},
|
},
|
||||||
"books": {
|
"books": {
|
||||||
"title": "书籍"
|
"title": "书籍"
|
||||||
|
|
|
@ -15,7 +15,7 @@ else
|
||||||
|
|
||||||
.c3
|
.c3
|
||||||
h3.text-headline RESOURCES
|
h3.text-headline RESOURCES
|
||||||
h3.text-headline 资源
|
h3.text-headline 资源库
|
||||||
|
|
||||||
ul.text-body
|
ul.text-body
|
||||||
// TODO: (ericjim) make a libraries page to showcase all angular 2 libraries
|
// TODO: (ericjim) make a libraries page to showcase all angular 2 libraries
|
||||||
|
@ -29,7 +29,7 @@ else
|
||||||
li <a href="/resources/">Community</a>
|
li <a href="/resources/">Community</a>
|
||||||
li <a href="/resources/">社区</a>
|
li <a href="/resources/">社区</a>
|
||||||
li <a href="/presskit.html">Press Kit</a>
|
li <a href="/presskit.html">Press Kit</a>
|
||||||
li <a href="/presskit.html">出版配套</a>
|
li <a href="/presskit.html">宣传资料</a>
|
||||||
|
|
||||||
.c3
|
.c3
|
||||||
h3.text-headline HELP
|
h3.text-headline HELP
|
||||||
|
@ -65,7 +65,10 @@ else
|
||||||
|
|
||||||
|
|
||||||
footer(class="background-steel")
|
footer(class="background-steel")
|
||||||
|
p
|
||||||
small.text-caption Powered by Google ©2010-2016. Code licensed under an <a href="/license" class="text-snow">MIT-style License</a>. Documentation licensed under <a class="text-snow" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
small.text-caption Powered by Google ©2010-2016. Code licensed under an <a href="/license" class="text-snow">MIT-style License</a>. Documentation licensed under <a class="text-snow" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
||||||
|
|
||||||
|
p
|
||||||
small.text-caption.translated-cn Powered by Google ©2010-2016. 代码授权协议:<a href="/license" class="text-snow">MIT式协议</a>。 文档授权协议:<a class="text-snow" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
small.text-caption.translated-cn Powered by Google ©2010-2016. 代码授权协议:<a href="/license" class="text-snow">MIT式协议</a>。 文档授权协议:<a class="text-snow" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
||||||
a(aria-label="View Style Guide" href=styleguide title="Style Guide" class="styleguide-trigger text-snow" md-button)
|
a(aria-label="View Style Guide" href=styleguide title="Style Guide" class="styleguide-trigger text-snow" md-button)
|
||||||
span.icon-favorite
|
span.icon-favorite
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
header(class="background-sky")
|
header(class="background-sky")
|
||||||
.hero.background-superhero-paper.is-large
|
.hero.background-superhero-paper.is-large
|
||||||
h1.text-headline.hero-logo #{title}<br>#{subtitle}
|
h1.text-headline.hero-logo.translated-cn #{title}
|
||||||
|
p.translated-cn #{subtitle}
|
||||||
|
|
||||||
.hero-cta
|
.hero-cta
|
||||||
a(href="/docs/ts/latest/quickstart.html" class="md-raised button button-large button-plain" md-button) 开始吧!
|
a(href="/docs/ts/latest/quickstart.html" class="md-raised button button-large button-plain" md-button) 开始吧!
|
||||||
|
|
|
@ -15,7 +15,7 @@ if current.path[4] && current.path[3] == 'api'
|
||||||
|
|
||||||
header(class="hero background-sky")
|
header(class="hero background-sky")
|
||||||
div(class="inner-header")
|
div(class="inner-header")
|
||||||
h1(class="hero-title text-display-1 #{textFormat}") #{headerTitle}
|
h1(class="hero-title text-display-1 translated-cn #{textFormat}") #{headerTitle}
|
||||||
if useBadges
|
if useBadges
|
||||||
span(class="badges")
|
span(class="badges")
|
||||||
if docType
|
if docType
|
||||||
|
|
|
@ -74,7 +74,8 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||||
.nav-ordered-lists(class="#{isCollapsed(anyItemSelected(tutorial))}")
|
.nav-ordered-lists(class="#{isCollapsed(anyItemSelected(tutorial))}")
|
||||||
ul
|
ul
|
||||||
each item, index in tutorial
|
each item, index in tutorial
|
||||||
li(class="nav-list-item #{item.class}"): a(href="#{item.href}" title="#{item.tooltip}") #{index + 1}. #{item.navTitle}
|
li(class="nav-list-item #{item.class}")
|
||||||
|
a.translated-cn(href="#{item.href}" title="#{item.tooltip}") #{index + 1}. #{item.navTitle}
|
||||||
|
|
||||||
.nav-blocks
|
.nav-blocks
|
||||||
a(class="nav-title #{anyItemSelected(basics)}" href="#{basics[0].href}" title="#{basics[0].tooltip}") 基础知识
|
a(class="nav-title #{anyItemSelected(basics)}" href="#{basics[0].href}" title="#{basics[0].tooltip}") 基础知识
|
||||||
|
@ -83,7 +84,8 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||||
.nav-ordered-lists(class="#{isCollapsed(anyItemSelected(basics))}")
|
.nav-ordered-lists(class="#{isCollapsed(anyItemSelected(basics))}")
|
||||||
ul
|
ul
|
||||||
each item, index in basics
|
each item, index in basics
|
||||||
li(class="nav-list-item #{item.class}"): a(href="#{item.href}" title="#{item.tooltip}") #{index + 1}. #{item.navTitle}
|
li(class="nav-list-item #{item.class}")
|
||||||
|
a.translated-cn(href="#{item.href}" title="#{item.tooltip}") #{index + 1}. #{item.navTitle}
|
||||||
|
|
||||||
.nav-blocks
|
.nav-blocks
|
||||||
a(class="nav-title #{anyItemSelected(guide)}" href="#{guide[0].href}" title="#{guide[0].tooltip}") 开发指南
|
a(class="nav-title #{anyItemSelected(guide)}" href="#{guide[0].href}" title="#{guide[0].tooltip}") 开发指南
|
||||||
|
@ -92,7 +94,8 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||||
.nav-unordered-lists(class="#{isCollapsed(anyItemSelected(guide))}")
|
.nav-unordered-lists(class="#{isCollapsed(anyItemSelected(guide))}")
|
||||||
ul
|
ul
|
||||||
each item in guide
|
each item in guide
|
||||||
li(class="nav-list-item #{item.class}"): a(href="#{item.href}" title="#{item.tooltip}") #{item.navTitle}
|
li(class="nav-list-item #{item.class}")
|
||||||
|
a.translated-cn(href="#{item.href}" title="#{item.tooltip}") #{item.navTitle}
|
||||||
|
|
||||||
.nav-blocks
|
.nav-blocks
|
||||||
a(class="nav-title #{anyItemSelected(cookbook)}" href="#{cookbook[0].href}" title="#{cookbook[0].tooltip}") 烹饪宝典
|
a(class="nav-title #{anyItemSelected(cookbook)}" href="#{cookbook[0].href}" title="#{cookbook[0].tooltip}") 烹饪宝典
|
||||||
|
@ -101,10 +104,11 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||||
.nav-unordered-lists(class="#{isCollapsed(anyItemSelected(cookbook))}")
|
.nav-unordered-lists(class="#{isCollapsed(anyItemSelected(cookbook))}")
|
||||||
ul
|
ul
|
||||||
each item in cookbook
|
each item in cookbook
|
||||||
li(class="nav-list-item #{item.class}"): a(href="#{item.href}" title="#{item.tooltip}") #{item.navTitle}
|
li(class="nav-list-item #{item.class}")
|
||||||
|
a.translated-cn(href="#{item.href}" title="#{item.tooltip}") #{item.navTitle}
|
||||||
|
|
||||||
.nav-blocks
|
.nav-blocks
|
||||||
a(class="nav-title #{isApiReferenceSelected()}" href="#{reference[0].href}" title="#{reference[0].tooltip}") API参考手册
|
a.translated-cn(class="nav-title #{isApiReferenceSelected()}" href="#{reference[0].href}" title="#{reference[0].tooltip}") API参考手册
|
||||||
|
|
||||||
script.
|
script.
|
||||||
// Could put in appCtrl but only needed here and clear here
|
// Could put in appCtrl but only needed here and clear here
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
},
|
},
|
||||||
"dynamic-form": {
|
"dynamic-form": {
|
||||||
"title": "动态表单",
|
"title": "动态表单",
|
||||||
"intro": "通过FormGroup渲染动态表单"
|
"intro": "通过FormGroup渲染动态表单",
|
||||||
|
"basics": true
|
||||||
},
|
},
|
||||||
"dynamic-form-deprecated": {
|
"dynamic-form-deprecated": {
|
||||||
"title": "动态表单(已废弃)",
|
"title": "动态表单(已废弃)",
|
||||||
|
@ -35,12 +36,6 @@
|
||||||
"hide": true
|
"hide": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"dynamic-form": {
|
|
||||||
"title": "Dynamic Forms",
|
|
||||||
"intro": "Render dynamic forms with NgFormModel",
|
|
||||||
"basics": true
|
|
||||||
},
|
|
||||||
|
|
||||||
"set-document-title": {
|
"set-document-title": {
|
||||||
"title": "设置文档标题",
|
"title": "设置文档标题",
|
||||||
"intro": "使用Title服务来设置文档标题或窗口标题"
|
"intro": "使用Title服务来设置文档标题或窗口标题"
|
||||||
|
@ -52,7 +47,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"visual-studio-2015": {
|
"visual-studio-2015": {
|
||||||
"title": "Visual Studio 2015 快速开始",
|
"title": "Visual Studio 2015快速开始",
|
||||||
"intro": "使用Visual Studio 2015快速开始"
|
"intro": "使用Visual Studio 2015快速开始"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"index": {
|
"index": {
|
||||||
"title": "Resources"
|
"title": "资源库",
|
||||||
|
"subtitle": "Angular 2的资源库"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
p.text-body
|
p.text-body
|
||||||
a(href='https://docs.google.com/a/rangle.io/forms/d/1qzWaDpTgTPe4iPDRF_VCT9aHXKimUocwlFnVJUdKabY/viewform?c=0&w=1') 想被列到这里吗?请填写这个表单!
|
a(href='https://www.gdgdocs.org/a/rangle.io/forms/d/1qzWaDpTgTPe4iPDRF_VCT9aHXKimUocwlFnVJUdKabY/viewform?c=0&w=1') 想被列到这里吗?请填写这个表单!
|
||||||
|
|
||||||
.js-resources-ctrl.resources(ng-controller='ResourcesCtrl as ctrl')
|
.js-resources-ctrl.resources(ng-controller='ResourcesCtrl as ctrl')
|
||||||
.section(ng-repeat='(category, categoryContent) in ctrl.fbObject')
|
.section(ng-repeat='(category, categoryContent) in ctrl.fbObject')
|
||||||
|
|
Loading…
Reference in New Issue